summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-05-18 11:24:19 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-05-18 11:35:23 +0800
commitfe88676dfff07ce396f5b4cd83df6dc747e04507 (patch)
tree8e77919cd8b743a00ec28fde01926f7db450fb4f /net
parentwww/rubygem-thruster: Update to 0.1.13 (diff)
net/p5-Net-Patricia: Fix *_DEPENDS
- Add LICENSE - Remove MAKE_JOBS_UNSAFE - Strip shared library - Bump PORTREVISION for dependency and package change
Diffstat (limited to 'net')
-rw-r--r--net/p5-Net-Patricia/Makefile12
-rw-r--r--net/p5-Net-Patricia/pkg-plist2
2 files changed, 10 insertions, 4 deletions
diff --git a/net/p5-Net-Patricia/Makefile b/net/p5-Net-Patricia/Makefile
index a91027284949..e8d95b4fc277 100644
--- a/net/p5-Net-Patricia/Makefile
+++ b/net/p5-Net-Patricia/Makefile
@@ -1,5 +1,6 @@
PORTNAME= Net-Patricia
PORTVERSION= 1.23
+PORTREVISION= 1
CATEGORIES= net perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -8,12 +9,17 @@ MAINTAINER= perl@FreeBSD.org
COMMENT= Perl module for fast IP address lookups
WWW= https://metacpan.org/release/Net-Patricia
-BUILD_DEPENDS= p5-Net-CIDR-Lite>=0.20:net/p5-Net-CIDR-Lite
-RUN_DEPENDS= p5-Socket6>=0:net/p5-Socket6
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
-MAKE_JOBS_UNSAFE=yes
+BUILD_DEPENDS= ${RUN_DEPENDS}
+RUN_DEPENDS= p5-Net-CIDR-Lite>=0.20:net/p5-Net-CIDR-Lite \
+ p5-Socket6>=0:net/p5-Socket6
USES= perl5
USE_PERL5= configure
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Net/Patricia/Patricia.so
+
.include <bsd.port.mk>
diff --git a/net/p5-Net-Patricia/pkg-plist b/net/p5-Net-Patricia/pkg-plist
index f5c395475190..13658866cf87 100644
--- a/net/p5-Net-Patricia/pkg-plist
+++ b/net/p5-Net-Patricia/pkg-plist
@@ -1,3 +1,3 @@
-%%SITE_ARCH%%/auto/Net/Patricia/Patricia.so
%%SITE_ARCH%%/Net/Patricia.pm
+%%SITE_ARCH%%/auto/Net/Patricia/Patricia.so
%%PERL5_MAN3%%/Net::Patricia.3.gz