summaryrefslogtreecommitdiff
path: root/archivers/hs-zlib
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2008-11-05 23:36:46 +0000
committerWesley Shields <wxs@FreeBSD.org>2008-11-05 23:36:46 +0000
commitd39855f8252367c44a475d25862778aecaf86ddd (patch)
treef5ac9b28cfc4bcb0e49c8326bc5cd8c3828186f4 /archivers/hs-zlib
parentUpgrade to version R12B-5. (diff)
- Add @exec lines so the register script is called when the package is used.
- Bump PORTREVISION. Submitted by: sbahra@kerneled.org (maintainer, private mail)
Notes
Notes: svn path=/head/; revision=222433
Diffstat (limited to 'archivers/hs-zlib')
-rw-r--r--archivers/hs-zlib/Makefile1
-rw-r--r--archivers/hs-zlib/pkg-plist1
2 files changed, 2 insertions, 0 deletions
diff --git a/archivers/hs-zlib/Makefile b/archivers/hs-zlib/Makefile
index aec9622e197b..36c956b0521f 100644
--- a/archivers/hs-zlib/Makefile
+++ b/archivers/hs-zlib/Makefile
@@ -6,6 +6,7 @@
PORTNAME= zlib
PORTVERSION= 0.5.0.0
+PORTREVISION= 1
CATEGORIES= archivers haskell
MASTER_SITES= http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/ \
http://kerneled.org/tmp/
diff --git a/archivers/hs-zlib/pkg-plist b/archivers/hs-zlib/pkg-plist
index 34e27c2458d2..b136d3360832 100644
--- a/archivers/hs-zlib/pkg-plist
+++ b/archivers/hs-zlib/pkg-plist
@@ -13,6 +13,7 @@ share/doc/zlib-%%PORTVERSION%%/LICENSE
@dirrm lib/zlib-%%PORTVERSION%%/ghc-%%GHC_VERSION%%/Codec
@dirrm lib/zlib-%%PORTVERSION%%/ghc-%%GHC_VERSION%%
@dirrm lib/zlib-%%PORTVERSION%%
+@exec /bin/sh %D/%%SUBDIR%%/register.sh
@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
@unexec %D/bin/ghc-pkg unregister zlib
@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old