aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2016-01-01 14:36:13 +0800
committersunpoet <sunpoet@FreeBSD.org>2016-01-01 14:36:13 +0800
commit1722c9f328d33e507ca397e9d10c98567631e7aa (patch)
tree68abdb325c1944edeb7765859ef6b74c837355ce /dns
parentcc66a868f01ccce0a68ee849365881b3a1389db5 (diff)
downloadfreebsd-ports-gnome-1722c9f328d33e507ca397e9d10c98567631e7aa.tar.gz
freebsd-ports-gnome-1722c9f328d33e507ca397e9d10c98567631e7aa.tar.zst
freebsd-ports-gnome-1722c9f328d33e507ca397e9d10c98567631e7aa.zip
- Use dns/public_suffix_list for up-to-date public suffix list
- Bump PORTREVISION for package change
Diffstat (limited to 'dns')
-rw-r--r--dns/rubygem-public_suffix/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/dns/rubygem-public_suffix/Makefile b/dns/rubygem-public_suffix/Makefile
index 291a2c87fafe..c7dd1dd8e3f8 100644
--- a/dns/rubygem-public_suffix/Makefile
+++ b/dns/rubygem-public_suffix/Makefile
@@ -3,6 +3,7 @@
PORTNAME= public_suffix
PORTVERSION= 1.5.2
+PORTREVISION= 1
CATEGORIES= dns rubygems
MASTER_SITES= RG
@@ -12,9 +13,14 @@ COMMENT= Ruby domain name parser based on the Public Suffix List
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+PATCH_DEPENDS= public_suffix_list>=0:${PORTSDIR}/dns/public_suffix_list
+
NO_ARCH= yes
USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
+post-patch:
+ @${CP} ${LOCALBASE}/share/public_suffix_list/public_suffix_list.dat ${WRKSRC}/data/definitions.txt
+
.include <bsd.port.mk>