aboutsummaryrefslogtreecommitdiff
path: root/devel/pear-XML_XPath
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-12-28 07:55:47 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-12-28 07:55:47 +0000
commit93b7ed7f504a49dd67ffe3ac687750a2cf3de9af (patch)
tree8da4bd11526f4a4c8953d4db2c3e091588172722 /devel/pear-XML_XPath
parent8f2582a5696b97b61eaf3829d827c8b0ba5bc289 (diff)
downloadports-93b7ed7f504a49dd67ffe3ac687750a2cf3de9af.tar.gz
ports-93b7ed7f504a49dd67ffe3ac687750a2cf3de9af.zip
Notes
Diffstat (limited to 'devel/pear-XML_XPath')
-rw-r--r--devel/pear-XML_XPath/Makefile25
-rw-r--r--devel/pear-XML_XPath/pkg-plist9
2 files changed, 7 insertions, 27 deletions
diff --git a/devel/pear-XML_XPath/Makefile b/devel/pear-XML_XPath/Makefile
index 2d8242423820..e6ddbe425b49 100644
--- a/devel/pear-XML_XPath/Makefile
+++ b/devel/pear-XML_XPath/Makefile
@@ -7,6 +7,7 @@
PORTNAME= XML_XPath
PORTVERSION= 1.2
+PORTREVISION= 1
CATEGORIES= devel www pear
MAINTAINER= ports@FreeBSD.org
@@ -15,27 +16,15 @@ COMMENT= PEAR class provided an XPath/DOM XML manipulation
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"
-
.if defined(PACKAGE_BUILDING)
IGNORE= No package building: The default libraries in the PHP package do not support domxml by default.
.endif
-MANIFEST= common.php error.php result.php
-
-do-install:
- @${MKDIR} ${PEARDIR}/XPath
- @${CP} -p ${WRKSRC}/XPath.php ${PEARDIR}
-.for FILE in ${MANIFEST}
- @${CP} -p ${WRKSRC}/XPath/${FILE} ${PEARDIR}/XPath
-.endfor
- @${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/XPath.php
- @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/XPath
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${CP} -p ${WRKSRC}/docs/XML_XPath_example.php ${DOCSDIR}
- @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
-.endif
+CATEGORY= XML
+FILES= XPath.php XPath/common.php XPath/error.php XPath/result.php
+EXAMPLES= XML_XPath_example.php
+_EXAMPLESDIR= docs
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
.include <bsd.port.post.mk>
diff --git a/devel/pear-XML_XPath/pkg-plist b/devel/pear-XML_XPath/pkg-plist
deleted file mode 100644
index 1cfe7c12589b..000000000000
--- a/devel/pear-XML_XPath/pkg-plist
+++ /dev/null
@@ -1,9 +0,0 @@
-%%PEARDIR%%/XPath.php
-%%PEARDIR%%/XPath/common.php
-%%PEARDIR%%/XPath/error.php
-%%PEARDIR%%/XPath/result.php
-%%PKGREGDIR%%/package.xml
-%%PORTDOCS%%%%PEARDIR%%/docs/XML_XPath/XML_XPath_example.php
-@dirrm %%PEARDIR%%/XPath
-@dirrm %%PKGREGDIR%%
-%%PORTDOCS%%@dirrm %%PEARDIR%%/docs/XML_XPath