2011-04-14 09:47:59 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2011/04/14 13:47:59 sthen Exp $
|
2003-01-21 11:55:56 -05:00
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT= BIND 8 compatible stub resolver library
|
2003-01-21 11:55:56 -05:00
|
|
|
|
2008-04-28 15:15:43 -04:00
|
|
|
VERSION= 9.4.2
|
2003-01-21 11:55:56 -05:00
|
|
|
DISTNAME= bind-${VERSION}
|
2008-04-28 15:15:43 -04:00
|
|
|
PKGNAME= libbind-${VERSION}
|
2006-01-03 12:16:18 -05:00
|
|
|
SHARED_LIBS= bind 2.0
|
2003-01-21 11:55:56 -05:00
|
|
|
CATEGORIES= net
|
|
|
|
|
2011-04-14 09:47:59 -04:00
|
|
|
MASTER_SITES+= ${MASTER_SITE_ISC:=bind9/${VERSION}/}
|
2003-01-21 11:55:56 -05:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.isc.org/products/BIND/
|
|
|
|
|
|
|
|
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
|
|
|
|
|
2008-04-28 15:15:43 -04:00
|
|
|
# ISC
|
2003-01-21 11:55:56 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIST}/lib/bind
|
|
|
|
|
|
|
|
SEPARATE_BUILD= concurrent
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= --with-libtool \
|
|
|
|
${CONFIGURE_SHARED} \
|
|
|
|
--with-randomdev=/dev/arandom
|
2006-01-03 12:16:18 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2003-01-21 11:55:56 -05:00
|
|
|
|
|
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}
|
|
|
|
|
|
|
|
FLAVORS= threads
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mthreads}
|
|
|
|
CONFIGURE_ARGS+= --enable-threads
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-threads
|
|
|
|
.endif
|
|
|
|
|
2006-11-22 10:36:29 -05:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/include/bind
|
|
|
|
mv ${PREFIX}/bind/include/* ${PREFIX}/include/bind
|
|
|
|
|
2003-01-21 11:55:56 -05:00
|
|
|
.include <bsd.port.mk>
|