aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/2ping/Makefile
blob: 0537255e8ae66f3904a25977e64899d7da7b239d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $FreeBSD$

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>