1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/dns/tinystats/Makefile
2014-03-18 14:26:57 +00:00

43 lines
979 B
Makefile

# Created by: Filippo Natali <filippo.natali@gmail.com>
# $FreeBSD$
PORTNAME= tinystats
PORTVERSION= 1.1
CATEGORIES= dns ipv6
MASTER_SITES= http://www.morettoni.net/bsd/ \
CRITICAL
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= DJB's tinydns statistics generator
LICENSE= BSD2CLAUSE
WRKSRC= ${WRKDIR}/${PORTNAME}
ALL_TARGET=
OPTIONS_DEFINE= IPV6 EXAMPLES DOCS
PLIST_FILES= bin/tinystats
PORTEXAMPLES= *
PORTDOCS= README
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MIPV6}
MAKE_ARGS+= -DWITH_IPV6
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tinystats ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/tinydns.sh.sample \
${WRKSRC}/tinydns.log.run.sample \
${WRKSRC}/update_slave.sh.sample \
${WRKSRC}/start_slave.sh.sample \
${WRKSRC}/Makefile.sample \
${STAGEDIR}${EXAMPLESDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>