aboutsummaryrefslogtreecommitdiff
path: root/converters/hs-json
diff options
context:
space:
mode:
authorAshish SHUKLA <ashish@FreeBSD.org>2011-05-09 05:28:57 +0000
committerAshish SHUKLA <ashish@FreeBSD.org>2011-05-09 05:28:57 +0000
commit0c76a8384fc1de4958eb1228befbee727f00c596 (patch)
tree28680b3da252da7f45a2d25108e4e2a6e41a77e5 /converters/hs-json
parentf2febc81eeab0d296325ecc49e1825762e5cd5d7 (diff)
downloadports-0c76a8384fc1de4958eb1228befbee727f00c596.tar.gz
ports-0c76a8384fc1de4958eb1228befbee727f00c596.zip
Notes
Diffstat (limited to 'converters/hs-json')
-rw-r--r--converters/hs-json/Makefile6
-rw-r--r--converters/hs-json/pkg-plist21
2 files changed, 6 insertions, 21 deletions
diff --git a/converters/hs-json/Makefile b/converters/hs-json/Makefile
index aba5dd61e2b9..d363537915e2 100644
--- a/converters/hs-json/Makefile
+++ b/converters/hs-json/Makefile
@@ -7,12 +7,18 @@
PORTNAME= json
PORTVERSION= 0.4.4
+PORTREVISION= 1
CATEGORIES= converters haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= Support for serialising Haskell to and from JSON
+LICENSE= BSD
+
CABAL_SETUP= Setup.hs
+USE_CABAL= mtl syb
+
+CONFIGURE_ARGS+= --flags="split-base generic -parsec -pretty -mapdict"
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
diff --git a/converters/hs-json/pkg-plist b/converters/hs-json/pkg-plist
deleted file mode 100644
index e905410654af..000000000000
--- a/converters/hs-json/pkg-plist
+++ /dev/null
@@ -1,21 +0,0 @@
-@comment $FreeBSD$
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HS%%PORTNAME%%-%%PORTVERSION%%.o
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/JSON.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/JSON/Generic.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/JSON/Parsec.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/JSON/Pretty.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/JSON/ReadP.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/JSON/String.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/JSON/Types.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%%/Text/JSON
-@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text
-@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