diff options
author | jlam <jlam@pkgsrc.org> | 2003-01-28 22:03:00 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2003-01-28 22:03:00 +0000 |
commit | d7f69e47ce32be7271733bcdf48d28468f400ab9 (patch) | |
tree | d3bbe0e3f34c0d0b96c3bf5abf2964293c181c7b /www/php3 | |
parent | 63fd8d49cc206089921ed7d972b87faff07efbe6 (diff) | |
download | pkgsrc-d7f69e47ce32be7271733bcdf48d28468f400ab9.tar.gz |
Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES". This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile. Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
Diffstat (limited to 'www/php3')
-rw-r--r-- | www/php3/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www/php3/Makefile b/www/php3/Makefile index a50a4e52de6..07024e53517 100644 --- a/www/php3/Makefile +++ b/www/php3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.38 2002/10/23 06:09:41 jlam Exp $ +# $NetBSD: Makefile,v 1.39 2003/01/28 22:04:30 jlam Exp $ PKGNAME= php-${BASE_VERS} PKGREVISION?= 2 @@ -20,6 +20,7 @@ CGIDIR= ${PREFIX}/libexec/cgi-bin EGDIR= ${PREFIX}/share/examples/php3 DATADIR= ${PREFIX}/share/php3 +USE_PKGINSTALL= yes OWN_DIRS= ${PREFIX}/${PHP_EXTENSION_DIR} CONF_FILES= ${EGDIR}/php3.ini.example ${PKG_SYSCONFDIR}/php3.ini @@ -39,5 +40,4 @@ do-install: cd ${WRKSRC}/examples; ${INSTALL_DATA} README* *.php3 ${EGDIR} ${INSTALL_DATA} ${WRKDIR}/php3.ini.example ${EGDIR} -.include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" |