aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorashish <ashish@FreeBSD.org>2011-09-06 11:13:38 +0800
committerashish <ashish@FreeBSD.org>2011-09-06 11:13:38 +0800
commitfb377d9a30ea882130ba592ec833e83a5d9aac6c (patch)
treed7640bb9975be2b9e27912d8757774e459aef436
parentb439523d2cad62c667846b68e07bf27a350f542e (diff)
downloadfreebsd-ports-gnome-fb377d9a30ea882130ba592ec833e83a5d9aac6c.tar.gz
freebsd-ports-gnome-fb377d9a30ea882130ba592ec833e83a5d9aac6c.tar.zst
freebsd-ports-gnome-fb377d9a30ea882130ba592ec833e83a5d9aac6c.zip
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>
-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 5ea12d96343f..518d5383e8b6 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 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