blob: b75e2c08e3798e0e26e9c77bd05e2188bc6564bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
#
# $NetBSD: Makefile,v 1.14 2002/06/28 06:03:04 itojun Exp $
#
# FreeBSD Id: Makefile,v 1.12 1999/06/28 21:25:07 billf Exp
#
DISTNAME= bind
PKGNAME= bind-${BIND_VERSION}
WRKSRC= ${WRKDIR}/src
CATEGORIES= net
MASTER_SITES= ftp://ftp.isc.org/isc/bind/src/${BIND_VERSION}/
DISTFILES= ${DISTNAME}-src.tar.gz ${DISTNAME}-doc.tar.gz
MAINTAINER= packages@NetBSD.org
HOMEPAGE= http://www.isc.org/products/BIND/
COMMENT= The Berkeley Internet Name Daemon, an implementation of DNS
Y2K= http://www.isc.org/ISC/y2k.html
BIND_VERSION= 8.3.3
DIST_SUBDIR= bind/${BIND_VERSION}
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.install.mk"
.include "../../mk/bsd.pkg.mk"
|