aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2018-07-28 20:26:51 +0800
committermiwi <miwi@FreeBSD.org>2018-07-28 20:26:51 +0800
commit9b052470284287c634f14746a3e0881c17817cc6 (patch)
tree2d7233875a8fbe4cb23f48a199d68590d6782ae0 /net
parent60309d69f045711dd1775c87664624892071969d (diff)
downloadfreebsd-ports-gnome-9b052470284287c634f14746a3e0881c17817cc6.tar.gz
freebsd-ports-gnome-9b052470284287c634f14746a3e0881c17817cc6.tar.zst
freebsd-ports-gnome-9b052470284287c634f14746a3e0881c17817cc6.zip
- Update to 1.003
- Added LICENSE_FILE_* - Added NO_ARCH - Added EXAMPLES option with appropriate target and variables Changes by upstream: - https://metacpan.org/changes/distribution/Net-Flow PR: 229207 Submitted by: freebsd_ports@k-worx.org Approved by: maintainer timeout Sponsored by: iXsystems Inc.
Diffstat (limited to 'net')
-rw-r--r--net/p5-Net-Flow/Makefile15
-rw-r--r--net/p5-Net-Flow/distinfo5
-rw-r--r--net/p5-Net-Flow/pkg-plist3
3 files changed, 19 insertions, 4 deletions
diff --git a/net/p5-Net-Flow/Makefile b/net/p5-Net-Flow/Makefile
index 9cda9515624c..19ba0d86995a 100644
--- a/net/p5-Net-Flow/Makefile
+++ b/net/p5-Net-Flow/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= Net-Flow
-PORTVERSION= 1.000
-PORTREVISION= 1
+PORTVERSION= 1.003
CATEGORIES= net perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -13,8 +12,20 @@ COMMENT= Decode and encode NetFlow/IPFIX datagrams
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
+LICENSE_FILE_ART10= ${WRKSRC}/LICENSE
+LICENSE_FILE_GPLv1= ${WRKSRC}/LICENSE
USES= perl5
USE_PERL5= configure
+NO_ARCH= yes
+PORTEXAMPLES= examples/*
+
+OPTIONS_DEFINE= EXAMPLES
+OPTIONS_SUB= yes
+
+post-install-EXAMPLES-on:
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR})
+
.include <bsd.port.mk>
diff --git a/net/p5-Net-Flow/distinfo b/net/p5-Net-Flow/distinfo
index 9fa9f9d7a013..9dfdcdf956d6 100644
--- a/net/p5-Net-Flow/distinfo
+++ b/net/p5-Net-Flow/distinfo
@@ -1,2 +1,3 @@
-SHA256 (Net-Flow-1.000.tar.gz) = 3c29721b2076322b43a88fde81a687e3e992f42847b6f31fe31050a4e709eb50
-SIZE (Net-Flow-1.000.tar.gz) = 11274
+TIMESTAMP = 1529583534
+SHA256 (Net-Flow-1.003.tar.gz) = 432b1ba0f229455ca90f8319d8f60569729c0ca4c3a529bbb40993ea8d67d3fe
+SIZE (Net-Flow-1.003.tar.gz) = 27757
diff --git a/net/p5-Net-Flow/pkg-plist b/net/p5-Net-Flow/pkg-plist
index 1dcc477105b1..0f39046d029c 100644
--- a/net/p5-Net-Flow/pkg-plist
+++ b/net/p5-Net-Flow/pkg-plist
@@ -1,2 +1,5 @@
%%SITE_PERL%%/Net/Flow.pm
+%%SITE_PERL%%/Net/Flow/Constants.pm
%%PERL5_MAN3%%/Net::Flow.3.gz
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/flowdump.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/v5_to_v9.pl