summaryrefslogtreecommitdiffstats
path: root/converters/hs-dataenc
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 /converters/hs-dataenc
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
Diffstat (limited to 'converters/hs-dataenc')
-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
4 files changed, 68 insertions, 0 deletions
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
OpenPOWER on IntegriCloud