mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
a804e7d6c4
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>
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
# 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>
|