summaryrefslogtreecommitdiff
path: root/www/php4
diff options
context:
space:
mode:
authorjlam <jlam>2003-01-28 22:03:00 +0000
committerjlam <jlam>2003-01-28 22:03:00 +0000
commitd9bf9ebd1c4d0cf9334ca40c2f585d4d17f70bdf (patch)
treed3bbe0e3f34c0d0b96c3bf5abf2964293c181c7b /www/php4
parentebed1329682fd1c81284e9ee1632af9b987050f0 (diff)
downloadpkgsrc-d9bf9ebd1c4d0cf9334ca40c2f585d4d17f70bdf.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/php4')
-rw-r--r--www/php4/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/php4/Makefile b/www/php4/Makefile
index 3c7da7cdb70..6ab60f41be9 100644
--- a/www/php4/Makefile
+++ b/www/php4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2003/01/08 01:52:43 jlam Exp $
+# $NetBSD: Makefile,v 1.30 2003/01/28 22:04:31 jlam Exp $
PKGNAME= php-${PHP_BASE_VERS}
CATEGORIES+= lang
@@ -7,6 +7,7 @@ COMMENT= HTML-embedded scripting language
CONFLICTS+= ap-php-4.0.3pl1
USE_BUILDLINK2= YES
+USE_PKGINSTALL= YES
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
.include "Makefile.php"
@@ -41,5 +42,4 @@ post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/php
${INSTALL_DATA} ${WRKSRC}/php.gif ${PREFIX}/share/php
-.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"