blob: 17bbe730654f4afff1bd7e51527f68370393a004 (
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
44
45
46
47
48
49
50
51
|
#
# $NetBSD: Makefile,v 1.27 2004/04/18 13:53:40 seb Exp $
#
# FreeBSD Id: Makefile,v 1.12 1999/06/28 21:25:07 billf Exp
#
DISTNAME= bind
PKGNAME= bind-${BIND_VERSION}
CATEGORIES= net
MASTER_SITES= ftp://ftp.isc.org/isc/bind/src/${BIND_VERSION}/
DISTFILES= ${DISTNAME}-src.tar.gz ${DISTNAME}-doc.tar.gz
MAINTAINER= tech-pkg@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
WRKSRC= ${WRKDIR}/src
BIND_VERSION= 8.4.4
DIST_SUBDIR= bind/${BIND_VERSION}
EXTRACT_ONLY= ${DISTNAME}-src.tar.gz ${DISTNAME}-doc.tar.gz
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= yes
USE_PKGINSTALL= yes
RCD_SCRIPTS= named
BUILD_DIRS= ${WRKSRC} ${WRKDIR}/doc/man
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
MAKEFLAGS+= MANROFF=cat
MAKEFLAGS+= INSTALL=${INSTALL}
OWN_DIRS_PERMS= ${PKG_SYSCONFDIR}/ndc.d root other 700
.endif
MAKEFLAGS+= PREFIX=${PREFIX:Q}
post-extract:
cd ${WRKDIR}/doc/man && \
${RM} -f *.lst* *~ *.BAK *.CKP *.orig
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/bind8
cd ${WRKDIR}/doc/html && \
${PAX} -rw * ${PREFIX}/share/doc/html/bind8
.include "../../mk/bsd.pkg.mk"
|