2011-05-11 08:03:19 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.19 2011/05/11 12:03:19 jasper Exp $
|
2001-06-14 10:46:07 -04:00
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT= threaded DNS daemon, optimized for caching
|
2001-08-29 21:43:35 -04:00
|
|
|
|
2011-03-02 18:30:20 -05:00
|
|
|
DISTNAME= pdnsd-1.2.8-par
|
2010-07-12 18:07:37 -04:00
|
|
|
PKGNAME= ${DISTNAME:S/-par//}
|
2011-05-11 08:03:19 -04:00
|
|
|
REVISION= 0
|
2001-06-14 10:46:07 -04:00
|
|
|
CATEGORIES= net
|
2009-01-02 17:28:21 -05:00
|
|
|
MASTER_SITES= ${HOMEPAGE}/releases/
|
|
|
|
|
2006-10-31 09:58:46 -05:00
|
|
|
HOMEPAGE= http://www.phys.uu.nl/~rombouts/pdnsd/
|
2005-11-25 05:45:39 -05:00
|
|
|
|
2006-10-31 09:58:46 -05:00
|
|
|
WRKDIST= ${WRKDIR}/${DISTNAME:S/-par//}
|
2001-06-14 10:46:07 -04:00
|
|
|
|
2009-01-02 17:28:21 -05:00
|
|
|
# GPLv3+
|
2001-06-14 10:46:07 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-01 14:59:59 -05:00
|
|
|
WANTLIB= c pthread
|
2001-06-14 10:46:07 -04:00
|
|
|
|
2001-11-10 10:44:57 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2005-11-25 05:45:39 -05:00
|
|
|
USE_GMAKE= yes
|
2011-03-02 18:30:20 -05:00
|
|
|
USE_GROFF= Yes
|
2001-06-14 10:46:07 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2009-01-02 17:28:21 -05:00
|
|
|
CONFIGURE_ARGS+= --enable-ipv6 \
|
2001-06-14 10:46:07 -04:00
|
|
|
--enable-strict-rfc2181 \
|
|
|
|
--with-cachedir="/var/pdnsd" \
|
2009-01-02 17:28:21 -05:00
|
|
|
--with-default-id=_pdnsd \
|
|
|
|
--with-random-device=arc4random \
|
|
|
|
--with-target=BSD
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pdnsd
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pdnsd
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/txt/*.txt ${PREFIX}/share/doc/pdnsd
|
|
|
|
${INSTALL_DATA} ${WRKINST}${SYSCONFDIR}/pdnsd.conf.sample \
|
|
|
|
${PREFIX}/share/examples/pdnsd/pdnsd.conf
|
2001-06-14 10:46:07 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|