aboutsummaryrefslogtreecommitdiffstats
path: root/dns/py-publicsuffix
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2017-04-19 22:39:05 +0800
committersunpoet <sunpoet@FreeBSD.org>2017-04-19 22:39:05 +0800
commit5fdfa130fa3a9d24bfa24d130f6501ef1df7c3b8 (patch)
tree8f3c142edd7dfca97378ba9de9a871d9d911db5e /dns/py-publicsuffix
parent6f8b3cbb1c182fba803677e5c43a1fbd718c19d4 (diff)
downloadfreebsd-ports-gnome-5fdfa130fa3a9d24bfa24d130f6501ef1df7c3b8.tar.gz
freebsd-ports-gnome-5fdfa130fa3a9d24bfa24d130f6501ef1df7c3b8.tar.zst
freebsd-ports-gnome-5fdfa130fa3a9d24bfa24d130f6501ef1df7c3b8.zip
Use dns/public_suffix_list for up-to-date public suffix list
- Bump PORTREVISION for package change PR: 218362 Submitted by: sunpoet (myself) Approved by: maintainer (timeout, 15 days)
Diffstat (limited to 'dns/py-publicsuffix')
-rw-r--r--dns/py-publicsuffix/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/dns/py-publicsuffix/Makefile b/dns/py-publicsuffix/Makefile
index fcb9d26964ed..6dc4f2e9a09e 100644
--- a/dns/py-publicsuffix/Makefile
+++ b/dns/py-publicsuffix/Makefile
@@ -3,6 +3,7 @@
PORTNAME= publicsuffix
PORTVERSION= 1.1.0
+PORTREVISION= 1
CATEGORIES= dns python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,8 +14,13 @@ COMMENT= Get public suffix of domain name from Public Suffix List
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
+PATCH_DEPENDS= public_suffix_list>=0:dns/public_suffix_list
+
NO_ARCH= yes
USES= python
USE_PYTHON= autoplist distutils
+post-patch:
+ @${CP} ${LOCALBASE}/share/public_suffix_list/public_suffix_list.dat ${WRKSRC}/publicsuffix/public_suffix_list.dat
+
.include <bsd.port.mk>