5f7af543b0
flag --enable-strict-rfc2181 we use by default, and unbreak rc script. While here, GROFF is not needed, and update the web. Tested on i386 and amd64. Ok aja@ and test from Brad.
39 lines
998 B
Makefile
39 lines
998 B
Makefile
# $OpenBSD: Makefile,v 1.23 2012/06/21 14:40:40 gonzalo Exp $
|
|
|
|
COMMENT= threaded DNS daemon, optimized for caching
|
|
|
|
DISTNAME= pdnsd-1.2.9a-par
|
|
PKGNAME= ${DISTNAME:S/-par//}
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${HOMEPAGE}/releases/
|
|
|
|
HOMEPAGE= http://members.home.nl/p.a.rombouts/pdnsd/
|
|
|
|
WRKDIST= ${WRKDIR}/${DISTNAME:S/-par//}
|
|
|
|
# GPLv3+
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB += c pthread
|
|
|
|
USE_GMAKE= yes
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= --enable-ipv6 \
|
|
--enable-strict-rfc2181 \
|
|
--with-cachedir="/var/pdnsd" \
|
|
--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
|
|
|
|
.include <bsd.port.mk>
|