summaryrefslogtreecommitdiffstats
path: root/dns/pdnsd/Makefile
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2006-06-19 11:35:26 +0000
committererwin <erwin@FreeBSD.org>2006-06-19 11:35:26 +0000
commit1e6a74f099ef60080c4d76d6f5a4ed166bead3e5 (patch)
tree68910f51d52917b9f9244cb80cb8f6b241bd12bc /dns/pdnsd/Makefile
parent8976eb51bb565646b4c9d59effb6259eef2e1100 (diff)
downloadFreeBSD-ports-1e6a74f099ef60080c4d76d6f5a4ed166bead3e5.zip
FreeBSD-ports-1e6a74f099ef60080c4d76d6f5a4ed166bead3e5.tar.gz
rcNGefy
PR: 97852 Submitted by: Zane C. B. <v.velox@vvelox.net> with changes from maintainer Approved by: gabor (maintainer)
Diffstat (limited to 'dns/pdnsd/Makefile')
-rw-r--r--dns/pdnsd/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/dns/pdnsd/Makefile b/dns/pdnsd/Makefile
index ae97fd6..ae852e3 100644
--- a/dns/pdnsd/Makefile
+++ b/dns/pdnsd/Makefile
@@ -7,7 +7,7 @@
PORTNAME= pdnsd
PORTVERSION= 1.2.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= dns
MASTER_SITES= http://www.phys.uu.nl/~rombouts/pdnsd/releases/
DISTNAME= ${PORTNAME}-${PORTVERSION}-par
@@ -17,6 +17,7 @@ COMMENT= Caching (permanently, writes to disk on exit) DNS proxy-server
GNU_CONFIGURE= yes
USE_GMAKE= yes
+USE_RC_SUBR= pdnsd
CONFIGURE_ARGS= --with-cachedir=${PDNSDB} \
--disable-src-addr-disc
@@ -39,12 +40,9 @@ CONFIGURE_ARGS+= --enable-ipv6
.endif
post-install:
- @${MKDIR} ${PREFIX}/etc/rc.d
- @${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/pdnsd.sh > ${PREFIX}/etc/rc.d/pdnsd.sh
- @${CHMOD} 750 ${PREFIX}/etc/rc.d/pdnsd.sh
.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${DOC_FILES:S@^@${DOCSRCDIR}/@} ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${DOC_FILES:S@^@${DOCSRCDIR}/@} ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
OpenPOWER on IntegriCloud