svn commit: r404975 - head/dns/rubygem-public_suffix

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


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

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

Modified:
  head/dns/rubygem-public_suffix/Makefile

Modified: head/dns/rubygem-public_suffix/Makefile
==============================================================================
--- head/dns/rubygem-public_suffix/Makefile	Fri Jan  1 06:36:08 2016	(r404974)
+++ head/dns/rubygem-public_suffix/Makefile	Fri Jan  1 06:36:13 2016	(r404975)
@@ -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 o
 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>


More information about the svn-ports-all mailing list