# $FreeBSD: tags/RELEASE_10_2_0/net-mgmt/2ping/Makefile 360509 2014-07-04 02:48:08Z sunpoet $

PORTNAME=	2ping
PORTVERSION=	2.1.1
PORTREVISION=	1
CATEGORIES=	net-mgmt perl5
MASTER_SITES=	http://www.finnie.org/software/2ping/ \
		LOCAL/sunpoet

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Bi-directional ping utility

LICENSE=	GPLv2

BUILD_DEPENDS=	p5-Digest-CRC>=0:${PORTSDIR}/security/p5-Digest-CRC \
		p5-IO-Socket-INET6>=0:${PORTSDIR}/net/p5-IO-Socket-INET6
RUN_DEPENDS:=	${BUILD_DEPENDS}

USE_PERL5=	configure
USES=		perl5

PLIST_FILES=	bin/2ping \
		man/man1/2ping.1.gz

post-patch:
	@${REINPLACE_CMD} -e 's|2ping.1p|2ping.1|' ${WRKSRC}/Makefile.PL

.include <bsd.port.mk>
