aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2011-06-27 22:47:00 +0800
committermiwi <miwi@FreeBSD.org>2011-06-27 22:47:00 +0800
commit86bb8dec7da77403de5ce765257a2d7378e9da2a (patch)
tree6ff30bc2734b49a5d20a5e1dd734f14bac10113a /textproc
parent72294d2c1751ec2dcb6f27f1a94e1239e4154532 (diff)
downloadfreebsd-ports-gnome-86bb8dec7da77403de5ce765257a2d7378e9da2a.tar.gz
freebsd-ports-gnome-86bb8dec7da77403de5ce765257a2d7378e9da2a.tar.zst
freebsd-ports-gnome-86bb8dec7da77403de5ce765257a2d7378e9da2a.zip
pure-csv is a module for reading and writing Comma Separated Value (CSV)
files from within Pure. WWW: http://docs.pure-lang.googlecode.com/hg/pure-csv.html PR: ports/156103 Submitted by: Zhihao Yuan <lichray at gmail.com>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/pure-csv/Makefile29
-rw-r--r--textproc/pure-csv/distinfo2
-rw-r--r--textproc/pure-csv/pkg-descr4
4 files changed, 36 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 66d3dfe31ad7..d7c42c5e2c53 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1010,6 +1010,7 @@
SUBDIR += ppower4
SUBDIR += print-n-times
SUBDIR += prosper
+ SUBDIR += pure-csv
SUBDIR += py-4suite
SUBDIR += py-4suite-xml
SUBDIR += py-Chameleon
diff --git a/textproc/pure-csv/Makefile b/textproc/pure-csv/Makefile
new file mode 100644
index 000000000000..f537621ede4e
--- /dev/null
+++ b/textproc/pure-csv/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: pure-csv
+# Date created: 2011-03-18
+# Whom: Zhihao Yuan <lichray@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pure-csv
+PORTVERSION= 1.4
+CATEGORIES= textproc
+MASTER_SITES= http://pure-lang.googlecode.com/files/
+
+MAINTAINER= lichray@gmail.com
+COMMENT= A CSV reading and writing module for the Pure langauge
+
+LIB_DEPENDS+= pure:${PORTSDIR}/lang/pure
+
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+PLIST_FILES= lib/pure/csv.pure \
+ lib/pure/csv.so
+
+USE_GCC= 4.2+
+USE_GMAKE= yes
+
+MAKE_ARGS+= prefix=${PREFIX} CPPFLAGS+=-I${LOCALBASE}/include \
+ LDFLAGS+=-L${LOCALBASE}/lib CFLAGS="${CFLAGS}"
+
+.include <bsd.port.mk>
diff --git a/textproc/pure-csv/distinfo b/textproc/pure-csv/distinfo
new file mode 100644
index 000000000000..34ce5f656e93
--- /dev/null
+++ b/textproc/pure-csv/distinfo
@@ -0,0 +1,2 @@
+SHA256 (pure-csv-1.4.tar.gz) = 9b61f9c73a23a710ab9c77e039480d5fbf0a55e11c1a2dbeb9846411a1c68880
+SIZE (pure-csv-1.4.tar.gz) = 26549
diff --git a/textproc/pure-csv/pkg-descr b/textproc/pure-csv/pkg-descr
new file mode 100644
index 000000000000..7d76ed23a789
--- /dev/null
+++ b/textproc/pure-csv/pkg-descr
@@ -0,0 +1,4 @@
+pure-csv is a module for reading and writing Comma Separated Value (CSV)
+files from within Pure.
+
+WWW: http://docs.pure-lang.googlecode.com/hg/pure-csv.html