aboutsummaryrefslogtreecommitdiff
path: root/converters/hs-dataenc
diff options
context:
space:
mode:
authorGabor Pali <pgj@FreeBSD.org>2010-05-15 18:56:33 +0000
committerGabor Pali <pgj@FreeBSD.org>2010-05-15 18:56:33 +0000
commit568e847da07ab39193a29acbbb39482d6717eb9e (patch)
treea331d1969685f32a097f4ed730eac3e4955d7ae7 /converters/hs-dataenc
parent0a4437f23dfb23490accb08d6226bcd5b1eb2042 (diff)
downloadports-568e847da07ab39193a29acbbb39482d6717eb9e.tar.gz
ports-568e847da07ab39193a29acbbb39482d6717eb9e.zip
Notes
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 000000000000..00283c6059cf
--- /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 000000000000..dd56254619a6
--- /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 000000000000..b34699130d07
--- /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 000000000000..0057fad74506
--- /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