diff options
author | pgj <pgj@FreeBSD.org> | 2012-08-03 11:21:56 +0800 |
---|---|---|
committer | pgj <pgj@FreeBSD.org> | 2012-08-03 11:21:56 +0800 |
commit | 9a3549d9b34ac7628bd72545713de539a0bd7864 (patch) | |
tree | 99647f4306701a060b56c248caa69b9d673fd7a2 | |
parent | cf6e10fd8daf3b5d14fef3b936153ce83a13d31d (diff) | |
download | freebsd-ports-gnome-9a3549d9b34ac7628bd72545713de539a0bd7864.tar.gz freebsd-ports-gnome-9a3549d9b34ac7628bd72545713de539a0bd7864.tar.zst freebsd-ports-gnome-9a3549d9b34ac7628bd72545713de539a0bd7864.zip |
- Update to 0.9.0
- Use the new options framework
Obtained from: FreeBSD Haskell
-rw-r--r-- | www/hs-snap-server/Makefile | 19 | ||||
-rw-r--r-- | www/hs-snap-server/distinfo | 4 |
2 files changed, 12 insertions, 11 deletions
diff --git a/www/hs-snap-server/Makefile b/www/hs-snap-server/Makefile index 80d313bec2a5..ec06ccccd913 100644 --- a/www/hs-snap-server/Makefile +++ b/www/hs-snap-server/Makefile @@ -6,7 +6,7 @@ # PORTNAME= snap-server -PORTVERSION= 0.8.1.1 +PORTVERSION= 0.9.0 CATEGORIES= www haskell MAINTAINER= haskell@FreeBSD.org @@ -20,24 +20,25 @@ USE_CABAL= attoparsec>=0.10 attoparsec-enumerator>=0.3 \ blaze-builder>=0.2.1.4 blaze-builder-enumerator>=0.2.0 \ bytestring-nums case-insensitive>=0.3 directory-tree>=0.10 \ enumerator>=0.4.15 MonadCatchIO-transformers>=0.2.1 \ - mtl>=2 murmur-hash>=0.1 network>=2.3 PSQueue>=1.1 \ - snap-core>=0.8.1 text>=0.11 transformers>=0.2 unix-compat>=0.2 \ - vector>=0.7 vector-algorithms>=0.4 + mtl>=2 murmur-hash>=0.1 network>=2.3 snap-core>=0.9 \ + text>=0.11 transformers>=0.2 unix-compat>=0.2 vector>=0.7 \ + vector-algorithms>=0.4 -OPTIONS= LIBEV "Use libev" off \ - OPENSSL "Enable HTTPS support using the HsOpenSSL library" off +OPTIONS_DEFINE= LIBEV OPENSSL + +LIBEV_DESC= Use libev +OPENSSL_DESC= Enable HTTPS support using the HsOpenSSL library -.include "${.CURDIR}/../../lang/ghc/bsd.cabal.options.mk" .include <bsd.port.options.mk> -.if defined(WITH_LIBEV) +.if ${PORT_OPTIONS:MLIBEV} CONFIGURE_ARGS+= --flags="libev" USE_CABAL+= hlibev .else CONFIGURE_ARGS+= --flags="-libev" .endif -.if defined(WITH_OPENSSL) +.if ${PORT_OPTIONS:MOPENSSL} CONFIGURE_ARGS+= --flags="openssl" USE_CABAL+= HsOpenSSL .else diff --git a/www/hs-snap-server/distinfo b/www/hs-snap-server/distinfo index 0c4b09de7944..a4ee2c005fe9 100644 --- a/www/hs-snap-server/distinfo +++ b/www/hs-snap-server/distinfo @@ -1,2 +1,2 @@ -SHA256 (cabal/snap-server-0.8.1.1.tar.gz) = 86683ed439b7cad292b7c5d5e12d12131ec69bdd5df568d0b68b18065dfa874c -SIZE (cabal/snap-server-0.8.1.1.tar.gz) = 63196 +SHA256 (cabal/snap-server-0.9.0.tar.gz) = 6a0f085da3741c1e0529f31d7d5d1b670b360fb7ddeacbd648dcea6778f0b28a +SIZE (cabal/snap-server-0.9.0.tar.gz) = 58291 |