summaryrefslogtreecommitdiff
path: root/net/bind8
diff options
context:
space:
mode:
authorjlam <jlam>2003-01-28 22:03:00 +0000
committerjlam <jlam>2003-01-28 22:03:00 +0000
commit0888156f21e01be033066b564dc798018954d33c (patch)
treed3bbe0e3f34c0d0b96c3bf5abf2964293c181c7b /net/bind8
parent3782ed07f81d21f716d6f09001f4d66a5c4f8784 (diff)
downloadpkgsrc-0888156f21e01be033066b564dc798018954d33c.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/Makefile5
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"