pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/fourmolu devel/fourmolu: Generate shell completi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/befffb54d51c
branches:  trunk
changeset: 374761:befffb54d51c
user:      pho <pho%pkgsrc.org@localhost>
date:      Sat Feb 26 08:30:14 2022 +0000

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

diffstat:

 devel/fourmolu/Makefile |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (32 lines):

diff -r 05104553a754 -r befffb54d51c devel/fourmolu/Makefile
--- a/devel/fourmolu/Makefile   Sat Feb 26 08:26:12 2022 +0000
+++ b/devel/fourmolu/Makefile   Sat Feb 26 08:30:14 2022 +0000
@@ -1,14 +1,18 @@
-# $NetBSD: Makefile,v 1.2 2022/02/26 03:57:46 pho Exp $
+# $NetBSD: Makefile,v 1.3 2022/02/26 08:30:14 pho Exp $
 
 DISTNAME=      fourmolu-0.5.0.1
 PKGNAME=       ${DISTNAME}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 COMMENT=       Formatter for Haskell source code
 LICENSE=       modified-bsd
 
+# fourmolu is built with optparse-applicative, and can generate shell
+# completion scripts automatically.
+.include "../../devel/hs-optparse-applicative/application.mk"
+
 # lib:fourmolu
 .include "../../converters/hs-aeson/buildlink3.mk"
 .include "../../devel/hs-ansi-terminal/buildlink3.mk"
@@ -21,7 +25,6 @@
 
 # exe:fourmolu
 .include "../../devel/hs-gitrev/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