2013-09-20 18:31:57 +02:00
|
|
|
# Created by: Roman Shterenzon <roman@xpert.com>
|
2000-12-14 04:27:37 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= pdnsd
|
2012-04-11 11:21:57 +02:00
|
|
|
PORTVERSION= 1.2.9a
|
2006-12-11 00:47:06 +01:00
|
|
|
CATEGORIES= dns ipv6
|
2012-04-11 11:21:57 +02:00
|
|
|
MASTER_SITES= http://members.home.nl/p.a.rombouts/pdnsd/releases/ \
|
|
|
|
http://distfiles.pirateparty.in/ashish/
|
2004-02-12 15:01:02 +01:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-par
|
2000-12-14 04:27:37 +01:00
|
|
|
|
2010-06-14 14:56:44 +02:00
|
|
|
MAINTAINER= ashish@FreeBSD.org
|
2003-02-21 14:28:59 +01:00
|
|
|
COMMENT= Caching (permanently, writes to disk on exit) DNS proxy-server
|
2000-12-14 04:27:37 +01:00
|
|
|
|
2012-04-11 11:21:57 +02:00
|
|
|
LICENSE= GPLv3
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2000-12-14 04:27:37 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2014-05-23 12:55:42 +02:00
|
|
|
USES= gmake
|
2006-06-19 13:35:26 +02:00
|
|
|
USE_RC_SUBR= pdnsd
|
2006-05-12 16:58:35 +02:00
|
|
|
CONFIGURE_ARGS= --with-cachedir=${PDNSDB} \
|
|
|
|
--disable-src-addr-disc
|
2005-10-31 02:17:37 +01:00
|
|
|
|
2013-03-07 17:53:45 +01:00
|
|
|
OPTIONS_DEFINE= IPV6 DOCS
|
2005-10-31 02:17:37 +01:00
|
|
|
|
2004-02-12 15:01:02 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2000-12-14 04:27:37 +01:00
|
|
|
|
|
|
|
PDNSDB= /var/db/pdnsd
|
2004-02-12 15:01:02 +01:00
|
|
|
DOCSRCDIR= ${WRKSRC}/doc
|
|
|
|
DOC_FILES= html/dl.html html/doc.html html/faq.html html/index.html
|
|
|
|
DOC_FILES+= txt/faq.txt txt/intro.txt txt/manual.txt
|
2000-12-14 04:27:37 +01:00
|
|
|
|
2013-02-07 13:52:44 +01:00
|
|
|
CFLAGS+= -pthread
|
2007-09-08 16:55:27 +02:00
|
|
|
|
2014-01-20 00:39:17 +01:00
|
|
|
IPV6_CONFIGURE_ENABLE= ipv6
|
2007-09-08 16:55:27 +02:00
|
|
|
|
2015-09-21 09:34:40 +02:00
|
|
|
post-install:
|
|
|
|
@${RM} ${STAGEDIR}${PDNSDB}/pdnsd.cache
|
|
|
|
|
2015-08-26 20:26:14 +02:00
|
|
|
post-install-DOCS-on:
|
2014-01-20 00:39:17 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${DOC_FILES:S@^@${DOCSRCDIR}/@} ${STAGEDIR}${DOCSDIR}
|
2000-12-14 04:27:37 +01:00
|
|
|
|
2013-03-07 17:53:45 +01:00
|
|
|
.include <bsd.port.mk>
|