aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/p5-POE-Component-Client-Traceroute/Makefile12
-rw-r--r--net/p5-POE-Component-Client-Traceroute/distinfo6
-rw-r--r--net/p5-POE-Component-Client-Traceroute/pkg-plist2
3 files changed, 14 insertions, 6 deletions
diff --git a/net/p5-POE-Component-Client-Traceroute/Makefile b/net/p5-POE-Component-Client-Traceroute/Makefile
index 5c2276854e3..09a1427ce4a 100644
--- a/net/p5-POE-Component-Client-Traceroute/Makefile
+++ b/net/p5-POE-Component-Client-Traceroute/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= POE-Component-Client-Traceroute
-PORTVERSION= 0.11
+PORTVERSION= 0.20
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= POE
@@ -15,14 +15,20 @@ PKGNAMEPREFIX= p5-
MAINTAINER= tjs@cdpa.nsysu.edu.tw
COMMENT= A non-blocking traceroute client
-RUN_DEPENDS= p5-POE>=0.11:${PORTSDIR}/devel/p5-POE \
- ${SITE_PERL}/${PERL_ARCH}/Net/RawIP.pm:${PORTSDIR}/net/p5-Net-RawIP
+RUN_DEPENDS= p5-POE>=0.11:${PORTSDIR}/devel/p5-POE
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN3= POE::Component::Client::Traceroute.3
+post-install:
+.if !defined(NOPORTDOCS)
+ @${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
+ @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR}
+.endif
+
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500702
diff --git a/net/p5-POE-Component-Client-Traceroute/distinfo b/net/p5-POE-Component-Client-Traceroute/distinfo
index 54e442ccb77..ee5bf3ac189 100644
--- a/net/p5-POE-Component-Client-Traceroute/distinfo
+++ b/net/p5-POE-Component-Client-Traceroute/distinfo
@@ -1,3 +1,3 @@
-MD5 (POE-Component-Client-Traceroute-0.11.tar.gz) = 3828d37d7997f28374d3fc188ef05e7c
-SHA256 (POE-Component-Client-Traceroute-0.11.tar.gz) = ea99f668379a1839183a40c3a149b51dd0e8471bdf3c506ad9c6c3b21f1b8ebf
-SIZE (POE-Component-Client-Traceroute-0.11.tar.gz) = 12431
+MD5 (POE-Component-Client-Traceroute-0.20.tar.gz) = b3550385a2d8b576bce84c27e3553663
+SHA256 (POE-Component-Client-Traceroute-0.20.tar.gz) = 31de11633c9c8aa39352902bb66700db4cb263ad4bb5d7d0baef1077dbb426a9
+SIZE (POE-Component-Client-Traceroute-0.20.tar.gz) = 15004
diff --git a/net/p5-POE-Component-Client-Traceroute/pkg-plist b/net/p5-POE-Component-Client-Traceroute/pkg-plist
index 19c35ed91c5..51ad004ed03 100644
--- a/net/p5-POE-Component-Client-Traceroute/pkg-plist
+++ b/net/p5-POE-Component-Client-Traceroute/pkg-plist
@@ -1,6 +1,7 @@
@comment $FreeBSD$
%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/Client/Traceroute/.packlist
%%SITE_PERL%%/POE/Component/Client/Traceroute.pm
+%%PORTDOCS%%%%EXAMPLESDIR%%/poe-traceroute.pl
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/Client/Traceroute
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/Client
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component
@@ -8,3 +9,4 @@
@dirrmtry %%SITE_PERL%%/POE/Component/Client
@dirrmtry %%SITE_PERL%%/POE/Component
@dirrmtry %%SITE_PERL%%/POE
+%%PORTDOCS%%@dirrmtry %%EXAMPLESDIR%%