aboutsummaryrefslogtreecommitdiffstats
path: root/devel/pear-HTML_Template_PHPLIB
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-12-28 15:55:47 +0800
committeredwin <edwin@FreeBSD.org>2003-12-28 15:55:47 +0800
commitd1c66c82a563be8eb2f4c7b6e96c75d3adb7eb1c (patch)
tree84003698ad2fd8363cbe0ecd528aef690cbacd97 /devel/pear-HTML_Template_PHPLIB
parente77dff7e6230eea7acc0d504c3c918517180e95a (diff)
downloadfreebsd-ports-gnome-d1c66c82a563be8eb2f4c7b6e96c75d3adb7eb1c.tar.gz
freebsd-ports-gnome-d1c66c82a563be8eb2f4c7b6e96c75d3adb7eb1c.tar.zst
freebsd-ports-gnome-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-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