2004-12-01 14:59:59 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2004/12/01 19:59:59 alek Exp $
|
2001-08-29 22:10:40 -04:00
|
|
|
# Uses pthreads
|
2001-06-14 10:46:07 -04:00
|
|
|
|
2001-08-29 21:43:35 -04:00
|
|
|
COMMENT= "threaded DNS daemon, optimized for caching"
|
|
|
|
|
|
|
|
# archs that have pthreads library in
|
|
|
|
# good enough shape to run this app.
|
|
|
|
ONLY_FOR_ARCHS= i386
|
2001-06-14 10:46:07 -04:00
|
|
|
|
2002-01-15 03:07:00 -05:00
|
|
|
DISTNAME= pdnsd-1.1.7a
|
2004-12-01 14:59:59 -05:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
2001-06-14 10:46:07 -04:00
|
|
|
CATEGORIES= net
|
|
|
|
HOMEPAGE= http://home.t-online.de/home/Moestl/
|
|
|
|
|
|
|
|
# GPLv2
|
|
|
|
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
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
|
2001-11-10 10:44:57 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2001-06-14 10:46:07 -04:00
|
|
|
SEPARATE_BUILD= concurrent
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= --with-target=BSD \
|
|
|
|
--with-random-device=arc4random \
|
|
|
|
--enable-strict-rfc2181 \
|
|
|
|
--with-cachedir="/var/pdnsd" \
|
2003-06-22 10:07:21 -04:00
|
|
|
--with-default-id=_pdnsd
|
2001-06-14 10:46:07 -04:00
|
|
|
|
|
|
|
DOCFILES= faq.txt intro.txt manual.txt
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pdnsd
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/doc/pdnsd.conf ${PREFIX}/share/examples/pdnsd
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pdnsd
|
|
|
|
.for file in ${DOCFILES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/txt/${file} ${PREFIX}/share/doc/pdnsd
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|