svn commit: r404976 - head/dns/rubygem-public_suffix_service

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Fri Jan 1 06:36:19 UTC 2016


Author: sunpoet
Date: Fri Jan  1 06:36:18 2016
New Revision: 404976
URL: https://svnweb.freebsd.org/changeset/ports/404976

Log:
  - Use dns/public_suffix_list for up-to-date public suffix list
  - Bump PORTREVISION for package change

Modified:
  head/dns/rubygem-public_suffix_service/Makefile

Modified: head/dns/rubygem-public_suffix_service/Makefile
==============================================================================
--- head/dns/rubygem-public_suffix_service/Makefile	Fri Jan  1 06:36:13 2016	(r404975)
+++ head/dns/rubygem-public_suffix_service/Makefile	Fri Jan  1 06:36:18 2016	(r404976)
@@ -3,6 +3,7 @@
 
 PORTNAME=	public_suffix_service
 PORTVERSION=	0.9.1
+PORTREVISION=	1
 CATEGORIES=	dns rubygems
 MASTER_SITES=	RG
 
@@ -12,9 +13,14 @@ COMMENT=	Parse and decompose domain name
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+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}/lib/public_suffix/definitions.txt
+
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list