diff options
author | danfe <danfe@FreeBSD.org> | 2017-02-04 08:12:45 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2017-02-04 08:12:45 +0800 |
commit | 4ced1b1b75651d796526a23f1f06a8c05a8b1bb7 (patch) | |
tree | 041b31dc3cd614a6ee9446e33dc8a435a0e86726 /dns/sheerdns | |
parent | 4f62796b22cac95dbd6cee4743865fa9ba315649 (diff) | |
download | freebsd-ports-gnome-4ced1b1b75651d796526a23f1f06a8c05a8b1bb7.tar.gz freebsd-ports-gnome-4ced1b1b75651d796526a23f1f06a8c05a8b1bb7.tar.zst freebsd-ports-gnome-4ced1b1b75651d796526a23f1f06a8c05a8b1bb7.zip |
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
Diffstat (limited to 'dns/sheerdns')
-rw-r--r-- | dns/sheerdns/Makefile | 21 | ||||
-rw-r--r-- | dns/sheerdns/pkg-descr | 2 |
2 files changed, 10 insertions, 13 deletions
diff --git a/dns/sheerdns/Makefile b/dns/sheerdns/Makefile index 84cc0f7ed751..71f07c9db0aa 100644 --- a/dns/sheerdns/Makefile +++ b/dns/sheerdns/Makefile @@ -10,26 +10,23 @@ MAINTAINER= portmaster@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> diff --git a/dns/sheerdns/pkg-descr b/dns/sheerdns/pkg-descr index f2feb19ef8f7..0de98243abee 100644 --- a/dns/sheerdns/pkg-descr +++ b/dns/sheerdns/pkg-descr @@ -5,7 +5,7 @@ efficient for networks with frequent updates -- serving DHCP, for example. 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/ |