aboutsummaryrefslogtreecommitdiffstats
path: root/dns/rubygem-public_suffix/Makefile
blob: fbbaddbb8960c4cd85c7eebcc459b9eee24c3d87 (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
24
25
26
# Created by: Steve Wills <swills@FreeBSD.org>
# $FreeBSD$

PORTNAME=   public_suffix
PORTVERSION=    1.5.3
PORTREVISION=   2
CATEGORIES= dns rubygems
MASTER_SITES=   RG

MAINTAINER= ruby@FreeBSD.org
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>