summaryrefslogtreecommitdiff
path: root/net/p5-Net-Patricia/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/p5-Net-Patricia/Makefile')
-rw-r--r--net/p5-Net-Patricia/Makefile12
1 files changed, 9 insertions, 3 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>