aboutsummaryrefslogtreecommitdiffstats
path: root/www/hs-http-server/Makefile
blob: 35375916b905e45466354726054207c044287049 (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
26
27
28
# New ports collection makefile for: hs-http-server
# Date created:        December 20 2009
# Whom:                Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   http-server
PORTVERSION=    1
CATEGORIES= www haskell

MAINTAINER= jacula@gmail.com
COMMENT=    A library for writing Haskell web servers

CABAL_SETUP=    Setup.hs
USE_HACKAGE=    HTTP>=4000.0.7 mime>=0.3 url>=2 utf8-string>=0.3.4

PORTEXAMPLES=       *
INSTALL_PORTEXAMPLES=   cd ${WRKSRC}/example && \
              ${COPYTREE_SHARE} \* ${EXAMPLESDIR}

.if !defined(NOPORTEXAMPLES)
SUB_FILES=  pkg-message
SHOW_PKGMSG=    yes
.endif

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