2000-10-29 00:45:17 -04:00
|
|
|
# New ports collection makefile for: bind
|
|
|
|
# Date created: 6 October 2000
|
|
|
|
# Whom: will
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2001-07-24 14:10:31 -04:00
|
|
|
# I stay very aware of developments with BIND in general, and with
|
|
|
|
# BIND 9 in particular. I frequently delay updating this port from
|
|
|
|
# a known-stable version due to concerns about stability of a newer
|
|
|
|
# version. If you are concerned about using the most recent ISC
|
|
|
|
# release you can generally build it cleanly from the source - Doug
|
|
|
|
|
2000-10-29 00:45:17 -04:00
|
|
|
PORTNAME= bind
|
2001-07-24 14:10:31 -04:00
|
|
|
PORTVERSION= 9.1.3
|
2000-11-03 11:06:24 -05:00
|
|
|
CATEGORIES= net ipv6
|
2000-10-29 00:45:17 -04:00
|
|
|
MASTER_SITES= ftp://ftp.isc.org/isc/bind9/${PORTVERSION}/ \
|
2001-08-14 20:03:13 -04:00
|
|
|
ftp://ftp.nominum.com/pub/isc/bind9/${PORTVERSION}/ \
|
|
|
|
ftp://ftp.nerdc.ufl.edu/pub/mirrors/ftp.isc.org/isc/bind9/${PORTVERSION}/ \
|
2001-03-02 02:28:36 -05:00
|
|
|
ftp://ftp.sunet.se/pub/network/isc/bind9/${PORTVERSION}/ \
|
|
|
|
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/bind9/${PORTVERSION}/,}
|
2000-10-29 00:45:17 -04:00
|
|
|
|
2001-01-31 02:21:26 -05:00
|
|
|
MAINTAINER= DougB@FreeBSD.org
|
2000-10-29 00:45:17 -04:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2000-12-01 18:42:12 -05:00
|
|
|
CONFIGURE_ARGS= --localstatedir=/var
|
2000-10-29 00:45:17 -04:00
|
|
|
|
2001-02-07 07:36:27 -05:00
|
|
|
MAN1= dig.1 host.1 named-checkconf.1 named-checkzone.1
|
2000-10-29 00:45:17 -04:00
|
|
|
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
|
|
|
|
|
2001-02-07 07:36:27 -05:00
|
|
|
DIR= ${WRKSRC}/doc/man/bin
|
|
|
|
post-patch:
|
|
|
|
.for FILE in named-checkconf.1 named.8 nsupdate.8 rndc.8 rndc.conf.5
|
|
|
|
@ ${MV} ${DIR}/${FILE} ${DIR}/${FILE}.Dist
|
|
|
|
@ ${SED} -e 's#/etc/named.conf#${PREFIX}/etc/named.conf#g' \
|
|
|
|
-e 's#/etc/rndc.conf#${PREFIX}/etc/rndc.conf#g' \
|
|
|
|
${DIR}/${FILE}.Dist > ${DIR}/${FILE}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
@ ${MV} ${WRKSRC}/doc/man/dnssec/dnssec-signzone.8 \
|
|
|
|
${WRKSRC}/doc/man/dnssec/dnssec-signzone.8.Dist
|
|
|
|
@ ${SED} -e 's#/etc/named.conf#${PREFIX}/etc/named.conf#g' \
|
|
|
|
${WRKSRC}/doc/man/dnssec/dnssec-signzone.8.Dist \
|
|
|
|
> ${WRKSRC}/doc/man/dnssec/dnssec-signzone.8
|
|
|
|
|
|
|
|
@ ${MV} ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in.Dist
|
|
|
|
@ ${SED} -e 's#{INSTALL_PROGRAM}#{INSTALL_DATA} -m 555#g' \
|
|
|
|
${WRKSRC}/Makefile.in.Dist > ${WRKSRC}/Makefile.in
|
2001-01-20 19:42:49 -05:00
|
|
|
|
2000-10-29 00:45:17 -04:00
|
|
|
post-install:
|
|
|
|
.for NUM in 1 5 8
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/bin/*.${NUM} ${MANPREFIX}/man/man${NUM}
|
|
|
|
.endfor
|
2001-02-07 07:36:27 -05:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/dnssec/*.8 ${MANPREFIX}/man/man8
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/bin/rndc/rndc.conf \
|
|
|
|
${PREFIX}/etc/rndc.conf.sample
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/bind9/arm
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/arm/Bv9ARM*html \
|
|
|
|
${PREFIX}/share/doc/bind9/arm/
|
|
|
|
${CP} -R ${WRKSRC}/doc/misc ${PREFIX}/share/doc/bind9/
|
|
|
|
${CP} ${WRKSRC}/CHANGES ${WRKSRC}/COPYRIGHT ${WRKSRC}/FAQ \
|
|
|
|
${WRKSRC}/README ${PREFIX}/share/doc/bind9/
|
|
|
|
.endif
|
2000-10-29 00:45:17 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|