aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2012-08-03 10:30:07 +0800
committerpgj <pgj@FreeBSD.org>2012-08-03 10:30:07 +0800
commitc375ed37df92a6e58eaf54cf831525f3a49c9629 (patch)
tree8ee3a15fcf61eb9a77ce79ffe7cc567f6e56e480 /archivers
parent9c52697bc371ab647ee6cd5811c6ca220c7f6e11 (diff)
downloadfreebsd-ports-gnome-c375ed37df92a6e58eaf54cf831525f3a49c9629.tar.gz
freebsd-ports-gnome-c375ed37df92a6e58eaf54cf831525f3a49c9629.tar.zst
freebsd-ports-gnome-c375ed37df92a6e58eaf54cf831525f3a49c9629.zip
- Teach the Haskell Cabal ports to use the new options framework
- Remove some cruft Obtained from: FreeBSD Haskell
Diffstat (limited to 'archivers')
-rw-r--r--archivers/hs-tar/Makefile1
-rw-r--r--archivers/hs-zip-archive/Makefile10
-rw-r--r--archivers/hs-zlib-bindings/Makefile1
-rw-r--r--archivers/hs-zlib-enum/Makefile1
-rw-r--r--archivers/hs-zlib/Makefile1
5 files changed, 9 insertions, 5 deletions
diff --git a/archivers/hs-tar/Makefile b/archivers/hs-tar/Makefile
index ea1c91250f3c..8449de0fa97e 100644
--- a/archivers/hs-tar/Makefile
+++ b/archivers/hs-tar/Makefile
@@ -7,6 +7,7 @@
PORTNAME= tar
PORTVERSION= 0.4.0.0
+PORTREVISION= 1
CATEGORIES= archivers haskell
MAINTAINER= haskell@FreeBSD.org
diff --git a/archivers/hs-zip-archive/Makefile b/archivers/hs-zip-archive/Makefile
index 335d66479561..92e78da810b6 100644
--- a/archivers/hs-zip-archive/Makefile
+++ b/archivers/hs-zip-archive/Makefile
@@ -7,6 +7,7 @@
PORTNAME= zip-archive
PORTVERSION= 0.1.1.8
+PORTREVISION= 1
CATEGORIES= archivers haskell
MAINTAINER= haskell@FreeBSD.org
@@ -16,18 +17,17 @@ LICENSE= BSD
USE_CABAL= digest>=0.0.0.1 mtl utf8-string>=0.3.1 zlib
-OPTIONS= EXECUTABLE "Build the Zip executable" off
+OPTIONS_DEFINE= EXECUTABLE
+
+EXECUTABLE_DESC= Build the Zip executable
-.include "${.CURDIR}/../../lang/ghc/bsd.cabal.options.mk"
.include <bsd.port.options.mk>
-.if defined(WITH_EXECUTABLE)
+.if ${PORT_OPTIONS:MEXECUTABLE}
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"
diff --git a/archivers/hs-zlib-bindings/Makefile b/archivers/hs-zlib-bindings/Makefile
index 3bb5f606195b..7c4e88d64368 100644
--- a/archivers/hs-zlib-bindings/Makefile
+++ b/archivers/hs-zlib-bindings/Makefile
@@ -6,6 +6,7 @@
PORTNAME= zlib-bindings
PORTVERSION= 0.1.0.1
+PORTREVISION= 1
CATEGORIES= archivers haskell
MAINTAINER= haskell@FreeBSD.org
diff --git a/archivers/hs-zlib-enum/Makefile b/archivers/hs-zlib-enum/Makefile
index c451ca52ad35..f68d6261e3ce 100644
--- a/archivers/hs-zlib-enum/Makefile
+++ b/archivers/hs-zlib-enum/Makefile
@@ -6,6 +6,7 @@
PORTNAME= zlib-enum
PORTVERSION= 0.2.2.1
+PORTREVISION= 1
CATEGORIES= archivers haskell
MAINTAINER= haskell@FreeBSD.org
diff --git a/archivers/hs-zlib/Makefile b/archivers/hs-zlib/Makefile
index 41caa10bb571..579dd703c9dd 100644
--- a/archivers/hs-zlib/Makefile
+++ b/archivers/hs-zlib/Makefile
@@ -6,6 +6,7 @@
PORTNAME= zlib
PORTVERSION= 0.5.3.3
+PORTREVISION= 1
CATEGORIES= archivers haskell
MAINTAINER= haskell@FreeBSD.org