svn commit: r433274 - head/dns/sheerdns
Alexey Dokuchaev
danfe at FreeBSD.org
Sat Feb 4 00:12:46 UTC 2017
Author: danfe
Date: Sat Feb 4 00:12:45 2017
New Revision: 433274
URL: https://svnweb.freebsd.org/changeset/ports/433274
Log:
Clean up a few things in `dns/sheerdns' port:
- Spell `LICENSE_FILE' knob correctly
- Fix bogus indentation and knob order
- Optimize away superfluous DOCS variable
- No need to put DOCS on OPTIONS_DEFAULT
- Mute commands that are typically muted
- Fix spelling mistake in port description
Modified:
head/dns/sheerdns/Makefile
head/dns/sheerdns/pkg-descr
Modified: head/dns/sheerdns/Makefile
==============================================================================
--- head/dns/sheerdns/Makefile Sat Feb 4 00:01:34 2017 (r433273)
+++ head/dns/sheerdns/Makefile Sat Feb 4 00:12:45 2017 (r433274)
@@ -10,26 +10,23 @@ MAINTAINER= portmaster at BSDforge.com
COMMENT= Lightweight, simple, and fast master DNS server
LICENSE= BSD2CLAUSE
-LICENSE_FILES= ${WRKSRC}/LICENSE
-
-DOCS= sheerdns.ps sheerdns.html
-PORTDOCS= *
+LICENSE_FILE= ${WRKSRC}/LICENSE
USES= gmake tar:xz
-PLIST_FILES= man/man8/sheerdns.8.gz sbin/sheerdns sbin/sheerdnshash
-
WRKSRC= ${WRKDIR}/${PORTNAME}
-OPTIONS_DEFINE= DOCS
-OPTIONS_DEFAULT= DOCS
+PLIST_FILES= man/man8/sheerdns.8.gz sbin/sheerdns sbin/sheerdnshash
+PORTDOCS= sheerdns.html sheerdns.ps
+
+OPTIONS_DEFINE= DOCS
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/sheerdns
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/sheerdnshash
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/sheerdns
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/sheerdnshash
post-install-DOCS-on:
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
- (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR})
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
Modified: head/dns/sheerdns/pkg-descr
==============================================================================
--- head/dns/sheerdns/pkg-descr Sat Feb 4 00:01:34 2017 (r433273)
+++ head/dns/sheerdns/pkg-descr Sat Feb 4 00:12:45 2017 (r433274)
@@ -5,7 +5,7 @@ efficient for networks with frequent upd
Updates to the zones are immediate, and do not require restarting sheerdns.
SheerDNS is a good candidate for creating and RBL for mail, or web sites,
-as well as for providing DNS on embeded systems. Or anything else that
+as well as for providing DNS on embedded systems. Or anything else that
requires a fast DNS, with very low overhead.
WWW: http://BSDforge.com/projects/dns/sheerdns/
More information about the svn-ports-all
mailing list