summaryrefslogtreecommitdiff
path: root/net/bind8/Makefile
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2001-12-24 14:10:54 +0000
committerabs <abs@pkgsrc.org>2001-12-24 14:10:54 +0000
commitd82fbf3818b9c3be665f76ee9a7a743e670fce28 (patch)
tree9a8883eb6368c47174700b6c786835390dd3127c /net/bind8/Makefile
parent9f879c0ee115bcabc8fec0d71cbd3c9e82ef96bc (diff)
downloadpkgsrc-d82fbf3818b9c3be665f76ee9a7a743e670fce28.tar.gz
Updated bind8 to 8.2.4nb1:
Include a basic rc.d script (based on apache), and fixup installed paths for Linux
Diffstat (limited to 'net/bind8/Makefile')
-rw-r--r--net/bind8/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/net/bind8/Makefile b/net/bind8/Makefile
index 5d22dbc3c8d..9839ef12c09 100644
--- a/net/bind8/Makefile
+++ b/net/bind8/Makefile
@@ -1,11 +1,12 @@
#
-# $NetBSD: Makefile,v 1.8 2001/05/17 18:56:03 itojun Exp $
+# $NetBSD: Makefile,v 1.9 2001/12/24 14:10:54 abs Exp $
#
# FreeBSD Id: Makefile,v 1.12 1999/06/28 21:25:07 billf Exp
#
DISTNAME= bind
PKGNAME= bind-8.2.4
+PKGREVISION= 1
WRKSRC= ${WRKDIR}/src
CATEGORIES= net
MASTER_SITES= ftp://ftp.isc.org/isc/bind/src/8.2.4/
@@ -20,12 +21,23 @@ Y2K= http://www.isc.org/ISC/y2k.html
DIST_SUBDIR= bind/8.2.4
EXTRACT_ONLY= ${DISTNAME}-src.tar.gz ${DISTNAME}-doc.tar.gz
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Linux"
+PLIST_SRC= ${PKGDIR}/PLIST-Linux
+.endif
+
post-build:
@(cd ${WRKDIR}/doc/man && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} clean all)
+pre-install:
+ ${SED} ${FILES_SUBST_SED} ${FILESDIR}/named.sh > ${WRKDIR}/named.sh
+
post-install:
@(cd ${WRKDIR}/doc/man && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bind8
(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.mk"
+.include "../../mk/bsd.pkg.install.mk"