pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/hs-ghcide
Module Name: pkgsrc
Committed By: pho
Date: Sat Feb 26 08:53:55 UTC 2022
Modified Files:
pkgsrc/devel/hs-ghcide: Makefile
Log Message:
devel/hs-ghcide: Generate shell completion scripts with optparse-applicative
Although it is no longer recommended to invoke ghcide directly, that
doesn't mean we shouldn't generate completion scripts for it.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/hs-ghcide/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/hs-ghcide/Makefile
diff -u pkgsrc/devel/hs-ghcide/Makefile:1.2 pkgsrc/devel/hs-ghcide/Makefile:1.3
--- pkgsrc/devel/hs-ghcide/Makefile:1.2 Sat Feb 26 03:57:56 2022
+++ pkgsrc/devel/hs-ghcide/Makefile Sat Feb 26 08:53:55 2022
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2022/02/26 03:57:56 pho Exp $
+# $NetBSD: Makefile,v 1.3 2022/02/26 08:53:55 pho Exp $
DISTNAME= ghcide-1.6.0.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= devel
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -11,6 +11,12 @@ LICENSE= apache-2.0
CONFIGURE_ARGS+= -f-test-exe
CONFIGURE_ARGS+= -f-bench-exe
+# purs is built with optparse-applicative, and can generate shell
+# completion scripts automatically.
+OPTPARSE_APPLICATIVE_EXECUTABLES+= ghcide
+.include "../../devel/hs-optparse-applicative/application.mk"
+
+# lib:ghcide
.include "../../converters/hs-aeson/buildlink3.mk"
.include "../../converters/hs-aeson-pretty/buildlink3.mk"
.include "../../devel/hs-async/buildlink3.mk"
@@ -33,6 +39,7 @@ CONFIGURE_ARGS+= -f-bench-exe
.include "../../textproc/hs-Glob/buildlink3.mk"
.include "../../textproc/hs-haddock-library/buildlink3.mk"
.include "../../devel/hs-hashable/buildlink3.mk"
+.include "../../devel/hs-heapsize/buildlink3.mk"
.include "../../devel/hs-hie-bios/buildlink3.mk"
.include "../../devel/hs-hie-compat/buildlink3.mk"
.include "../../devel/hs-hiedb/buildlink3.mk"
@@ -67,7 +74,9 @@ CONFIGURE_ARGS+= -f-bench-exe
.include "../../devel/hs-utf8-string/buildlink3.mk"
.include "../../devel/hs-vector/buildlink3.mk"
.include "../../devel/hs-vector-algorithms/buildlink3.mk"
+
+# exe:ghcide
.include "../../devel/hs-gitrev/buildlink3.mk"
-.include "../../devel/hs-heapsize/buildlink3.mk"
+
.include "../../mk/haskell.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index