net/p5-Net-Patricia: Fix *_DEPENDS

- Add LICENSE
- Remove MAKE_JOBS_UNSAFE
- Strip shared library
- Bump PORTREVISION for dependency and package change
This commit is contained in:
Po-Chuan Hsieh 2025-05-18 11:24:19 +08:00
parent 7ace8da1fb
commit fe88676dff
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
2 changed files with 10 additions and 4 deletions

View File

@ -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>

View File

@ -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