pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/hs-hie-bios devel/hs-hie-bios: Generate shell co...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/baf7d60434df
branches:  trunk
changeset: 374763:baf7d60434df
user:      pho <pho%pkgsrc.org@localhost>
date:      Sat Feb 26 08:41:28 2022 +0000

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

diffstat:

 devel/hs-hie-bios/Makefile |  12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diffs (33 lines):

diff -r b743ecb4b926 -r baf7d60434df devel/hs-hie-bios/Makefile
--- a/devel/hs-hie-bios/Makefile        Sat Feb 26 08:37:07 2022 +0000
+++ b/devel/hs-hie-bios/Makefile        Sat Feb 26 08:41:28 2022 +0000
@@ -1,13 +1,19 @@
-# $NetBSD: Makefile,v 1.2 2022/02/26 03:57:57 pho Exp $
+# $NetBSD: Makefile,v 1.3 2022/02/26 08:41:28 pho Exp $
 
 DISTNAME=      hie-bios-0.8.1
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 COMMENT=       Set up a GHC API session
 LICENSE=       modified-bsd
 
+# hie-bios is built with optparse-applicative, and can generate shell
+# completion scripts automatically.
+OPTPARSE_APPLICATIVE_EXECUTABLES+=     hie-bios
+.include "../../devel/hs-optparse-applicative/application.mk"
+
+# lib:hie-bios
 .include "../../converters/hs-aeson/buildlink3.mk"
 .include "../../converters/hs-base16-bytestring/buildlink3.mk"
 .include "../../devel/hs-conduit/buildlink3.mk"
@@ -21,6 +27,6 @@
 .include "../../devel/hs-unordered-containers/buildlink3.mk"
 .include "../../devel/hs-vector/buildlink3.mk"
 .include "../../textproc/hs-yaml/buildlink3.mk"
-.include "../../devel/hs-optparse-applicative/buildlink3.mk"
+
 .include "../../mk/haskell.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index