aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2013-11-07 06:50:21 +0800
committerdelphij <delphij@FreeBSD.org>2013-11-07 06:50:21 +0800
commite152fec3d3565ef13abcbeb42f37c47f2788e9ca (patch)
treef4ca39f0f94b1fc725562cca278474e325706ee3 /textproc
parent43af442547bb63fc6c7117fbc9d483374293c063 (diff)
downloadfreebsd-ports-gnome-e152fec3d3565ef13abcbeb42f37c47f2788e9ca.tar.gz
freebsd-ports-gnome-e152fec3d3565ef13abcbeb42f37c47f2788e9ca.tar.zst
freebsd-ports-gnome-e152fec3d3565ef13abcbeb42f37c47f2788e9ca.zip
Update to 0.57.
PR: ports/179390 Submitted by: nemysis Approved by: maintainer
Diffstat (limited to 'textproc')
-rw-r--r--textproc/pure-csv/Makefile22
-rw-r--r--textproc/pure-csv/pkg-descr2
-rw-r--r--textproc/pure-xml/Makefile28
-rw-r--r--textproc/pure-xml/pkg-descr2
4 files changed, 45 insertions, 9 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
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 <bsd.port.options.mk>
+
+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 <bsd.port.mk>
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