From fe88676dfff07ce396f5b4cd83df6dc747e04507 Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Sun, 18 May 2025 11:24:19 +0800 Subject: [PATCH] net/p5-Net-Patricia: Fix *_DEPENDS - Add LICENSE - Remove MAKE_JOBS_UNSAFE - Strip shared library - Bump PORTREVISION for dependency and package change --- net/p5-Net-Patricia/Makefile | 12 +++++++++--- net/p5-Net-Patricia/pkg-plist | 2 +- 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 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