summaryrefslogtreecommitdiff
path: root/devel/p4d
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 /devel/p4d
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 'devel/p4d')
-rw-r--r--devel/p4d/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/p4d/Makefile b/devel/p4d/Makefile
index 90d65fdc573..fa08f66b308 100644
--- a/devel/p4d/Makefile
+++ b/devel/p4d/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2002/09/19 09:04:09 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2003/01/28 22:03:15 jlam Exp $
#
DISTNAME= p4d
@@ -9,6 +9,8 @@ P4BINONLY= # defined
.include "../../devel/p4/Makefile.common"
+USE_PKGINSTALL= yes
+
FILES_SUBST+= P4USER=${P4USER:Q}
FILES_SUBST+= P4ROOT=${P4ROOT:Q}
FILES_SUBST+= P4PORT=${P4PORT:Q}
@@ -30,5 +32,4 @@ P4JOURNAL?= journal
do-install:
${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${PREFIX}/sbin
-.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"