openbsd-ports/net/unbound/Makefile

45 lines
1.1 KiB
Makefile
Raw Normal View History

2010-10-18 14:36:45 -04:00
# $OpenBSD: Makefile,v 1.23 2010/10/18 18:36:59 espie Exp $
2008-05-23 02:52:21 -04:00
COMMENT= validating DNS resolver
2010-08-22 05:03:11 -04:00
DISTNAME= unbound-1.4.6
2008-05-23 02:52:21 -04:00
CATEGORIES= net
MASTER_SITES= http://www.unbound.net/downloads/
HOMEPAGE= http://www.unbound.net/
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
USE_LIBTOOL= Yes
USE_GMAKE= Yes
NO_REGRESS= Yes
2010-08-22 05:03:11 -04:00
SHARED_LIBS+= unbound 2.5
2008-05-23 02:52:21 -04:00
2010-08-22 05:03:11 -04:00
WANTLIB= c crypto event ldns.>=4.4 ssl
LIB_DEPENDS+= :libldns->=1.6.5:net/ldns/libldns
2008-05-23 02:52:21 -04:00
CONFIGURE_ARGS+= --with-ssl=/usr \
--with-libevent=/usr \
--with-ldns=${LOCALBASE} \
2008-05-23 02:52:21 -04:00
--without-pthreads \
2008-07-16 16:34:10 -04:00
--with-chroot-dir=/var/unbound \
--with-pidfile=/var/unbound/var/run/unbound.pid \
2008-08-20 04:25:41 -04:00
--with-conf-file=/var/unbound/etc/unbound.conf \
--with-username=_unbound
2010-10-18 14:36:45 -04:00
USE_GROFF = Yes
2008-05-23 02:52:21 -04:00
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/unbound
${INSTALL_DATA} ${WRKINST}/var/unbound/etc/unbound.conf ${PREFIX}/share/examples/unbound
.include <bsd.port.mk>