aboutsummaryrefslogtreecommitdiff
path: root/dns/py-publicsuffix2/Makefile
blob: 53943778b00f4a5b92f39f8921f77f2f82bca746 (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
PORTNAME=	publicsuffix2
PORTVERSION=	2.20191221
PORTREVISION=	31
CATEGORIES=	dns python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	ml@netfence.it
COMMENT=	Get public suffix of domain name from Public Suffix List (Fork)
WWW=		https://github.com/nexb/python-publicsuffix2

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/publicsuffix2.LICENSE

PATCH_DEPENDS=	public_suffix_list>=0:dns/public_suffix_list

USES=		python:3.6+
USE_PYTHON=	autoplist distutils

NO_ARCH=	yes

post-patch:
	@${CP} ${LOCALBASE}/share/public_suffix_list/public_suffix_list.dat ${WRKSRC}/src/publicsuffix2/public_suffix_list.dat

.include <bsd.port.mk>