blob: e9387168aeea39c32eb3efb9c640ba0534189f7b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# New ports collection makefile for: tinystats
# Date created: 07 July 2005
# Whom: Filippo Natali <filippo.natali@gmail.com>
#
# $FreeBSD$
#
PORTNAME= tinystats
PORTVERSION= 1.1
CATEGORIES= dns ipv6
MASTER_SITES= http://www.morettoni.net/bsd/
MAINTAINER= ports@FreeBSD.org
COMMENT= DJB's tinydns statistics generator
WRKSRC= ${WRKDIR}/${PORTNAME}
ALL_TARGET=
OPTIONS_DEFINE= IPV6 DOCS
PLIST_FILES= bin/tinystats \
%%EXAMPLESDIR%%/tinydns.log.run.sample \
%%EXAMPLESDIR%%/tinydns.sh.sample \
%%EXAMPLESDIR%%/update_slave.sh.sample \
%%EXAMPLESDIR%%/start_slave.sh.sample \
%%EXAMPLESDIR%%/Makefile.sample
PLIST_DIRS= %%EXAMPLESDIR%%
PORTDOCS= README LICENSE THANKS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MIPV6}
MAKE_ARGS+= -DWITH_IPV6
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tinystats ${PREFIX}/bin
${MKDIR} ${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 ${EXAMPLESDIR}
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/LICENSE ${WRKSRC}/THANKS ${DOCSDIR}
.endif
.include <bsd.port.mk>
|