2000-12-14 04:27:37 +01:00
|
|
|
# New ports collection makefile for: pdnsd
|
|
|
|
# Date Created: 27 Oct 2000
|
|
|
|
# Whom: Roman Shterenzon <roman@xpert.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pdnsd
|
2010-02-24 10:59:09 +01:00
|
|
|
PORTVERSION= 1.2.8
|
2006-12-11 00:47:06 +01:00
|
|
|
CATEGORIES= dns ipv6
|
2004-11-23 17:19:36 +01:00
|
|
|
MASTER_SITES= http://www.phys.uu.nl/~rombouts/pdnsd/releases/
|
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
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2004-02-12 15:01:02 +01:00
|
|
|
USE_GMAKE= yes
|
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
|
|
|
|
|
|
|
OPTIONS= IPV6 "Enable IPv6 support" on
|
|
|
|
|
2004-02-12 15:01:02 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2000-12-14 04:27:37 +01:00
|
|
|
|
2004-11-23 17:19:36 +01:00
|
|
|
MAN5= pdnsd.conf.5
|
2004-06-07 00:53:05 +02:00
|
|
|
MAN8= pdnsd.8 pdnsd-ctl.8
|
2001-06-05 14:54:56 +02:00
|
|
|
|
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
|
|
|
|
2007-09-08 16:55:27 +02:00
|
|
|
CFLAGS+= ${PTHREAD_LIBS}
|
|
|
|
|
|
|
|
OPTIONS= IPV6 "IPv6 support" on
|
|
|
|
|
2005-10-31 02:17:37 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2007-09-08 16:55:27 +02:00
|
|
|
.if defined(WITH_IPV6)
|
2005-10-31 02:17:37 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
|
|
.endif
|
|
|
|
|
2000-12-14 04:27:37 +01:00
|
|
|
post-install:
|
2004-02-12 15:01:02 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2006-06-19 13:35:26 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${DOC_FILES:S@^@${DOCSRCDIR}/@} ${DOCSDIR}
|
2004-02-12 15:01:02 +01:00
|
|
|
.endif
|
2007-09-08 16:55:27 +02:00
|
|
|
@[ -f ${PREFIX}/etc/pdnsd.conf ] || \
|
|
|
|
${INSTALL_DATA} ${PREFIX}/etc/pdnsd.conf.sample ${PREFIX}/etc/pdnsd.conf
|
2000-12-14 04:27:37 +01:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2005-10-31 02:17:37 +01:00
|
|
|
.include <bsd.port.post.mk>
|