summaryrefslogtreecommitdiff
path: root/net/p5-Parse-Netstat/Makefile
blob: f58d2d88493c41cf7d112dc72a6fa591bf3219f4 (plain)
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

PORTNAME=	Parse-Netstat
PORTVERSION=	0.14
CATEGORIES=	net perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	vvelox@vvelox.net
COMMENT=	Parse the output of netstat command

LICENSE=	ART10 GPLv1+
LICENSE_COMB=	dual

BUILD_DEPENDS=	p5-File-ShareDir-Install>=0.06:devel/p5-File-ShareDir-Install
TEST_DEPENDS=	p5-File-Slurper>=0.011:devel/p5-File-Slurper

USES=		perl5
USE_PERL5=	configure
NO_ARCH=	yes

post-patch:
	@${RM} -r ${WRKSRC}/share
	@${REINPLACE_CMD} -e '/.*netstat-samples.*/d' \
		${WRKSRC}/MANIFEST
	@${REINPLACE_CMD} -e '/install_share.*/d' \
		${WRKSRC}/Makefile.PL

.include <bsd.port.mk>