blob: 057c56dcfb1c76ade8b7be4c60635e4b43292294 (
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
|
# $NetBSD: Makefile,v 1.21 2007/01/07 09:14:02 rillig Exp $
#
DISTNAME= bind-4.9.11-REL
PKGNAME= bind-4.9.11
CATEGORIES= net
MASTER_SITES= ftp://ftp.isc.org/isc/bind/src/DEPRECATED/4.9.11/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.isc.org/
COMMENT= The BIND name server, version 4, as an alternative to BIND 8
WRKSRC= ${WRKDIR}
NOT_FOR_PLATFORM= NetBSD-0.*-* NetBSD-1.[0123]*-*
INSTALLATION_DIRS= libexec ${PKGMANDIR}/man8 sbin
post-extract:
@${RM} -f ${WRKSRC}/compat/include/sys/cdefs.h
do-build:
@cd ${WRKSRC}/res && ${MAKE} CDEBUG="${CFLAGS}"
@cd ${WRKSRC}/named && ${MAKE} CDEBUG="${CFLAGS}" PATH_XFER="${PREFIX}/libexec/named4-xfer" COMPLIB=
cd ${WRKSRC}/named && \
${SED} -e 's,/usr/sbin,${PREFIX}/sbin,' -e 's,named ,named4 ,' ndc >ndc4
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/named/named ${PREFIX}/sbin/named4
${INSTALL_PROGRAM} ${WRKSRC}/named/named-xfer ${PREFIX}/libexec/named4-xfer
${INSTALL_SCRIPT} ${WRKSRC}/named/ndc4 ${PREFIX}/sbin/
${INSTALL_MAN} ${WRKSRC}/man/named.8 ${PREFIX}/${PKGMANDIR}/man8/named4.8
.include "../../mk/bsd.pkg.mk"
|