pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/cabal-install



Module Name:    pkgsrc
Committed By:   pho
Date:           Tue Oct 13 12:27:11 UTC 2020

Modified Files:
        pkgsrc/misc/cabal-install: Makefile PLIST

Log Message:
Remove variable path components hard-coded in PLIST


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/misc/cabal-install/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/misc/cabal-install/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/misc/cabal-install/Makefile
diff -u pkgsrc/misc/cabal-install/Makefile:1.2 pkgsrc/misc/cabal-install/Makefile:1.3
--- pkgsrc/misc/cabal-install/Makefile:1.2      Tue Oct 13 12:08:10 2020
+++ pkgsrc/misc/cabal-install/Makefile  Tue Oct 13 12:27:11 2020
@@ -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@localhost
@@ -15,6 +15,15 @@ SUBST_MESSAGE.mandir=        Fixing man page in
 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"

Index: pkgsrc/misc/cabal-install/PLIST
diff -u pkgsrc/misc/cabal-install/PLIST:1.1 pkgsrc/misc/cabal-install/PLIST:1.2
--- pkgsrc/misc/cabal-install/PLIST:1.1 Tue Oct 13 12:08:58 2020
+++ pkgsrc/misc/cabal-install/PLIST     Tue Oct 13 12:27:11 2020
@@ -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



Home | Main Index | Thread Index | Old Index