aboutsummaryrefslogtreecommitdiffstats
path: root/dns/py-publicsuffix/Makefile
blob: 5eaed8e48bb34fc72ad9a511725ecf1e287b3f0e (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: Dmitry Pryadko <d.pryadko@rambler-co.ru>
# $FreeBSD$

PORTNAME=   publicsuffix
PORTVERSION=    1.1.0
PORTREVISION=   4
CATEGORIES= dns python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= d.pryadko@rambler-co.ru
COMMENT=    Get public suffix of domain name from Public Suffix List

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/LICENSE

PATCH_DEPENDS=  public_suffix_list>=0:dns/public_suffix_list

NO_ARCH=    yes
USES=       python
USE_PYTHON= autoplist distutils

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

.include <bsd.port.mk>