summaryrefslogtreecommitdiff
path: root/net/bind9/Makefile
blob: 21dd579104d4b7214227d2535506ca1c791252d0 (plain) (blame)
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
# New ports collection makefile for:	bind
# Date created:				6 October 2000
# Whom:					will
#
# $FreeBSD$
#

PORTNAME=	bind
PORTVERSION=	9.1.0
CATEGORIES=	net ipv6
MASTER_SITES=	ftp://ftp.isc.org/isc/bind9/${PORTVERSION}/ \
		ftp://ftp.sunet.se/pub/network/isc/bind9/${PORTVERSION}/

MAINTAINER=	ports@FreeBSD.org

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--localstatedir=/var

MAN1=	host.1 dig.1
MAN5=	rndc.conf.5
MAN8=	lwresd.8 named.8 nsupdate.8 rndc.8 dnssec-keygen.8 dnssec-makekeyset.8 \
	dnssec-signkey.8 dnssec-signzone.8

pre-configure:
	${PERL} -pi -e "s@{INSTALL_PROGRAM}@{INSTALL_DATA} -m 555@g" ${WRKSRC}/Makefile.in

post-install:
.for NUM in 1 5 8
	${INSTALL_MAN} ${WRKSRC}/doc/man/bin/*.${NUM} ${MANPREFIX}/man/man${NUM}
.endfor
	${INSTALL_MAN} ${WRKSRC}/doc/man/dnssec/* ${MANPREFIX}/man/man8

.include <bsd.port.mk>