c4aebd467c
GHC in the ports tree has been updated to version 7.0.4 and the port revision for all the Haskell ports without version changes are bumped. Other per-port updates are coming soon. This update also incorporates some improvements for bsd.cabal.mk that makes working with Haskell ports even easier. Thanks ashish@ for the help! Obtained from: FreeBSD Haskell
30 lines
698 B
Makefile
30 lines
698 B
Makefile
# 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
|
|
PORTREVISION= 3
|
|
CATEGORIES= www haskell
|
|
|
|
MAINTAINER= haskell@FreeBSD.org
|
|
COMMENT= A library for writing Haskell web servers
|
|
|
|
LICENSE= BSD
|
|
|
|
CABAL_SETUP= Setup.hs
|
|
USE_CABAL= HTTP>=4000.0.7 mime>=0.3 network>=2 url>=2 utf8-string>=0.3.4
|
|
|
|
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>
|