2000-10-22 11:41:23 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2000/10/22 15:42:56 espie Exp $
|
2000-09-16 03:36:52 -04:00
|
|
|
|
|
|
|
VERSION= 9.0.0
|
|
|
|
DISTNAME= bind-${VERSION}
|
|
|
|
CATEGORIES= net
|
2000-10-22 11:41:23 -04:00
|
|
|
NEED_VERSION= 1.305
|
2000-09-16 03:36:52 -04:00
|
|
|
|
|
|
|
MASTER_SITES= ftp://ftp.isc.org/isc/bind9/${VERSION}/ \
|
|
|
|
ftp://ftp.sunet.se/pub/network/isc/bind9/${VERSION}
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.isc.org/products/BIND/
|
|
|
|
|
2000-10-04 17:53:59 -04:00
|
|
|
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
|
2000-09-16 03:36:52 -04:00
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} \
|
|
|
|
--sysconfdir=/etc \
|
2000-09-16 11:28:01 -04:00
|
|
|
--localstatedir=/var \
|
|
|
|
--with-libtool
|
2000-09-16 03:36:52 -04:00
|
|
|
SEPARATE_BUILD= concurrent
|
2000-09-16 11:28:01 -04:00
|
|
|
FAKE_FLAGS+= DESTDIR=${WRKINST} \
|
|
|
|
MAKEDEFS='DESTDIR=${WRKINST}'
|
2000-09-16 03:36:52 -04:00
|
|
|
|
|
|
|
EXAMPLEFILES= named.conf named.root \
|
|
|
|
named.localhost named.loopback
|
|
|
|
|
2000-09-21 06:17:53 -04:00
|
|
|
FLAVORS= debug static
|
2000-09-16 03:36:52 -04:00
|
|
|
FLAVOR?=
|
2000-09-21 06:17:53 -04:00
|
|
|
|
2000-09-16 03:36:52 -04:00
|
|
|
.if ${FLAVOR:L} == "debug"
|
|
|
|
CONFIGURE_ENV+= CFLAGS=-g
|
|
|
|
.endif
|
|
|
|
|
2000-09-21 06:17:53 -04:00
|
|
|
.if ${FLAVOR:L} == "static"
|
|
|
|
CONFIGURE_ENV+= CFLAGS="-O2 -static"
|
|
|
|
.endif
|
|
|
|
|
2000-09-16 03:36:52 -04:00
|
|
|
post-install:
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/bin/*.1 ${PREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/bin/*.5 ${PREFIX}/man/man5
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/bin/*.8 ${PREFIX}/man/man8
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/dnssec/*.8 ${PREFIX}/man/man8
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bind9
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bind9/arm
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bind9/misc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/arm/* ${PREFIX}/share/doc/bind9/arm
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/misc/* ${PREFIX}/share/doc/bind9/misc
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bind9
|
|
|
|
.for file in ${EXAMPLEFILES}
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/${file} ${PREFIX}/share/examples/bind9
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|