aboutsummaryrefslogtreecommitdiffstats
path: root/www/hs-http-server
diff options
context:
space:
mode:
authorashish <ashish@FreeBSD.org>2011-05-09 13:28:57 +0800
committerashish <ashish@FreeBSD.org>2011-05-09 13:28:57 +0800
commitc7a47a981222b062ac48e4edc5cae32fbed2b9c7 (patch)
treea1af1f5739f0a44d179f6f44b2ea70e07401da25 /www/hs-http-server
parent63b87600f00dd6e3a998a1862f7c209aa5e62523 (diff)
downloadfreebsd-ports-gnome-c7a47a981222b062ac48e4edc5cae32fbed2b9c7.tar.gz
freebsd-ports-gnome-c7a47a981222b062ac48e4edc5cae32fbed2b9c7.tar.zst
freebsd-ports-gnome-c7a47a981222b062ac48e4edc5cae32fbed2b9c7.zip
- Please welcome GHC 7.0.3
GHC in the ports tree has been updated to 7.0.3 and all other Haskell ports are also updated to their corresponding Haskell Platform versions, or latest versions. We would like to acknowledge the support of the FreeBSD Donations Team and Eotvos Lorand University, Faculty of Informatics who contributed to the server that we used for testing. We would also like to thank all the testers who tested FreeBSD Haskell ports and provided their feedback. PR: ports/156642 Approved by: tabthorpe (mentor) Obtained from: FreeBSD Haskell
Diffstat (limited to 'www/hs-http-server')
-rw-r--r--www/hs-http-server/Makefile5
-rw-r--r--www/hs-http-server/pkg-plist20
2 files changed, 4 insertions, 21 deletions
diff --git a/www/hs-http-server/Makefile b/www/hs-http-server/Makefile
index 9d5c4b29bc52..a68110e7e8a3 100644
--- a/www/hs-http-server/Makefile
+++ b/www/hs-http-server/Makefile
@@ -7,13 +7,16 @@
PORTNAME= http-server
PORTVERSION= 1
+PORTREVISION= 1
CATEGORIES= www haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= A library for writing Haskell web servers
+LICENSE= BSD
+
CABAL_SETUP= Setup.hs
-USE_HACKAGE= HTTP>=4000.0.7 mime>=0.3 url>=2 utf8-string>=0.3.4
+USE_CABAL= HTTP>=4000.0.7 mime>=0.3 network>=2 url>=2 utf8-string>=0.3.4
PORTEXAMPLES= *
INSTALL_PORTEXAMPLES= cd ${WRKSRC}/example && \
diff --git a/www/hs-http-server/pkg-plist b/www/hs-http-server/pkg-plist
deleted file mode 100644
index dbb52486544d..000000000000
--- a/www/hs-http-server/pkg-plist
+++ /dev/null
@@ -1,20 +0,0 @@
-@comment $FreeBSD$
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HS%%PORTNAME%%-%%PORTVERSION%%.o
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/HTTP/Server.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/HTTP/Server/HtmlForm.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/HTTP/Server/Logger.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/HTTP/Server/Response.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/HTTP/Server/Utils.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHS%%PORTNAME%%-%%PORTVERSION%%.a
-%%LIBDIR_REL%%/register.sh
-%%NOPORTDOCS%%%%DOCSDIR%%/LICENSE
-%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%%
-@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/HTTP/Server
-@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/HTTP
-@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network
-@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%
-@dirrm %%LIBDIR_REL%%
-@exec /bin/sh %D/%%LIBDIR_REL%%/register.sh
-@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
-@unexec %D/bin/ghc-pkg unregister %%PORTNAME%%-%%PORTVERSION%%
-@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old