summaryrefslogtreecommitdiff
path: root/math/hs-nats
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2020-09-23 21:40:16 +0000
committermef <mef@pkgsrc.org>2020-09-23 21:40:16 +0000
commit5f856e699dbdc0d9fa8e03404c31f06f3283588a (patch)
treeddd59c8916e7e339a1dd68f6ba42463c0f574f50 /math/hs-nats
parent4c5adb6b4e94880cee324a370500fa65bc8a1f81 (diff)
downloadpkgsrc-5f856e699dbdc0d9fa8e03404c31f06f3283588a.tar.gz
(math/hs-nats) Add PLIST tweak
Diffstat (limited to 'math/hs-nats')
-rw-r--r--math/hs-nats/Makefile4
-rw-r--r--math/hs-nats/PLIST4
2 files changed, 5 insertions, 3 deletions
diff --git a/math/hs-nats/Makefile b/math/hs-nats/Makefile
index 0408a4d0305..c1ef596a28a 100644
--- a/math/hs-nats/Makefile
+++ b/math/hs-nats/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2019/12/31 13:55:47 pho Exp $
+# $NetBSD: Makefile,v 1.12 2020/09/23 21:40:16 mef Exp $
DISTNAME= nats-1.1.2
CATEGORIES= math
@@ -11,6 +11,8 @@ LICENSE= modified-bsd
# 7.10. Haddock complains when there are no input files.
HASKELL_ENABLE_HADDOCK_DOCUMENTATION= no
+PLIST_SUBST+= HASKELL_VERSION=${_HASKELL_VERSION:Q}
+
.include "../../mk/haskell.mk"
.include "../../devel/hs-hashable/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/math/hs-nats/PLIST b/math/hs-nats/PLIST
index 1db28bf1672..62a0c2d973b 100644
--- a/math/hs-nats/PLIST
+++ b/math/hs-nats/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2020/09/14 22:33:46 mef Exp $
+@comment $NetBSD: PLIST,v 1.6 2020/09/23 21:40:16 mef Exp $
${HS_INTF}/package-description
${HS_INTF}/package-id
-share/doc/x86_64-netbsd-${HS_VER}/nats-${PKGVERSION}/LICENSE
+share/doc/x86_64-netbsd-${HASKELL_VERSION}/nats-${PKGVERSION}/LICENSE