blob: 5c49cd5c8c86f59775e4dfd63a0cf6fa3821e25b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $FreeBSD$
PORTNAME= snap-server
PORTVERSION= 0.9.2.4
PORTREVISION= 1
CATEGORIES= www haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= A fast, iteratee-based, epoll-enabled web server for the Snap Framework
LICENSE= BSD
CABAL_SETUP= Setup.hs
USE_CABAL= attoparsec>=0.10 attoparsec-enumerator>=0.3 \
blaze-builder>=0.2.1.4 blaze-builder-enumerator>=0.2.0 \
case-insensitive>=0.3 directory-tree>=0.10 enumerator>=0.4.15 \
MonadCatchIO-transformers>=0.2.1 mtl>=2 network>=2.3 \
snap-core>=0.9.2 text>=0.11 transformers>=0.2 unix-compat>=0.2
OPTIONS_DEFINE= OPENSSL
OPENSSL_DESC= Enable HTTPS support using the HsOpenSSL library
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.options.mk"
.if ${PORT_OPTIONS:MOPENSSL}
CONFIGURE_ARGS+= --flags="openssl"
USE_CABAL+= HsOpenSSL>=0.10
.else
CONFIGURE_ARGS+= --flags="-openssl"
.endif
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
|