1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/dns/pdnsd/Makefile
Ashish SHUKLA 6c109c60a0 - Add STAGE support
- Fix issue during installation[1]
- Remove incorrect pkg-message

Submitted by:	Серж ИвановЪ <evasive.gyron at gmail.com> (via private mail)
2014-01-19 23:39:17 +00:00

45 lines
1.0 KiB
Makefile

# Created by: Roman Shterenzon <roman@xpert.com>
# $FreeBSD$
PORTNAME= pdnsd
PORTVERSION= 1.2.9a
CATEGORIES= dns ipv6
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
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
USE_GMAKE= yes
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
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${DOC_FILES:S@^@${DOCSRCDIR}/@} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>