From d1c66c82a563be8eb2f4c7b6e96c75d3adb7eb1c Mon Sep 17 00:00:00 2001 From: edwin Date: Sun, 28 Dec 2003 07:55:47 +0000 Subject: [PATCH] simplify pear-* ports These patches do the following things for PEAR ports: * devel-pear-PEAR-Makefile.common.patch - provides a do-install target and all that jazz in devel/pear-PEAR/Makefile.common - individual PEAR ports now just set a few variables: * pear-ports-Makefile.common-ng.patch contains changes for all pear-* ports including devel/pear-PEAR See http://smradoch.innuendo.cz/FreeBSD/ for complete description. Note: still missing are: devel/pear-HTML_Common devel/pear-I18N net/pear-Net_NNTP security/pear-Auth PR: ports/59213 Submitted by: Roman Neuhauser --- devel/pear-XML_XPath/Makefile | 25 +++++++------------------ devel/pear-XML_XPath/pkg-plist | 9 --------- 2 files changed, 7 insertions(+), 27 deletions(-) delete mode 100644 devel/pear-XML_XPath/pkg-plist (limited to 'devel/pear-XML_XPath') diff --git a/devel/pear-XML_XPath/Makefile b/devel/pear-XML_XPath/Makefile index 2d82424..e6ddbe4 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 -.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 +.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common" .include diff --git a/devel/pear-XML_XPath/pkg-plist b/devel/pear-XML_XPath/pkg-plist deleted file mode 100644 index 1cfe7c1..0000000 --- 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 -- cgit v1.1