aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2014-02-12 18:52:23 +0800
committererwin <erwin@FreeBSD.org>2014-02-12 18:52:23 +0800
commit0fc075c5a985b7e7c7f1a74745be11ae982f2942 (patch)
treee1386e4b1e36673bc2cba6c4a03c269f841438b6
parent6a0068ce815ca862117a0d31342659e49b6e26cc (diff)
downloadfreebsd-ports-gnome-0fc075c5a985b7e7c7f1a74745be11ae982f2942.tar.gz
freebsd-ports-gnome-0fc075c5a985b7e7c7f1a74745be11ae982f2942.tar.zst
freebsd-ports-gnome-0fc075c5a985b7e7c7f1a74745be11ae982f2942.zip
Reinstated PKGNAMESUFFIX which was missing
Added STAGING support Other small changes to make portlint happy PR: 186630 Submitted by: Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
-rw-r--r--dns/nsd3/Makefile12
-rw-r--r--dns/nsd3/pkg-message2
2 files changed, 9 insertions, 5 deletions
diff --git a/dns/nsd3/Makefile b/dns/nsd3/Makefile
index f55df0146fee..de07c08ac225 100644
--- a/dns/nsd3/Makefile
+++ b/dns/nsd3/Makefile
@@ -6,10 +6,15 @@ PORTVERSION= 3.2.17
CATEGORIES= dns ipv6
MASTER_SITES= http://www.nlnetlabs.nl/downloads/nsd/ \
ftp://ftp.rhnet.is/pub/nsd/
+PKGNAMESUFFIX= 3
MAINTAINER= jaap@NLnetLabs.nl
COMMENT= Authoritative only non-recursive name server
+LICENSE= BSD3CLAUSE
+
+PORTDOCS= CREDITS ChangeLog LICENSE NSD-DATABASE NSD-DIFFFILE \
+
CONFLICTS= nsd-[0-2]* nsd-4*
USE_RC_SUBR= nsd
@@ -62,7 +67,6 @@ MAXIPS_DESC= Raise max-ips from 8 to ${NSDMAX_IPS}
RRL_DESC= Response Rate Limiting
EUI_RRTYPES_DESC= EUI48 and EUI64 RRtypes support
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MROOT_SERVER}
@@ -137,11 +141,11 @@ pre-patch:
post-install:
${INSTALL_DATA} ${WRKSRC}/nsd.conf.sample \
- ${PREFIX}/etc/nsd/nsd.conf.sample
+ ${STAGEDIR}${PREFIX}/etc/nsd/nsd.conf.sample
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}/${f}
+ ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR}/${f}
.endfor
.endif
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
diff --git a/dns/nsd3/pkg-message b/dns/nsd3/pkg-message
index 16ab2e3f5ecd..ca3c383920c0 100644
--- a/dns/nsd3/pkg-message
+++ b/dns/nsd3/pkg-message
@@ -3,7 +3,7 @@
* Do consider to use nsd-4.0.1. Support for the nsd-3 branch
* will stop in future
* *
-* To run nsd from startup, add nsd_enable="YES" to your /etc/rc.conf *
+* To run nsd from startup, add nsd_enable="YES" to your etc/rc.conf *
* *
* Take good care when using nsd commands, since they often need to *
* be executed as user dedicated to nsd, in order for the files it *