2000-03-31 13:15:23 +02:00
|
|
|
# $NetBSD: Makefile,v 1.5 2000/03/31 11:15:23 hubertf Exp $
|
2000-02-22 04:50:57 +01:00
|
|
|
#
|
|
|
|
|
2000-03-31 13:15:23 +02:00
|
|
|
DISTNAME= bind-9.0.0b2
|
2000-02-22 04:50:57 +01:00
|
|
|
CATEGORIES= net
|
2000-03-31 13:15:23 +02:00
|
|
|
MASTER_SITES= ftp://ftp.isc.org/isc/bind9/9.0.0b2/
|
2000-02-22 04:50:57 +01:00
|
|
|
|
|
|
|
MAINTAINER= hubertf@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.isc.org/products/BIND/
|
|
|
|
|
2000-02-22 22:54:11 +01:00
|
|
|
# Sync these with devel/unproven-pthreads:
|
|
|
|
ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-arm32 NetBSD-*-m68k
|
|
|
|
|
2000-02-22 04:50:57 +01:00
|
|
|
DEPENDS+= unproven-pthreads-0.*:../../devel/unproven-pthreads
|
|
|
|
|
|
|
|
# No need to set USE_INET6, will auto-detect.
|
2000-03-31 13:15:23 +02:00
|
|
|
DIST_SUBDIR= bind/9.0.0b2
|
2000-02-22 04:50:57 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+=--with-mit-pthreads \
|
2000-03-31 13:15:23 +02:00
|
|
|
--with-libtool=yes \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--localstatedir=/var
|
2000-02-22 04:50:57 +01:00
|
|
|
CONFIGURE_ENV+= CC=${LOCALBASE}/pthreads/bin/pgcc \
|
|
|
|
CXX=${LOCALBASE}/pthreads/bin/pg++
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/bind9
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/bind9/arm
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/bind9/draft
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/bind9/misc
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/bind9/rfc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/bind9
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/arm/* ${PREFIX}/share/doc/bind9/arm
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/draft/* ${PREFIX}/share/doc/bind9/draft
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/misc/* ${PREFIX}/share/doc/bind9/misc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/rfc/* ${PREFIX}/share/doc/bind9/rfc
|
2000-02-28 02:05:47 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/rndc/rndc ${PREFIX}/sbin
|
2000-02-29 02:28:44 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/lwresd/lwresd ${PREFIX}/sbin
|
2000-02-22 04:50:57 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|