summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2010-05-15 18:56:33 +0000
committerpgj <pgj@FreeBSD.org>2010-05-15 18:56:33 +0000
commitee0e70a863a3444a40ecb8c97cc3d9d554f90d92 (patch)
treec8f376fc6989033622f724aee2d2ca1671d7cb51
parente2aeea0561fc02817cc3f8fa5c1afb1d9568bf59 (diff)
downloadFreeBSD-ports-ee0e70a863a3444a40ecb8c97cc3d9d554f90d92.zip
FreeBSD-ports-ee0e70a863a3444a40ecb8c97cc3d9d554f90d92.tar.gz
Data encoding library currently providing Base16, Base32, Base32Hex,
Base64, Base64Url, Base85, Python string escaping, Quoted-Printable, URL encoding, uuencode, xxencode, and yEncoding. WWW: http://www.haskell.org/haskellwiki/Library/Data_encoding
-rw-r--r--converters/Makefile1
-rw-r--r--converters/hs-dataenc/Makefile31
-rw-r--r--converters/hs-dataenc/distinfo3
-rw-r--r--converters/hs-dataenc/pkg-descr5
-rw-r--r--converters/hs-dataenc/pkg-plist29
-rw-r--r--lang/ghc/bsd.hackage.mk1
6 files changed, 70 insertions, 0 deletions
diff --git a/converters/Makefile b/converters/Makefile
index 1eda23e..7acd646 100644
--- a/converters/Makefile
+++ b/converters/Makefile
@@ -26,6 +26,7 @@
SUBDIR += fpc-iconvenc
SUBDIR += fribidi
SUBDIR += gbase
+ SUBDIR += hs-dataenc
SUBDIR += hs-json
SUBDIR += htx
SUBDIR += i18ntools
diff --git a/converters/hs-dataenc/Makefile b/converters/hs-dataenc/Makefile
new file mode 100644
index 0000000..00283c6
--- /dev/null
+++ b/converters/hs-dataenc/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: hs-dataenc
+# Date created: May 14, 2010
+# Whom: Gabor Pali <pgj@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dataenc
+PORTVERSION= 0.13.0.2
+CATEGORIES= converters haskell
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= Data encoding library
+
+CABAL_SETUP= Setup.hs
+
+OPTIONS= BUILDTESTS "Build unit and quickcheck tests" off
+
+.include <bsd.port.options.mk>
+
+.if defined(WITH_BUILDTESTS)
+CONFIGURE_ARGS+= --flags="BuildTests"
+EXECUTABLE+= tests
+PLIST_SUB+= MAYBE_BUILDTESTS=""
+.else
+CONFIGURE_ARGS+= --flags="-BuildTests"
+PLIST_SUB+= MAYBE_BUILDTESTS="@comment "
+.endif
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
diff --git a/converters/hs-dataenc/distinfo b/converters/hs-dataenc/distinfo
new file mode 100644
index 0000000..dd56254
--- /dev/null
+++ b/converters/hs-dataenc/distinfo
@@ -0,0 +1,3 @@
+MD5 (dataenc-0.13.0.2.tar.gz) = 65f6e8fdbc0adef572afdacd2c492289
+SHA256 (dataenc-0.13.0.2.tar.gz) = e3d70a3c3d94490244e05c5b11d8455eb6fdbf4849a119bd52bae644fa2b217a
+SIZE (dataenc-0.13.0.2.tar.gz) = 12511
diff --git a/converters/hs-dataenc/pkg-descr b/converters/hs-dataenc/pkg-descr
new file mode 100644
index 0000000..b346991
--- /dev/null
+++ b/converters/hs-dataenc/pkg-descr
@@ -0,0 +1,5 @@
+Data encoding library currently providing Base16, Base32, Base32Hex,
+Base64, Base64Url, Base85, Python string escaping, Quoted-Printable, URL
+encoding, uuencode, xxencode, and yEncoding.
+
+WWW: http://www.haskell.org/haskellwiki/Library/Data_encoding
diff --git a/converters/hs-dataenc/pkg-plist b/converters/hs-dataenc/pkg-plist
new file mode 100644
index 0000000..0057fad
--- /dev/null
+++ b/converters/hs-dataenc/pkg-plist
@@ -0,0 +1,29 @@
+@comment $FreeBSD$
+%%MAYBE_BUILDTESTS%%bin/tests
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Codec/Binary/Base16.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Codec/Binary/Base32.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Codec/Binary/Base32Hex.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Codec/Binary/Base64.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Codec/Binary/Base64Url.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Codec/Binary/Base85.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Codec/Binary/DataEncoding.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Codec/Binary/PythonString.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Codec/Binary/QuotedPrintable.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Codec/Binary/Url.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Codec/Binary/Util.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Codec/Binary/Uu.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Codec/Binary/Xx.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Codec/Binary/Yenc.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HS%%PORTNAME%%-%%PORTVERSION%%.o
+%%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%%/Codec/Binary
+@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Codec
+@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
diff --git a/lang/ghc/bsd.hackage.mk b/lang/ghc/bsd.hackage.mk
index a3a183f..a931b36 100644
--- a/lang/ghc/bsd.hackage.mk
+++ b/lang/ghc/bsd.hackage.mk
@@ -27,6 +27,7 @@ checkers_port= devel/hs-checkers
convertible_port= devel/hs-convertible
cpphs_port= devel/hs-cpphs # executable
criterion_port= benchmarks/hs-criterion
+dataenc_port= converters/hs-dataenc
datetime_port= devel/hs-datetime
DeepArrow_port= devel/hs-DeepArrow
deepseq_port= devel/hs-deepseq
OpenPOWER on IntegriCloud