8d5d61fa74
This module allows you to get the public suffix of a domain name using the Public Suffix List from http://publicsuffix.org A public suffix is one under which Internet users can directly register names. Some examples of public suffixes are .com, .co.uk and pvt.k12.wy.us. Accurately knowing the public suffix of a domain is useful when handling web browser cookies, highlighting the most important part of a domain name in a user interface or sorting URLs by web site WWW: http://pypi.python.org/pypi/publicsuffix/ PR: ports/169326 Submitted by: d.pryadko@rambler-co.ru
27 lines
640 B
Makefile
27 lines
640 B
Makefile
# New ports collection makefile for: py-publicsuffix
|
|
# Date created: 22 June 2012
|
|
# Whom: Dmitry Pryadko <d.pryadko@rambler-co.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= publicsuffix
|
|
PORTVERSION= 1.0.2
|
|
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
|
|
|
|
PLIST_FILES= %%PYTHON_SITELIBDIR%%/publicsuffix.py \
|
|
%%PYTHON_SITELIBDIR%%/publicsuffix.pyc \
|
|
%%PYTHON_SITELIBDIR%%/publicsuffix.pyo \
|
|
%%PYTHON_SITELIBDIR%%/publicsuffix.txt
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
|
|
.include <bsd.port.mk>
|