aboutsummaryrefslogtreecommitdiff
path: root/devel/pear-HTML_Template_PHPLIB
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-HTML_Template_PHPLIB
parent8f2582a5696b97b61eaf3829d827c8b0ba5bc289 (diff)
downloadports-93b7ed7f504a49dd67ffe3ac687750a2cf3de9af.tar.gz
ports-93b7ed7f504a49dd67ffe3ac687750a2cf3de9af.zip
Notes
Diffstat (limited to 'devel/pear-HTML_Template_PHPLIB')
-rw-r--r--devel/pear-HTML_Template_PHPLIB/Makefile23
-rw-r--r--devel/pear-HTML_Template_PHPLIB/pkg-plist11
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