mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
4d00923749
- Add NO_ARCH - Pet portlint - Regenerate patches - Clean up pkg-descr
30 lines
773 B
Makefile
30 lines
773 B
Makefile
# Created by: sanpei@FreeBSD.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mrtg-ping-probe
|
|
PORTVERSION= 2.2.0
|
|
PORTREVISION= 6
|
|
CATEGORIES= net-mgmt
|
|
MASTER_SITES= https://opsec.eu/src/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Round Trip Time and Packet Loss Probe for MRTG
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/mrtg:net-mgmt/mrtg
|
|
|
|
USES= perl5 shebangfix
|
|
SHEBANG_FILES= mrtg-ping-probe
|
|
NO_ARCH= yes
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/mrtg-ping-cfg ${STAGEDIR}${PREFIX}/bin
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/mrtg
|
|
${INSTALL_DATA} ${WRKSRC}/mrtg.cfg-ping ${STAGEDIR}${PREFIX}/etc/mrtg
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|