aboutsummaryrefslogtreecommitdiff
path: root/textproc/pure-xml/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/pure-xml/Makefile')
-rw-r--r--textproc/pure-xml/Makefile22
1 files changed, 3 insertions, 19 deletions
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>