aboutsummaryrefslogtreecommitdiffstats
path: root/dns/p5-Mozilla-PublicSuffix
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2016-01-01 14:36:08 +0800
committersunpoet <sunpoet@FreeBSD.org>2016-01-01 14:36:08 +0800
commitcc66a868f01ccce0a68ee849365881b3a1389db5 (patch)
treefa13afaef784ad481b541afe7edaba3040167303 /dns/p5-Mozilla-PublicSuffix
parent4b85991d68a1678e5cde9ad7043a1023d0e67469 (diff)
downloadfreebsd-ports-graphics-cc66a868f01ccce0a68ee849365881b3a1389db5.tar.gz
freebsd-ports-graphics-cc66a868f01ccce0a68ee849365881b3a1389db5.tar.zst
freebsd-ports-graphics-cc66a868f01ccce0a68ee849365881b3a1389db5.zip
- Use dns/public_suffix_list for up-to-date public suffix list
- Bump PORTREVISION for package change
Diffstat (limited to 'dns/p5-Mozilla-PublicSuffix')
-rw-r--r--dns/p5-Mozilla-PublicSuffix/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/dns/p5-Mozilla-PublicSuffix/Makefile b/dns/p5-Mozilla-PublicSuffix/Makefile
index dacc6d2a227..229de415895 100644
--- a/dns/p5-Mozilla-PublicSuffix/Makefile
+++ b/dns/p5-Mozilla-PublicSuffix/Makefile
@@ -4,7 +4,7 @@
PORTNAME= Mozilla-PublicSuffix
PORTVERSION= 0.1.19
DISTVERSIONPREFIX= v
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= dns perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -16,10 +16,14 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= p5-URI>=0:${PORTSDIR}/net/p5-URI
+PATCH_DEPENDS= public_suffix_list>=0:${PORTSDIR}/dns/public_suffix_list
RUN_DEPENDS:= ${BUILD_DEPENDS}
NO_ARCH= yes
USE_PERL5= modbuild
USES= perl5
+post-patch:
+ @${CP} ${LOCALBASE}/share/public_suffix_list/public_suffix_list.dat ${WRKSRC}/effective_tld_names.dat
+
.include <bsd.port.mk>