From d9bf9ebd1c4d0cf9334ca40c2f585d4d17f70bdf Mon Sep 17 00:00:00 2001 From: jlam Date: Tue, 28 Jan 2003 22:03:00 +0000 Subject: 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 . --- devel/p4d/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'devel/p4d') 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" -- cgit v1.2.3