mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
8deb3d3338
Parses the output from netstat, returning a easy to use hash. WWW: https://metacpan.org/release/Parse-Netstat PR: 224894 Submitted by: Zane C. Bowers-Hadley <vvelox@vvelox.net>
30 lines
621 B
Makefile
30 lines
621 B
Makefile
# $FreeBSD$
|
|
|
|
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>
|