From a804e7d6c4732e644147de61bc24c5796ae50e79 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Mon, 8 Sep 2003 02:13:02 +0000 Subject: New port: PEAR template API ported from PHPLIB The popular Template system from PHPLIB ported to PEAR. It has some features that can't be found currently in the original version like fallback paths. It has minor improvements and cleanup in the code as well as some speed improvements. PR: ports/56443 Submitted by: Alex Miller --- devel/pear-HTML_Template_PHPLIB/Makefile | 36 +++++++++++++++++++++++++++++++ devel/pear-HTML_Template_PHPLIB/distinfo | 1 + devel/pear-HTML_Template_PHPLIB/pkg-descr | 6 ++++++ devel/pear-HTML_Template_PHPLIB/pkg-plist | 11 ++++++++++ 4 files changed, 54 insertions(+) create mode 100644 devel/pear-HTML_Template_PHPLIB/Makefile create mode 100644 devel/pear-HTML_Template_PHPLIB/distinfo create mode 100644 devel/pear-HTML_Template_PHPLIB/pkg-descr create mode 100644 devel/pear-HTML_Template_PHPLIB/pkg-plist (limited to 'devel/pear-HTML_Template_PHPLIB') diff --git a/devel/pear-HTML_Template_PHPLIB/Makefile b/devel/pear-HTML_Template_PHPLIB/Makefile new file mode 100644 index 000000000000..3237c751abae --- /dev/null +++ b/devel/pear-HTML_Template_PHPLIB/Makefile @@ -0,0 +1,36 @@ +# Ports collection makefile for: pear-HTML_Template_PHPLIB +# Date created: 04 September 2003 +# Whom: Alex Miller () +# +# $FreeBSD$ +# + +PORTNAME= HTML_Template_PHPLIB +PORTVERSION= 1.3.1 +CATEGORIES= devel www + +MAINTAINER= ports@FreeBSD.org +COMMENT= PEAR template API ported from PHPLIB + +BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR +RUN_DEPENDS= ${BUILD_DEPENDS} + +.include +.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common" + +TESTDIR= ${PEARDIR}/tests/${PORTNAME} + +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}." + @${ECHO_MSG} " (These tests require PEAR::Benchmark - see" + @${ECHO_MSG} " ;;;)." +.endif + +.include diff --git a/devel/pear-HTML_Template_PHPLIB/distinfo b/devel/pear-HTML_Template_PHPLIB/distinfo new file mode 100644 index 000000000000..372afd886ecf --- /dev/null +++ b/devel/pear-HTML_Template_PHPLIB/distinfo @@ -0,0 +1 @@ +MD5 (PEAR/HTML_Template_PHPLIB-1.3.1.tgz) = eb44701e8e423a79c695116eb966ca4d diff --git a/devel/pear-HTML_Template_PHPLIB/pkg-descr b/devel/pear-HTML_Template_PHPLIB/pkg-descr new file mode 100644 index 000000000000..21feb6aa59c2 --- /dev/null +++ b/devel/pear-HTML_Template_PHPLIB/pkg-descr @@ -0,0 +1,6 @@ +The popular Template system from PHPLIB ported to PEAR. It has some +features that can't be found currently in the original version like +fallback paths. It has minor improvements and cleanup in the code as +well as some speed improvements. + +WWW: http://pear.php.net/package-info.php?package=HTML_Template_PHPLIB diff --git a/devel/pear-HTML_Template_PHPLIB/pkg-plist b/devel/pear-HTML_Template_PHPLIB/pkg-plist new file mode 100644 index 000000000000..906000c5d2b6 --- /dev/null +++ b/devel/pear-HTML_Template_PHPLIB/pkg-plist @@ -0,0 +1,11 @@ +%%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 -- cgit v1.2.3