aboutsummaryrefslogtreecommitdiff
path: root/devel/pear-XML_Util/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-09-08 00:21:11 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-09-08 00:21:11 +0000
commit82a8dbed15e081b908fa4a2cc0e16fed65b221f3 (patch)
treebe35f3f4d4b8156cf562b923d304e7923ab43ead /devel/pear-XML_Util/Makefile
parente3e72780826503a6f2f43af026c55cea6014234b (diff)
Notes
Diffstat (limited to 'devel/pear-XML_Util/Makefile')
-rw-r--r--devel/pear-XML_Util/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/devel/pear-XML_Util/Makefile b/devel/pear-XML_Util/Makefile
new file mode 100644
index 000000000000..ab824f122b64
--- /dev/null
+++ b/devel/pear-XML_Util/Makefile
@@ -0,0 +1,38 @@
+# Ports collection makefile for: pear-XML_Util
+# Date created: 03 September 2003
+# Whom: Alex Miller (<asm@asm.kiev.ua>)
+#
+# $FreeBSD$
+#
+
+PORTNAME= XML_Util
+PORTVERSION= 0.2
+CATEGORIES= devel www
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= PEAR XML utility class
+
+BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+.include <bsd.port.pre.mk>
+.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+
+TESTDIR= ${PEARDIR}/tests/${PORTNAME}
+
+do-install:
+ @${MKDIR} ${PEARDIR}/XML
+ @${CP} -p ${WRKSRC}/Util.php ${PEARDIR}/XML
+ @${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/XML/Util.php
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${CP} -Rp ${WRKSRC}/apidoc/* ${DOCSDIR}
+ @${MKDIR} ${TESTDIR}
+ @${CP} -Rp ${WRKSRC}/examples/* ${TESTDIR}
+ @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${TESTDIR}
+ @${ECHO_MSG} "===> Examples installed in ${TESTDIR}."
+ @${ECHO_MSG} " (These tests require PHPUnit - see"
+ @${ECHO_MSG} " <http://pear.php.net/package-info.php?package=PHPUnit>;;)."
+.endif
+
+.include <bsd.port.post.mk>