diff options
author | Gabor Pali <pgj@FreeBSD.org> | 2012-08-03 02:30:07 +0000 |
---|---|---|
committer | Gabor Pali <pgj@FreeBSD.org> | 2012-08-03 02:30:07 +0000 |
commit | db8a630740d7952632fca1d12503a442fc625335 (patch) | |
tree | 8ee3a15fcf61eb9a77ce79ffe7cc567f6e56e480 /security/hs-SHA/Makefile | |
parent | 336cf4f81e31ae43ff7b5ec434e2305615de4392 (diff) | |
download | ports-db8a630740d7952632fca1d12503a442fc625335.tar.gz ports-db8a630740d7952632fca1d12503a442fc625335.zip |
Notes
Diffstat (limited to 'security/hs-SHA/Makefile')
-rw-r--r-- | security/hs-SHA/Makefile | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/security/hs-SHA/Makefile b/security/hs-SHA/Makefile index ae1da19a6562..b696fd0b73a9 100644 --- a/security/hs-SHA/Makefile +++ b/security/hs-SHA/Makefile @@ -7,6 +7,7 @@ PORTNAME= SHA PORTVERSION= 1.5.0.1 +PORTREVISION= 1 CATEGORIES= security haskell MAINTAINER= haskell@FreeBSD.org @@ -16,21 +17,15 @@ LICENSE= BSD CABAL_SETUP= Setup.hs -OPTIONS= TEST "Build the SHA test suite" off \ - EXE "Build a SHA2-384 executable similar to 'md5sum'" off +OPTIONS_DEFINE= EXE + +EXE_DESC= Build a SHA2-384 executable similar to 'md5sum' -.include "${.CURDIR}/../../lang/ghc/bsd.cabal.options.mk" .include <bsd.port.options.mk> -.if defined(WITH_TEST) -CONFIGURE_ARGS+= --flags="Test" -USE_CABAL+= QuickCheck>=2 test-framework>=0.3 test-framework-quickcheck2>=0.2 -EXECUTABLE+= test_sha -.else CONFIGURE_ARGS+= --flags="-Test" -.endif -.if defined(WITH_EXE) +.if ${PORT_OPTIONS:MEXE} CONFIGURE_ARGS+= --flags="exe" EXECUTABLE+= sha1 sha384 .else |