aboutsummaryrefslogtreecommitdiffstats
path: root/net/mrtg-ping-probe/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/mrtg-ping-probe/Makefile')
-rw-r--r--net/mrtg-ping-probe/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/net/mrtg-ping-probe/Makefile b/net/mrtg-ping-probe/Makefile
new file mode 100644
index 000000000000..fb8dd14f92fc
--- /dev/null
+++ b/net/mrtg-ping-probe/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: mrng-cfgtg-ping-probe
+# Date created: 17 Jan 2004
+# Whom: sanpei@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= mrtg-ping-probe
+PORTVERSION= 2.2.0
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.pwo.de/pub/pwo/mrtg/${PORTNAME}/
+
+MAINTAINER= sanpei@FreeBSD.org
+COMMENT= A Round Trip Time and Packet Loss Probe for MRTG
+
+RUN_DEPENDS= ${LOCALBASE}/bin/mrtg:${PORTSDIR}/net/mrtg
+
+USE_PERL5= YES
+USE_REINPLACE= yes
+
+MAN1= ${PORTNAME}.1
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|%%PERL%%|${PERL5}|' ${WRKSRC}/${PORTNAME}
+ @${CHMOD} +x ${WRKSRC}/${PORTNAME}
+
+do-install:
+ @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ @${INSTALL_SCRIPT} ${WRKSRC}/mrtg-ping-cfg ${PREFIX}/bin
+ @${INSTALL_DATA} ${WRKSRC}/mrtg.cfg-ping ${PREFIX}/etc/mrtg
+ @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1
+
+.include <bsd.port.mk>