From e152fec3d3565ef13abcbeb42f37c47f2788e9ca Mon Sep 17 00:00:00 2001 From: delphij Date: Wed, 6 Nov 2013 22:50:21 +0000 Subject: Update to 0.57. PR: ports/179390 Submitted by: nemysis Approved by: maintainer --- textproc/pure-csv/Makefile | 22 ++++++++++++++++++---- textproc/pure-csv/pkg-descr | 2 +- textproc/pure-xml/Makefile | 28 +++++++++++++++++++++++++--- textproc/pure-xml/pkg-descr | 2 +- 4 files changed, 45 insertions(+), 9 deletions(-) (limited to 'textproc') 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 + +post-install: +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} +.endif + .include 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 diff --git a/textproc/pure-xml/Makefile b/textproc/pure-xml/Makefile index 360523e70a3d..0e397b2f04f3 100644 --- a/textproc/pure-xml/Makefile +++ b/textproc/pure-xml/Makefile @@ -3,18 +3,40 @@ PORTNAME= pure-xml PORTVERSION= 0.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc +MASTER_SITES= https://cdn.bitbucket.org/purelang/pure-lang/downloads/ +DIST_SUBDIR= pure MAINTAINER= lichray@gmail.com COMMENT= Pure language interface for libxml2 and libxslt -USE_PURE= yes +LICENSE= GPLv3 LGPL3 +LICENSE_COMB= dual + +USES= pure USE_GNOME= libxml2 libxslt PLIST_FILES= lib/pure/xml.pure \ lib/pure/xml.so NO_STAGE= yes -.include "${.CURDIR}/../../lang/pure/bsd.pure.mk" + +PORTDOCS= README + +PORTEXAMPLES= * + +.include + +post-install: +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} +.endif + +.if ${PORT_OPTIONS:MEXAMPLES} + @${MKDIR} ${EXAMPLESDIR} + @(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR}) +.endif + .include diff --git a/textproc/pure-xml/pkg-descr b/textproc/pure-xml/pkg-descr index 897500b6b31d..7a4d040c5c7a 100644 --- a/textproc/pure-xml/pkg-descr +++ b/textproc/pure-xml/pkg-descr @@ -3,4 +3,4 @@ module provides a simplified interface to the Gnome libxml2 and libxslt libraries, and supplies all the necessary data structures and operations to inspect, create, modify and transform XML documents with ease. -WWW: http://docs.pure-lang.googlecode.com/hg/pure-xml.html +WWW: http://docs.pure-lang.googlecode.com/hg/pure-xml.html -- cgit