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 /net/bind8 | |
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 'net/bind8')
-rw-r--r-- | net/bind8/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/bind8/Makefile b/net/bind8/Makefile index b93cf224ef8..cfc6dee0e9b 100644 --- a/net/bind8/Makefile +++ b/net/bind8/Makefile @@ -1,5 +1,5 @@ # -# $NetBSD: Makefile,v 1.17 2002/12/07 21:35:10 cjep Exp $ +# $NetBSD: Makefile,v 1.18 2003/01/28 22:03:48 jlam Exp $ # # FreeBSD Id: Makefile,v 1.12 1999/06/28 21:25:07 billf Exp # @@ -21,6 +21,8 @@ BIND_VERSION= 8.3.4 DIST_SUBDIR= bind/${BIND_VERSION} EXTRACT_ONLY= ${DISTNAME}-src.tar.gz ${DISTNAME}-doc.tar.gz +USE_PKGINSTALL= yes + .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "Linux" @@ -47,5 +49,4 @@ post-install: (cd ${WRKDIR}/doc/html/; tar Bpcf - .) | (cd ${PREFIX}/share/doc/bind8; tar Bpxf -) ${INSTALL_SCRIPT} ${WRKDIR}/named.sh ${PREFIX}/etc/rc.d/named -.include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" |