aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2012-01-26 19:18:51 +0800
committerpav <pav@FreeBSD.org>2012-01-26 19:18:51 +0800
commit8c5e0793188e5bbbf00a6ed44f4fa4480c24f509 (patch)
treede21d6cb700408c37227fad6cd6e2f0f33f30fee /textproc
parent3a7304aa9281f789c5922f5bb0b896eb4c76ca43 (diff)
downloadfreebsd-ports-gnome-8c5e0793188e5bbbf00a6ed44f4fa4480c24f509.tar.gz
freebsd-ports-gnome-8c5e0793188e5bbbf00a6ed44f4fa4480c24f509.tar.zst
freebsd-ports-gnome-8c5e0793188e5bbbf00a6ed44f4fa4480c24f509.zip
- Update pure to 0.51 and update modules
PR: ports/161799 Submitted by: Zhihao Yuan <lichray@gmail.com> (maintainer)
Diffstat (limited to 'textproc')
-rw-r--r--textproc/pure-csv/Makefile18
-rw-r--r--textproc/pure-csv/distinfo4
-rw-r--r--textproc/pure-xml/Makefile22
-rw-r--r--textproc/pure-xml/distinfo4
4 files changed, 13 insertions, 35 deletions
diff --git a/textproc/pure-csv/Makefile b/textproc/pure-csv/Makefile
index ee82af5f2dd4..6be64e2fd7c5 100644
--- a/textproc/pure-csv/Makefile
+++ b/textproc/pure-csv/Makefile
@@ -6,24 +6,18 @@
#
PORTNAME= pure-csv
-PORTVERSION= 1.4
+PORTVERSION= 1.5
CATEGORIES= textproc
-MASTER_SITES= http://pure-lang.googlecode.com/files/
MAINTAINER= lichray@gmail.com
COMMENT= A CSV reading and writing module for the Pure language
-LIB_DEPENDS+= pure:${PORTSDIR}/lang/pure
-
-LICENSE_FILE= ${WRKSRC}/COPYING
+USE_PURE= yes
+NO_PURE_EXAMPLES= yes
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>
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/lang/pure/bsd.pure.mk"
+.include <bsd.port.post.mk>
diff --git a/textproc/pure-csv/distinfo b/textproc/pure-csv/distinfo
index 34ce5f656e93..1854d5541cb5 100644
--- a/textproc/pure-csv/distinfo
+++ b/textproc/pure-csv/distinfo
@@ -1,2 +1,2 @@
-SHA256 (pure-csv-1.4.tar.gz) = 9b61f9c73a23a710ab9c77e039480d5fbf0a55e11c1a2dbeb9846411a1c68880
-SIZE (pure-csv-1.4.tar.gz) = 26549
+SHA256 (pure/pure-csv-1.5.tar.gz) = 996a499dc2f0a4e537b420b3c754f4d8a7af74a43f4afb46e67701f866edaa7c
+SIZE (pure/pure-csv-1.5.tar.gz) = 26670
diff --git a/textproc/pure-xml/Makefile b/textproc/pure-xml/Makefile
index 26ba3eb337c8..1e9bbf7dbc07 100644
--- a/textproc/pure-xml/Makefile
+++ b/textproc/pure-xml/Makefile
@@ -7,34 +7,18 @@
PORTNAME= pure-xml
PORTVERSION= 0.6
+PORTREVISION= 1
CATEGORIES= textproc
-MASTER_SITES= http://pure-lang.googlecode.com/files/
MAINTAINER= lichray@gmail.com
COMMENT= Pure language interface for libxml2 and libxslt
-LIB_DEPENDS= pure.7:${PORTSDIR}/lang/pure
-
-LICENSE_FILE= ${WRKSRC}/COPYING
-
-USE_GCC= 4.2+
-USE_GMAKE= yes
+USE_PURE= yes
USE_GNOME= libxml2 libxslt
PLIST_FILES= lib/pure/xml.pure \
lib/pure/xml.so
-MAKE_ARGS+= prefix=${PREFIX} CPPFLAGS+=-I${LOCALBASE}/include \
- LDFLAGS+=-L${LOCALBASE}/lib CFLAGS="${CFLAGS}"
-
-PORTEXAMPLES= *
-
.include <bsd.port.pre.mk>
-
-post-install:
-.if !defined(NOPORTEXAMPLES)
- @${MKDIR} ${EXAMPLESDIR}
- (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
-.endif
-
+.include "${PORTSDIR}/lang/pure/bsd.pure.mk"
.include <bsd.port.post.mk>
diff --git a/textproc/pure-xml/distinfo b/textproc/pure-xml/distinfo
index 24d1a29bb818..cfe45bbe6754 100644
--- a/textproc/pure-xml/distinfo
+++ b/textproc/pure-xml/distinfo
@@ -1,2 +1,2 @@
-SHA256 (pure-xml-0.6.tar.gz) = f00b6b04688fc5e0ae41a5731176b8e471a3af10fcad61396caf812a64848899
-SIZE (pure-xml-0.6.tar.gz) = 50909
+SHA256 (pure/pure-xml-0.6.tar.gz) = 309d2356c069d8f7571ac1b86496549536adf38cba4ac68a2a38f22795ce27e7
+SIZE (pure/pure-xml-0.6.tar.gz) = 51723