pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ormolu devel/ormolu: Generate shell completion s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/23b6114c91ba
branches:  trunk
changeset: 374758:23b6114c91ba
user:      pho <pho%pkgsrc.org@localhost>
date:      Sat Feb 26 08:12:56 2022 +0000

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

diffstat:

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

diffs (32 lines):

diff -r 0f6f4811cb34 -r 23b6114c91ba devel/ormolu/Makefile
--- a/devel/ormolu/Makefile     Sat Feb 26 08:07:37 2022 +0000
+++ b/devel/ormolu/Makefile     Sat Feb 26 08:12:56 2022 +0000
@@ -1,14 +1,18 @@
-# $NetBSD: Makefile,v 1.2 2022/02/26 03:58:13 pho Exp $
+# $NetBSD: Makefile,v 1.3 2022/02/26 08:12:56 pho Exp $
 
 DISTNAME=      ormolu-0.4.0.0
 PKGNAME=       ${DISTNAME}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 COMMENT=       Formatter for Haskell source code
 LICENSE=       modified-bsd
 
+# ormolu is built with optparse-applicative, and can generate shell
+# completion scripts automatically.
+.include "../../devel/hs-optparse-applicative/application.mk"
+
 # lib:ormolu
 .include "../../devel/hs-ansi-terminal/buildlink3.mk"
 .include "../../textproc/hs-Diff/buildlink3.mk"
@@ -18,7 +22,6 @@
 
 # exe:ormolu
 .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