pkgsrc/www/php-FastTemplate/Makefile
jlam 9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00

43 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.9 2006/03/04 21:31:03 jlam Exp $
DISTNAME= FastTemplate-1_1_0
PKGNAME= php-FastTemplate-1.1.0
PKGREVISION= 1
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
DEPENDS+= php>=3.0.18:../../www/php4
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 "../../mk/bsd.pkg.mk"