blob: 2fa6f2273c48e6685f8c064254dce6c2334bee7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
PORTNAME= pdnsd
PORTVERSION= 1.2.9a
CATEGORIES= dns
MASTER_SITES= http://members.home.nl/p.a.rombouts/pdnsd/releases/ \
http://distfiles.pirateparty.in/ashish/
DISTNAME= ${PORTNAME}-${PORTVERSION}-par
MAINTAINER= ashish@FreeBSD.org
COMMENT= Caching (permanently, writes to disk on exit) DNS proxy-server
WWW= http://members.home.nl/p.a.rombouts/pdnsd/
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
USES= cpe gmake
USE_RC_SUBR= pdnsd
CONFIGURE_ARGS= --with-cachedir=${PDNSDB} \
--disable-src-addr-disc
OPTIONS_DEFINE= IPV6 DOCS
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PDNSDB= /var/db/pdnsd
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
CFLAGS+= -pthread
IPV6_CONFIGURE_ENABLE= ipv6
post-install:
@${RM} ${STAGEDIR}${PDNSDB}/pdnsd.cache
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${DOC_FILES:S@^@${DOCSRCDIR}/@} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|