aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2010-05-16 02:50:51 +0800
committerpgj <pgj@FreeBSD.org>2010-05-16 02:50:51 +0800
commite2aeea0561fc02817cc3f8fa5c1afb1d9568bf59 (patch)
tree6b41720d0c10a96d16bf09cc2f4ff56eff7773d4 /archivers
parente81f151bf8805c7d4f35c2b0827b825673c9a783 (diff)
downloadfreebsd-ports-gnome-e2aeea0561fc02817cc3f8fa5c1afb1d9568bf59.tar.gz
freebsd-ports-gnome-e2aeea0561fc02817cc3f8fa5c1afb1d9568bf59.tar.zst
freebsd-ports-gnome-e2aeea0561fc02817cc3f8fa5c1afb1d9568bf59.zip
- Update to 0.1.1.6
- Import OPTIONS
Diffstat (limited to 'archivers')
-rw-r--r--archivers/hs-zip-archive-ghc/Makefile17
-rw-r--r--archivers/hs-zip-archive-ghc/distinfo6
-rw-r--r--archivers/hs-zip-archive-ghc/pkg-plist1
-rw-r--r--archivers/hs-zip-archive/Makefile17
-rw-r--r--archivers/hs-zip-archive/distinfo6
-rw-r--r--archivers/hs-zip-archive/pkg-plist1
6 files changed, 38 insertions, 10 deletions
diff --git a/archivers/hs-zip-archive-ghc/Makefile b/archivers/hs-zip-archive-ghc/Makefile
index 4e71810b3865..61d5bf92409a 100644
--- a/archivers/hs-zip-archive-ghc/Makefile
+++ b/archivers/hs-zip-archive-ghc/Makefile
@@ -6,14 +6,27 @@
#
PORTNAME= zip-archive
-PORTVERSION= 0.1.1.4
+PORTVERSION= 0.1.1.6
CATEGORIES= archivers haskell
PKGNAMESUFFIX= -ghc
MAINTAINER= haskell@FreeBSD.org
COMMENT= A Haskell library for working with zip archives
-USE_HACKAGE= binary digest>=0.0.0.1 utf8-string>=0.3.1 zlib
+USE_HACKAGE= binary digest>=0.0.0.1 utf8-string>=0.3.1 zlib
+
+OPTIONS= EXECUTABLE "Build the Zip executable" off
+
+.include <bsd.port.options.mk>
+
+.if defined(WITH_EXECUTABLE)
+CONFIGURE_ARGS+= --flags="executable"
+EXECUTABLE= Zip
+PLIST_SUB+= MAYBE_EXECUTABLE=""
+.else
+CONFIGURE_ARGS+= --flags="-executable"
+PLIST_SUB+= MAYBE_EXECUTABLE="@comment "
+.endif
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
diff --git a/archivers/hs-zip-archive-ghc/distinfo b/archivers/hs-zip-archive-ghc/distinfo
index b26a393dd601..d9d83253086b 100644
--- a/archivers/hs-zip-archive-ghc/distinfo
+++ b/archivers/hs-zip-archive-ghc/distinfo
@@ -1,3 +1,3 @@
-MD5 (zip-archive-0.1.1.4.tar.gz) = 39909776afb7e63c65fd1b9739f91866
-SHA256 (zip-archive-0.1.1.4.tar.gz) = 1b254a48e0476d0bd6d51b30bca44a4a14a85d401d615055651d4ced6719a295
-SIZE (zip-archive-0.1.1.4.tar.gz) = 16786
+MD5 (zip-archive-0.1.1.6.tar.gz) = 4806077be79ecb5486306432ee93e38d
+SHA256 (zip-archive-0.1.1.6.tar.gz) = 16aafc5f74c880398413a7c2adaaf90cae86006dcda58f663c1e1d795add90aa
+SIZE (zip-archive-0.1.1.6.tar.gz) = 16730
diff --git a/archivers/hs-zip-archive-ghc/pkg-plist b/archivers/hs-zip-archive-ghc/pkg-plist
index a0019a765670..510d701b8dda 100644
--- a/archivers/hs-zip-archive-ghc/pkg-plist
+++ b/archivers/hs-zip-archive-ghc/pkg-plist
@@ -1,4 +1,5 @@
@comment $FreeBSD$
+%%MAYBE_EXECUTABLE%%bin/Zip
%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Codec/Archive/Zip.hi
%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HS%%PORTNAME%%-%%PORTVERSION%%.o
%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHS%%PORTNAME%%-%%PORTVERSION%%.a
diff --git a/archivers/hs-zip-archive/Makefile b/archivers/hs-zip-archive/Makefile
index 4e71810b3865..61d5bf92409a 100644
--- a/archivers/hs-zip-archive/Makefile
+++ b/archivers/hs-zip-archive/Makefile
@@ -6,14 +6,27 @@
#
PORTNAME= zip-archive
-PORTVERSION= 0.1.1.4
+PORTVERSION= 0.1.1.6
CATEGORIES= archivers haskell
PKGNAMESUFFIX= -ghc
MAINTAINER= haskell@FreeBSD.org
COMMENT= A Haskell library for working with zip archives
-USE_HACKAGE= binary digest>=0.0.0.1 utf8-string>=0.3.1 zlib
+USE_HACKAGE= binary digest>=0.0.0.1 utf8-string>=0.3.1 zlib
+
+OPTIONS= EXECUTABLE "Build the Zip executable" off
+
+.include <bsd.port.options.mk>
+
+.if defined(WITH_EXECUTABLE)
+CONFIGURE_ARGS+= --flags="executable"
+EXECUTABLE= Zip
+PLIST_SUB+= MAYBE_EXECUTABLE=""
+.else
+CONFIGURE_ARGS+= --flags="-executable"
+PLIST_SUB+= MAYBE_EXECUTABLE="@comment "
+.endif
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
diff --git a/archivers/hs-zip-archive/distinfo b/archivers/hs-zip-archive/distinfo
index b26a393dd601..d9d83253086b 100644
--- a/archivers/hs-zip-archive/distinfo
+++ b/archivers/hs-zip-archive/distinfo
@@ -1,3 +1,3 @@
-MD5 (zip-archive-0.1.1.4.tar.gz) = 39909776afb7e63c65fd1b9739f91866
-SHA256 (zip-archive-0.1.1.4.tar.gz) = 1b254a48e0476d0bd6d51b30bca44a4a14a85d401d615055651d4ced6719a295
-SIZE (zip-archive-0.1.1.4.tar.gz) = 16786
+MD5 (zip-archive-0.1.1.6.tar.gz) = 4806077be79ecb5486306432ee93e38d
+SHA256 (zip-archive-0.1.1.6.tar.gz) = 16aafc5f74c880398413a7c2adaaf90cae86006dcda58f663c1e1d795add90aa
+SIZE (zip-archive-0.1.1.6.tar.gz) = 16730
diff --git a/archivers/hs-zip-archive/pkg-plist b/archivers/hs-zip-archive/pkg-plist
index a0019a765670..510d701b8dda 100644
--- a/archivers/hs-zip-archive/pkg-plist
+++ b/archivers/hs-zip-archive/pkg-plist
@@ -1,4 +1,5 @@
@comment $FreeBSD$
+%%MAYBE_EXECUTABLE%%bin/Zip
%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Codec/Archive/Zip.hi
%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HS%%PORTNAME%%-%%PORTVERSION%%.o
%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHS%%PORTNAME%%-%%PORTVERSION%%.a