aboutsummaryrefslogtreecommitdiffstats
path: root/dns/p5-Mozilla-PublicSuffix/Makefile
blob: 50537db224135bf0ba0eafc07287ee5b1847ef0a (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
27
28
29
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$

PORTNAME=   Mozilla-PublicSuffix
PORTVERSION=    0.1.15
CATEGORIES= dns perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-
DISTNAME=   ${PORTNAME}-v${PORTVERSION}

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Get public suffix of domain name via Mozilla Public Suffix List

LICENSE=    MIT

BUILD_DEPENDS=  p5-URI>=0:${PORTSDIR}/net/p5-URI
RUN_DEPENDS:=   ${BUILD_DEPENDS}

PERL_MODBUILD=  yes

MAN3=       Mozilla::PublicSuffix.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 501400
BUILD_DEPENDS+= p5-HTTP-Tiny>=0:${PORTSDIR}/www/p5-HTTP-Tiny
.endif

.include <bsd.port.post.mk>