aboutsummaryrefslogtreecommitdiff
path: root/dns/rubygem-public_suffix_service/Makefile
blob: 23ab61e7c56a5006d0aa7df9e8b91b6751fbfb1f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
PORTNAME=	public_suffix_service
PORTVERSION=	0.9.1
PORTREVISION=	84
CATEGORIES=	dns rubygems
MASTER_SITES=	RG

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Parse and decompose domain names into TLD, domain, and subdomains
WWW=		http://www.simonecarletti.com/code/public_suffix_service

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

PATCH_DEPENDS=	public_suffix_list>=0:dns/public_suffix_list

USES=		gem

NO_ARCH=	yes

post-patch:
	@${CP} ${LOCALBASE}/share/public_suffix_list/public_suffix_list.dat ${WRKSRC}/lib/public_suffix/definitions.txt

.include <bsd.port.mk>