summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorAshish SHUKLA <ashish@FreeBSD.org>2011-09-06 03:13:38 +0000
committerAshish SHUKLA <ashish@FreeBSD.org>2011-09-06 03:13:38 +0000
commit1f79b231d2377e8ceb230b779e9fa045600b1609 (patch)
tree1690522a185d727e2ab08e6a814a6f24fe095ac7 /textproc
parent- Update to 0.17 (diff)
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 PR: ports/159689 Submitted by: Kaspars Bankovskis <kaspars@bankovskis.lv>
Diffstat (limited to 'textproc')
-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
4 files changed, 31 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 175c885719b5..402fb6527b8b 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 000000000000..572b2232d1d6
--- /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 000000000000..17dfba59eaeb
--- /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 000000000000..248148240c3e
--- /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