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 <asm@asm.kiev.ua>
This commit is contained in:
Edwin Groothuis 2003-09-08 02:13:02 +00:00
parent 69a27faf05
commit a804e7d6c4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=88717
5 changed files with 55 additions and 0 deletions

View file

@ -800,6 +800,7 @@
SUBDIR += pear-HTML_Common
SUBDIR += pear-HTML_Select_Common
SUBDIR += pear-HTML_Template_IT
SUBDIR += pear-HTML_Template_PHPLIB
SUBDIR += pear-I18N
SUBDIR += pear-PEAR
SUBDIR += pear-XML_Parser

View file

@ -0,0 +1,36 @@
# Ports collection makefile for: pear-HTML_Template_PHPLIB
# Date created: 04 September 2003
# Whom: Alex Miller (<asm@asm.kiev.ua>)
#
# $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 <bsd.port.pre.mk>
.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} " <http://pear.php.net/package-info.php?package=Benchmark>;;;)."
.endif
.include <bsd.port.post.mk>

View file

@ -0,0 +1 @@
MD5 (PEAR/HTML_Template_PHPLIB-1.3.1.tgz) = eb44701e8e423a79c695116eb966ca4d

View file

@ -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

View file

@ -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