aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2008-11-06 07:36:46 +0800
committerwxs <wxs@FreeBSD.org>2008-11-06 07:36:46 +0800
commitf3f45768cc2e8cdd6019f7d4c492326b4b89e0f8 (patch)
tree172957b8c2fb9916c63775acc9c747dd881c3c31 /archivers
parent7b2424abb9074709e2de49973e96d2fdaf3e1791 (diff)
downloadfreebsd-ports-gnome-f3f45768cc2e8cdd6019f7d4c492326b4b89e0f8.tar.gz
freebsd-ports-gnome-f3f45768cc2e8cdd6019f7d4c492326b4b89e0f8.tar.zst
freebsd-ports-gnome-f3f45768cc2e8cdd6019f7d4c492326b4b89e0f8.zip
- Add @exec lines so the register script is called when the package is used.
- Bump PORTREVISION. Submitted by: sbahra@kerneled.org (maintainer, private mail)
Diffstat (limited to 'archivers')
-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