diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-12-28 07:55:47 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-12-28 07:55:47 +0000 |
commit | 93b7ed7f504a49dd67ffe3ac687750a2cf3de9af (patch) | |
tree | 8da4bd11526f4a4c8953d4db2c3e091588172722 /devel/pear-HTML_Template_PHPLIB | |
parent | 8f2582a5696b97b61eaf3829d827c8b0ba5bc289 (diff) | |
download | ports-93b7ed7f504a49dd67ffe3ac687750a2cf3de9af.tar.gz ports-93b7ed7f504a49dd67ffe3ac687750a2cf3de9af.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>
Notes
Notes:
svn path=/head/; revision=96732
Diffstat (limited to 'devel/pear-HTML_Template_PHPLIB')
-rw-r--r-- | devel/pear-HTML_Template_PHPLIB/Makefile | 23 | ||||
-rw-r--r-- | devel/pear-HTML_Template_PHPLIB/pkg-plist | 11 |
2 files changed, 9 insertions, 25 deletions
diff --git a/devel/pear-HTML_Template_PHPLIB/Makefile b/devel/pear-HTML_Template_PHPLIB/Makefile index 98f146ac421e..b6c526c8a2be 100644 --- a/devel/pear-HTML_Template_PHPLIB/Makefile +++ b/devel/pear-HTML_Template_PHPLIB/Makefile @@ -7,6 +7,7 @@ PORTNAME= HTML_Template_PHPLIB PORTVERSION= 1.3.1 +PORTREVISION= 1 CATEGORIES= devel www pear MAINTAINER= ports@FreeBSD.org @@ -15,22 +16,16 @@ COMMENT= PEAR template API ported from PHPLIB 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} +CATEGORY= HTML/Template +FILES= PHPLIB.php +DOCS= README +EXAMPLES= block.ihtml block.php ittest.php tpl1.ihtml tpl1.php +_DOCSDIR= examples -do-install: - @${MKDIR} ${PEARDIR}/HTML/Template - @${CP} -p ${WRKSRC}/PHPLIB.php ${PEARDIR}/HTML/Template - @${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/HTML/Template/PHPLIB.php -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @${CP} -Rp ${WRKSRC}/examples/* ${DOCSDIR} - @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} - @${ECHO_MSG} "===> Examples installed in ${DOCSDIR}." +do-install-tests-msg: .USE @${ECHO_MSG} " (These tests require PEAR::Benchmark - see" @${ECHO_MSG} " <http://pear.php.net/package-info.php?package=Benchmark>;;;)." -.endif +.include <bsd.port.pre.mk> +.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common" .include <bsd.port.post.mk> diff --git a/devel/pear-HTML_Template_PHPLIB/pkg-plist b/devel/pear-HTML_Template_PHPLIB/pkg-plist deleted file mode 100644 index 906000c5d2b6..000000000000 --- a/devel/pear-HTML_Template_PHPLIB/pkg-plist +++ /dev/null @@ -1,11 +0,0 @@ -%%PEARDIR%%/HTML/Template/PHPLIB.php -%%PKGREGDIR%%/package.xml -%%PORTDOCS%%%%PEARDIR%%/docs/HTML_Template_PHPLIB/README -%%PORTDOCS%%%%PEARDIR%%/docs/HTML_Template_PHPLIB/block.ihtml -%%PORTDOCS%%%%PEARDIR%%/docs/HTML_Template_PHPLIB/block.php -%%PORTDOCS%%%%PEARDIR%%/docs/HTML_Template_PHPLIB/ittest.php -%%PORTDOCS%%%%PEARDIR%%/docs/HTML_Template_PHPLIB/tpl1.ihtml -%%PORTDOCS%%%%PEARDIR%%/docs/HTML_Template_PHPLIB/tpl1.php -@dirrm %%PEARDIR%%/HTML/Template -@dirrm %%PKGREGDIR%% -%%PORTDOCS%%@dirrm %%PEARDIR%%/docs/HTML_Template_PHPLIB |