aboutsummaryrefslogtreecommitdiff
path: root/security/hs-tls
diff options
context:
space:
mode:
authorGabor Pali <pgj@FreeBSD.org>2012-08-03 02:30:07 +0000
committerGabor Pali <pgj@FreeBSD.org>2012-08-03 02:30:07 +0000
commitdb8a630740d7952632fca1d12503a442fc625335 (patch)
tree8ee3a15fcf61eb9a77ce79ffe7cc567f6e56e480 /security/hs-tls
parent336cf4f81e31ae43ff7b5ec434e2305615de4392 (diff)
downloadports-db8a630740d7952632fca1d12503a442fc625335.tar.gz
ports-db8a630740d7952632fca1d12503a442fc625335.zip
- Teach the Haskell Cabal ports to use the new options framework
- Remove some cruft Obtained from: FreeBSD Haskell
Notes
Notes: svn path=/head/; revision=301879
Diffstat (limited to 'security/hs-tls')
-rw-r--r--security/hs-tls/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/security/hs-tls/Makefile b/security/hs-tls/Makefile
index 3658ba1761d1..510a2db20a54 100644
--- a/security/hs-tls/Makefile
+++ b/security/hs-tls/Makefile
@@ -7,6 +7,7 @@
PORTNAME= tls
PORTVERSION= 0.9.5
+PORTREVISION= 1
CATEGORIES= security haskell
MAINTAINER= haskell@FreeBSD.org
@@ -19,12 +20,13 @@ CABAL_SETUP= Setup.hs
USE_CABAL= cereal>=0.3 certificate>=1.2.0 crypto-api>=0.5 \
cryptocipher>=0.3.0 cryptohash>=0.6 mtl
-OPTIONS= EXECUTABLE "Build the executables" off
+OPTIONS_DEFINE= EXECUTABLE
+
+EXECUTABLE_DESC= Build the executables
-.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"
USE_CABAL+= cmdargs cprng-aes>=0.2.3 network
EXECUTABLE+= stunnel checkciphers retrievecertificate simpleclient