aboutsummaryrefslogtreecommitdiff
path: root/textproc/pure-csv
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2013-11-06 22:50:21 +0000
committerXin LI <delphij@FreeBSD.org>2013-11-06 22:50:21 +0000
commitbc0d646198e21b9653ddde161dcdd059533a7d9a (patch)
treef4ca39f0f94b1fc725562cca278474e325706ee3 /textproc/pure-csv
parentae3e5e966b6d57cfc253af140717fe2208286c6b (diff)
Update to 0.57.
PR: ports/179390 Submitted by: nemysis Approved by: maintainer
Notes
Notes: svn path=/head/; revision=333045
Diffstat (limited to 'textproc/pure-csv')
-rw-r--r--textproc/pure-csv/Makefile22
-rw-r--r--textproc/pure-csv/pkg-descr2
2 files changed, 19 insertions, 5 deletions
diff --git a/textproc/pure-csv/Makefile b/textproc/pure-csv/Makefile
index 1efcd6b3e0e5..839f4564be7e 100644
--- a/textproc/pure-csv/Makefile
+++ b/textproc/pure-csv/Makefile
@@ -3,17 +3,31 @@
PORTNAME= pure-csv
PORTVERSION= 1.5
+PORTREVISION= 1
CATEGORIES= textproc
+MASTER_SITES= https://cdn.bitbucket.org/purelang/pure-lang/downloads/
+DIST_SUBDIR= pure
MAINTAINER= lichray@gmail.com
-COMMENT= A CSV reading and writing module for the Pure language
+COMMENT= CSV reading and writing module for the Pure language
-USE_PURE= yes
-NO_PURE_EXAMPLES= yes
+LICENSE= BSD
+
+USES= pure
PLIST_FILES= lib/pure/csv.pure \
lib/pure/csv.so
NO_STAGE= yes
-.include "${.CURDIR}/../../lang/pure/bsd.pure.mk"
+
+PORTDOCS= README
+
+.include <bsd.port.options.mk>
+
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
+
.include <bsd.port.mk>
diff --git a/textproc/pure-csv/pkg-descr b/textproc/pure-csv/pkg-descr
index 7d76ed23a789..5f2d72490832 100644
--- a/textproc/pure-csv/pkg-descr
+++ b/textproc/pure-csv/pkg-descr
@@ -1,4 +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
+WWW: http://docs.pure-lang.googlecode.com/hg/pure-csv.html