aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lang/ghc/bsd.hackage.mk1
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/hs-csv/Makefile22
-rw-r--r--textproc/hs-csv/distinfo2
-rw-r--r--textproc/hs-csv/pkg-descr6
5 files changed, 32 insertions, 0 deletions
diff --git a/lang/ghc/bsd.hackage.mk b/lang/ghc/bsd.hackage.mk
index 5ea12d96343..518d5383e8b 100644
--- a/lang/ghc/bsd.hackage.mk
+++ b/lang/ghc/bsd.hackage.mk
@@ -51,6 +51,7 @@ convertible_port= devel/hs-convertible
cpphs_port= devel/hs-cpphs # executable
criterion_port= benchmarks/hs-criterion
Crypto_port= security/hs-Crypto
+csv_port= textproc/hs-csv
curl_port= ftp/hs-curl
darcs_port= devel/hs-darcs # executable
data-default_port= devel/hs-data-default
diff --git a/textproc/Makefile b/textproc/Makefile
index 175c885719b..402fb6527b8 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -241,6 +241,7 @@
SUBDIR += hs-bytestring-csv
SUBDIR += hs-case-insensitive
SUBDIR += hs-citeproc-hs
+ SUBDIR += hs-csv
SUBDIR += hs-double-conversion
SUBDIR += hs-feed
SUBDIR += hs-highlighting-kate
diff --git a/textproc/hs-csv/Makefile b/textproc/hs-csv/Makefile
new file mode 100644
index 00000000000..572b2232d1d
--- /dev/null
+++ b/textproc/hs-csv/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: hs-csv
+# Date created: 11 August 2011
+# Whom: Kaspars Bankovskis <kaspars@bankovskis.lv>
+#
+# $FreeBSD$
+#
+
+PORTNAME= csv
+PORTVERSION= 0.1.2
+CATEGORIES= textproc haskell
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= A CSV library for Haskell
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+CABAL_SETUP= Setup.hs
+USE_CABAL= parsec
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
diff --git a/textproc/hs-csv/distinfo b/textproc/hs-csv/distinfo
new file mode 100644
index 00000000000..17dfba59eae
--- /dev/null
+++ b/textproc/hs-csv/distinfo
@@ -0,0 +1,2 @@
+SHA256 (cabal/csv-0.1.2.tar.gz) = 8cf43442325faa1368f9b55ad952beccf677d9980cdffa3d70a7f204a23ae600
+SIZE (cabal/csv-0.1.2.tar.gz) = 2923
diff --git a/textproc/hs-csv/pkg-descr b/textproc/hs-csv/pkg-descr
new file mode 100644
index 00000000000..248148240c3
--- /dev/null
+++ b/textproc/hs-csv/pkg-descr
@@ -0,0 +1,6 @@
+This library parses and dumps documents that are formatted according to
+RFC 4180, "The common Format and MIME Type for Comma-Separated Values
+(CSV) Files". This format is used, among many other things, as a lingua
+franca for spreadsheets, and for certain web services.
+
+WWW: http://hackage.haskell.org/package/csv