diff options
author | pho <pho@pkgsrc.org> | 2020-10-13 12:27:11 +0000 |
---|---|---|
committer | pho <pho@pkgsrc.org> | 2020-10-13 12:27:11 +0000 |
commit | 3caa63469c7159b5cd2d47948a440e245b0bf370 (patch) | |
tree | 3c1325c530cbf5adc8e0025082fa9e94570b8268 /misc/cabal-install | |
parent | 9fa9be7864a02e39dd249444a5b62ba73ce0853b (diff) | |
download | pkgsrc-3caa63469c7159b5cd2d47948a440e245b0bf370.tar.gz |
Remove variable path components hard-coded in PLIST
Diffstat (limited to 'misc/cabal-install')
-rw-r--r-- | misc/cabal-install/Makefile | 13 | ||||
-rw-r--r-- | misc/cabal-install/PLIST | 4 |
2 files changed, 12 insertions, 5 deletions
diff --git a/misc/cabal-install/Makefile b/misc/cabal-install/Makefile index f7d0c3a15a2..262e3b145c0 100644 --- a/misc/cabal-install/Makefile +++ b/misc/cabal-install/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.2 2020/10/13 12:08:10 pho Exp $ +# $NetBSD: Makefile,v 1.3 2020/10/13 12:27:11 pho Exp $ DISTNAME= cabal-install-3.0.0.0 PKGNAME= ${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= misc MAINTAINER= pho@cielonegro.org @@ -15,6 +15,15 @@ SUBST_MESSAGE.mandir= Fixing man page installation path SUBST_FILES.mandir+= Setup.hs SUBST_VARS.mandir+= PKGMANDIR +# cabal-install installs a LICENSE file under +# share/doc/${PLATFORM}-ghc-${GHC_VERSION}/${PKGNAME}. Variables in +# paths are usually handled by ../../mk/haskell.mk, but in this case +# it can't, because the package installs no libraries and therefore +# doesn't have the package-description file. Remove share/doc to work +# around this. +post-install: + ${RM} -r ${DESTDIR}${PREFIX}/share/doc + .include "../../devel/hs-async/buildlink3.mk" .include "../../converters/hs-base16-bytestring/buildlink3.mk" .include "../../security/hs-cryptohash-sha256/buildlink3.mk" diff --git a/misc/cabal-install/PLIST b/misc/cabal-install/PLIST index 45e303ef9d9..f6840acabbd 100644 --- a/misc/cabal-install/PLIST +++ b/misc/cabal-install/PLIST @@ -1,5 +1,3 @@ -@comment $NetBSD: PLIST,v 1.1 2020/10/13 12:08:58 pho Exp $ +@comment $NetBSD: PLIST,v 1.2 2020/10/13 12:27:11 pho Exp $ bin/cabal man/man1/cabal.1 -share/doc/x86_64-netbsd-ghc-8.8.4/${PKGNAME}/LICENSE -@pkgdir lib/${PKGNAME}/ghc-8.8.4 |