freebsd-ports/net-mgmt/mrtg-ping-probe/Makefile
Jimmy Olgeni 7dc406a7a1 Remove indefinite articles and trailing periods from COMMENT, plus minor
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not
included as they contain Latin-1 characters that break the Phabricator
workflow. Category N.

CR:		D307
Approved by:	portmgr (bapt)
2014-07-10 12:13:11 +00:00

30 lines
885 B
Makefile

# Created by: sanpei@FreeBSD.org
# $FreeBSD$
PORTNAME= mrtg-ping-probe
PORTVERSION= 2.2.0
PORTREVISION= 5
CATEGORIES= net-mgmt
MASTER_SITES= ftp://ftp.pwo.de/pub/pwo/mrtg/${PORTNAME}/
MAINTAINER= sanpei@FreeBSD.org
COMMENT= Round Trip Time and Packet Loss Probe for MRTG
RUN_DEPENDS= ${LOCALBASE}/bin/mrtg:${PORTSDIR}/net-mgmt/mrtg
FETCH_BEFORE_ARGS= -p # MASTER_SITE needs PASSIVE FTP.
USES= perl5
post-patch:
@${REINPLACE_CMD} -e 's|%%PERL%%|${PERL5}|' ${WRKSRC}/${PORTNAME}
@${CHMOD} +x ${WRKSRC}/${PORTNAME}
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>