freebsd-ports/sysutils/gather/Makefile
Stefan Eßer 5933ac0b09 */*: Remove redundant '-[0-9]*' from CONFLICTS_INSTALL
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").

Approved by: portmgr (blanket)
2021-11-23 23:11:40 +01:00

43 lines
1.2 KiB
Makefile

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