![]() ![]() | ![]() |
File: [cvs.NetBSD.org] / pkgsrc / www / php-FastTemplate / Attic / Makefile (download)
Revision 1.10, Fri Jun 2 18:28:00 2006 UTC (17 years, 6 months ago) by joerg
Rename all PHP 4 packages to php4-*, all PHP 5 packages to php5-*, all PEAR packages to php?-pear-* and all Apache packages to ap13-* or ap2-* respectively. Add new variables to simplify the Makefile handling. Add CONFLICTS on the old names. Reset revisions of bumped packages. ap-php will now depend on the default Apache and PHP version. All programs using it have an implicit option of the Apache version as well. OK from jlam@ and adrianp@. |
# $NetBSD: Makefile,v 1.10 2006/06/02 18:28:00 joerg Exp $ DISTNAME= FastTemplate-1_1_0 PKGNAME= ${PHP_PKG_PREFIX}-FastTemplate-1.1.0 CATEGORIES= www php4 MASTER_SITES= http://www.thewebmasters.net/php/ PATCHFILES= php4.diff PATCH_SITES= http://www.thewebmasters.net/php/FastTemplate/ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.thewebmasters.net/php/FastTemplate.phtml COMMENT= PHP extension for managing templates and variable interpolation CONFLICTS= php-FastTemplate-[0-9] PHP_VERSIONS_ACCEPTED= 4 WRKSRC= ${WRKDIR}/FastTemplate DIST_SUBDIR= ${PKGBASE} NO_BUILD= YES PHP_LIB_SUBDIR= lib/php PHP_LIB_DIR= ${PREFIX}/${PHP_LIB_SUBDIR} DOCDIR= ${PREFIX}/share/doc/html/${PKGBASE} EGDIR= ${PREFIX}/share/examples/${PKGBASE} PLIST_SUBST+= PHP_LIB_SUBDIR=${PHP_LIB_SUBDIR:Q} PLIST_SUBST+= PKGBASE=${PKGBASE:Q} do-install: ${INSTALL_DATA_DIR} ${PHP_LIB_DIR} ${INSTALL_DATA_DIR} ${DOCDIR} ${INSTALL_DATA_DIR} ${EGDIR}/templates ${INSTALL_DATA} ${WRKSRC}/class.FastTemplate.php3 ${PHP_LIB_DIR} ${INSTALL_DATA} ${WRKSRC}/docs/FastTemplate.html ${DOCDIR} cd ${WRKSRC}; for file in *.phtml; do \ dest=${EGDIR}/`${BASENAME} $${file} .phtml`.php; \ ${INSTALL_DATA} $${file} $${dest}; \ done ${INSTALL_DATA} ${WRKSRC}/templates/*.tpl ${EGDIR}/templates .include "../../lang/php/phpversion.mk" .include "../../mk/bsd.pkg.mk"