summaryrefslogtreecommitdiff
path: root/dns/py-tld/Makefile
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2018-01-21 13:12:27 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2018-01-21 13:12:27 +0000
commit0cd2bc005dcbe8905333da59f7f6ef1086420f41 (patch)
treef3f9fb6effb739d4535a46106fb7c0de20da5498 /dns/py-tld/Makefile
parentThis is a Moo extension. It allows another value for the is parameter to "has" (diff)
New port: dns/py-tld
Extract the top level domain (TLD) from the URL given. List of TLD names is taken from Mozilla. WWW: https://github.com/barseghyanartur/tld
Notes
Notes: svn path=/head/; revision=459604
Diffstat (limited to 'dns/py-tld/Makefile')
-rw-r--r--dns/py-tld/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/dns/py-tld/Makefile b/dns/py-tld/Makefile
new file mode 100644
index 000000000000..9a1e57c5b1b8
--- /dev/null
+++ b/dns/py-tld/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+PORTNAME= tld
+PORTVERSION= 0.7.9
+CATEGORIES= dns python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= antoine@FreeBSD.org
+COMMENT= Extract the top level domain (TLD) from the URL given
+
+LICENSE= MPL11 GPLv2 LGPL21
+LICENSE_COMB= multi
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${FLAVOR}
+
+NO_ARCH= yes
+USES= python shebangfix
+USE_PYTHON= autoplist concurrent distutils
+SHEBANG_FILES= src/tld/bin/update-tld-names
+
+.include <bsd.port.mk>