aboutsummaryrefslogtreecommitdiffstats
path: root/net/p5-Net-Pcap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/p5-Net-Pcap/Makefile')
-rw-r--r--net/p5-Net-Pcap/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/net/p5-Net-Pcap/Makefile b/net/p5-Net-Pcap/Makefile
index 8c33fb97b582..a4be23b72785 100644
--- a/net/p5-Net-Pcap/Makefile
+++ b/net/p5-Net-Pcap/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= Net-Pcap
-PORTVERSION= 0.14
+PORTVERSION= 0.15
CATEGORIES= net perl5
-MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR= Net
+MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
@@ -22,6 +21,9 @@ PERL_CONFIGURE= yes
MAN1= pcapinfo.1
MAN3= Net::Pcap.3
+pre-patch:
+ ${FIND} ${WRKSRC} -name "._Pcap.pm" -delete
+
do-patch:
@${REINPLACE_CMD} -e "s#cc_r =>#cc => '-o', cc_r =>#" \
${WRKSRC}/Makefile.PL