summaryrefslogtreecommitdiff
path: root/www/hs-snap-server/Makefile
blob: 7ea46c35d1bb42ca8e91aa70aa89576bbedfecf7 (plain) (blame)
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
# $FreeBSD$

PORTNAME=	snap-server
PORTVERSION=	0.9.4.5
CATEGORIES=	www haskell

MAINTAINER=	haskell@FreeBSD.org
COMMENT=	Fast, iteratee-based, epoll-enabled web server for the Snap Framework

LICENSE=	BSD3CLAUSE

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 enumerator>=0.4.15 \
		MonadCatchIO-transformers>=0.2.1 mtl>=2 network>=2.3 \
		snap-core>=0.9.3 text>=0.11 unix-compat>=0.2

FLAGS_DEFINE=		OPENSSL

OPENSSL_DESC=		Enable HTTPS support using the HsOpenSSL library
OPENSSL_FLAG_ENABLE=	openssl
OPENSSL_FLAG_CABAL=	HsOpenSSL>=0.10

.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>