blob: 4228a2fad237bf079f257f193d9bf028021be20f (
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
|
# Created by: Mikolaj Golub <to.my.trociny@gmail.com>
PORTNAME= gather
PORTVERSION= 0.4.1
CATEGORIES= sysutils
MAINTAINER= trociny@FreeBSD.org
COMMENT= Utility to store and display system statistics
LICENSE= BSD2CLAUSE
USES= perl5
USE_GITHUB= yes
GH_ACCOUNT= trociny
CONFLICTS_INSTALL= harvest
DATADIR= /var/db/gather
MAKE_ENV+= CONFDIR=${PREFIX}/etc/gather DATADIR=${DATADIR}
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/gather ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/gather.1 ${STAGEDIR}${PREFIX}/man/man1
${MKDIR} ${STAGEDIR}${PREFIX}/etc/gather
${INSTALL_DATA} ${WRKSRC}/gather.cfg \
${STAGEDIR}${PREFIX}/etc/gather/gather.cfg.sample
${INSTALL_DATA} ${WRKSRC}/examples/gather.map.freebsd \
${STAGEDIR}${PREFIX}/etc/gather/gather.map.sample
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Changelog ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/gather.map.freebsd \
${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/gather.map.linux \
${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
|