1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

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
This commit is contained in:
Alexey Dokuchaev 2017-02-04 00:12:45 +00:00
parent ed4fd2027d
commit 375830c7f0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=433274
2 changed files with 10 additions and 13 deletions

View File

@ -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>

View File

@ -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/