pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/hs-hiedb devel/hs-hiedb: Generate shell completi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d0ab2186255f
branches:  trunk
changeset: 374759:d0ab2186255f
user:      pho <pho%pkgsrc.org@localhost>
date:      Sat Feb 26 08:18:42 2022 +0000

description:
devel/hs-hiedb: Generate shell completion scripts with optparse-applicative

diffstat:

 devel/hs-hiedb/Makefile |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 23b6114c91ba -r d0ab2186255f devel/hs-hiedb/Makefile
--- a/devel/hs-hiedb/Makefile   Sat Feb 26 08:12:56 2022 +0000
+++ b/devel/hs-hiedb/Makefile   Sat Feb 26 08:18:42 2022 +0000
@@ -1,13 +1,18 @@
-# $NetBSD: Makefile,v 1.2 2022/02/26 03:57:57 pho Exp $
+# $NetBSD: Makefile,v 1.3 2022/02/26 08:18:42 pho Exp $
 
 DISTNAME=      hiedb-0.4.1.0
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 COMMENT=       Generates a references DB from .hie files
 LICENSE=       modified-bsd
 
+# purs is built with optparse-applicative, and can generate shell
+# completion scripts automatically.
+OPTPARSE_APPLICATIVE_EXECUTABLES+=     hiedb
+.include "../../devel/hs-optparse-applicative/application.mk"
+
 .include "../../math/hs-algebraic-graphs/buildlink3.mk"
 .include "../../devel/hs-ansi-terminal/buildlink3.mk"
 .include "../../misc/hs-extra/buildlink3.mk"



Home | Main Index | Thread Index | Old Index