# Ports collection makefile for: pear-HTML_Template_PHPLIB
# Date created: 04 September 2003
# Whom: Alex Miller ()
#
# $FreeBSD$
#
PORTNAME= HTML_Template_PHPLIB
PORTVERSION= 1.5.0
CATEGORIES= devel www pear
MAINTAINER= bg1tpt@gmail.com
COMMENT= PEAR template API ported from PHPLIB
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
RUN_DEPENDS= ${BUILD_DEPENDS}
SCRIPTFILES= html_template_phplibtool
FILES= HTML/Template/PHPLIB.php HTML/Template/PHPLIB/Generator.php \
HTML/Template/PHPLIB/Helper.php \
HTML/Template/PHPLIB/Tool.php \
HTML/Template/PHPLIB/Validator.php
DOCS= README
EXAMPLES= authors.php authors.tpl block.ihtml block.php broken.tpl ittest.php tpl1.ihtml tpl1.php
_DOCSDIR= examples
TESTS= AllTests.php HTML_Template_PHPLIBTest.php \
HTML_Template_PHPLIB_GeneratorTest.php \
HTML_Template_PHPLIB_HelperTest.php \
HTML_Template_PHPLIB_ValidatorTest.php \
templates/block.tpl templates/block2.tpl templates/block3.tpl \
templates/simple.tpl templates/simple2.tpl
post-patch:
.for _FILE in ${SCRIPTFILES}
${MV} ${WRKSRC}/bin/${_FILE} ${WRKSRC}/pear-${_FILE}
.endfor
do-install-tests-msg: .USE
@${ECHO_MSG} " (These tests require PEAR::Benchmark - see"
@${ECHO_MSG} " ;;;)."
@${ECHO_MSG} " (These tests also require PEAR::PHPUnit - see"
@${ECHO_MSG} " ;;;)."
.include
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
.include