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 /devel/p4d | |
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 'devel/p4d')
-rw-r--r-- | devel/p4d/Makefile | 5 |
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" |