diff options
author | edwin <edwin@FreeBSD.org> | 2003-12-28 15:55:47 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-12-28 15:55:47 +0800 |
commit | d1c66c82a563be8eb2f4c7b6e96c75d3adb7eb1c (patch) | |
tree | 84003698ad2fd8363cbe0ecd528aef690cbacd97 /devel/pear-XML_XPath | |
parent | e77dff7e6230eea7acc0d504c3c918517180e95a (diff) | |
download | freebsd-ports-graphics-d1c66c82a563be8eb2f4c7b6e96c75d3adb7eb1c.tar.gz freebsd-ports-graphics-d1c66c82a563be8eb2f4c7b6e96c75d3adb7eb1c.tar.zst freebsd-ports-graphics-d1c66c82a563be8eb2f4c7b6e96c75d3adb7eb1c.zip |
[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 <neuhauser@bellavista.cz>
Diffstat (limited to 'devel/pear-XML_XPath')
-rw-r--r-- | devel/pear-XML_XPath/Makefile | 25 | ||||
-rw-r--r-- | devel/pear-XML_XPath/pkg-plist | 9 |
2 files changed, 7 insertions, 27 deletions
diff --git a/devel/pear-XML_XPath/Makefile b/devel/pear-XML_XPath/Makefile index 2d824242382..e6ddbe425b4 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 1cfe7c12589..00000000000 --- 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 |