diff options
author | jlam <jlam> | 2003-01-28 22:03:00 +0000 |
---|---|---|
committer | jlam <jlam> | 2003-01-28 22:03:00 +0000 |
commit | 0888156f21e01be033066b564dc798018954d33c (patch) | |
tree | d3bbe0e3f34c0d0b96c3bf5abf2964293c181c7b /www/php3 | |
parent | 3782ed07f81d21f716d6f09001f4d66a5c4f8784 (diff) | |
download | pkgsrc-0888156f21e01be033066b564dc798018954d33c.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" |