1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/sysutils/gather/Makefile
2017-03-24 16:41:51 +00:00

45 lines
1.2 KiB
Makefile

# Created by: Mikolaj Golub <to.my.trociny@gmail.com>
# $FreeBSD$
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-[0-9]*
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>