aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2002-10-06 23:14:10 +0800
committerperky <perky@FreeBSD.org>2002-10-06 23:14:10 +0800
commit3657f806a467e4e34cde57d8ff1e30e519ef9fbc (patch)
tree7424fab6006bec4a0194e6f38ba230d2f27d867e /net
parent5211affb0ca0868c71df94b9b9aa6afdec9614f8 (diff)
downloadfreebsd-ports-gnome-3657f806a467e4e34cde57d8ff1e30e519ef9fbc.tar.gz
freebsd-ports-gnome-3657f806a467e4e34cde57d8ff1e30e519ef9fbc.tar.zst
freebsd-ports-gnome-3657f806a467e4e34cde57d8ff1e30e519ef9fbc.zip
Add py-dns 2.3.0, DNS (Domain Name Service) library for Python.
PR: 43256 Submitted by: Mark Linimon (linimon@lonesome.com)
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/py-dns/Makefile33
-rw-r--r--net/py-dns/distinfo1
-rw-r--r--net/py-dns/pkg-comment1
-rw-r--r--net/py-dns/pkg-descr12
-rw-r--r--net/py-dns/pkg-plist31
6 files changed, 79 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index e7f2f6954f64..1041be66da75 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -435,6 +435,7 @@
SUBDIR += pvm++
SUBDIR += pxe
SUBDIR += py-adns
+ SUBDIR += py-dns
SUBDIR += py-fngrab
SUBDIR += py-google
SUBDIR += py-ipy
diff --git a/net/py-dns/Makefile b/net/py-dns/Makefile
new file mode 100644
index 000000000000..937699193e82
--- /dev/null
+++ b/net/py-dns/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: py-dns
+# Date created: 21 September 2002
+# Whom: Mark Linimon (linimon@lonesome.com)
+#
+# $FreeBSD$
+#
+
+PORTNAME= dns
+PORTVERSION= 2.3.0
+CATEGORIES= net python
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= pydns
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= pydns-${PORTVERSION}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= linimon@lonesome.com
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+DOCS= README.txt README-guido.txt
+DOCSDIR= ${PREFIX}/share/doc/py-dns
+
+.if !defined(NOPORTDOCS)
+post-install:
+ @${MKDIR} ${DOCSDIR}
+.for file in ${DOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/net/py-dns/distinfo b/net/py-dns/distinfo
new file mode 100644
index 000000000000..8403dfc9c3ac
--- /dev/null
+++ b/net/py-dns/distinfo
@@ -0,0 +1 @@
+MD5 (pydns-2.3.0.tgz) = b79616da9e88abce88edf82b369ee58d
diff --git a/net/py-dns/pkg-comment b/net/py-dns/pkg-comment
new file mode 100644
index 000000000000..518f7b123578
--- /dev/null
+++ b/net/py-dns/pkg-comment
@@ -0,0 +1 @@
+DNS (Domain Name Service) library for Python
diff --git a/net/py-dns/pkg-descr b/net/py-dns/pkg-descr
new file mode 100644
index 000000000000..b7378f446bd4
--- /dev/null
+++ b/net/py-dns/pkg-descr
@@ -0,0 +1,12 @@
+This directory contains a Python module that implements a DNS (Domain
+Name Server) client, plus additional modules that define some symbolic
+constants used by DNS (dnstype, dnsclass, dnsopcode).
+
+This code is released under a Python-style license.
+
+A mailing list is available at pydns-developer@lists.sourceforge.net.
+
+WWW: http://pydns.sourceforge.net/
+
+- Mark Linimon
+linimon@lonesome.com
diff --git a/net/py-dns/pkg-plist b/net/py-dns/pkg-plist
new file mode 100644
index 000000000000..452036140402
--- /dev/null
+++ b/net/py-dns/pkg-plist
@@ -0,0 +1,31 @@
+%%PYTHON_SITELIBDIR%%/DNS/Base.py
+%%PYTHON_SITELIBDIR%%/DNS/Base.pyc
+%%PYTHON_SITELIBDIR%%/DNS/Base.pyo
+%%PYTHON_SITELIBDIR%%/DNS/Class.py
+%%PYTHON_SITELIBDIR%%/DNS/Class.pyc
+%%PYTHON_SITELIBDIR%%/DNS/Class.pyo
+%%PYTHON_SITELIBDIR%%/DNS/Lib.py
+%%PYTHON_SITELIBDIR%%/DNS/Lib.pyc
+%%PYTHON_SITELIBDIR%%/DNS/Lib.pyo
+%%PYTHON_SITELIBDIR%%/DNS/Opcode.py
+%%PYTHON_SITELIBDIR%%/DNS/Opcode.pyc
+%%PYTHON_SITELIBDIR%%/DNS/Opcode.pyo
+%%PYTHON_SITELIBDIR%%/DNS/Status.py
+%%PYTHON_SITELIBDIR%%/DNS/Status.pyc
+%%PYTHON_SITELIBDIR%%/DNS/Status.pyo
+%%PYTHON_SITELIBDIR%%/DNS/Type.py
+%%PYTHON_SITELIBDIR%%/DNS/Type.pyc
+%%PYTHON_SITELIBDIR%%/DNS/Type.pyo
+%%PYTHON_SITELIBDIR%%/DNS/__init__.py
+%%PYTHON_SITELIBDIR%%/DNS/__init__.pyc
+%%PYTHON_SITELIBDIR%%/DNS/__init__.pyo
+%%PYTHON_SITELIBDIR%%/DNS/lazy.py
+%%PYTHON_SITELIBDIR%%/DNS/lazy.pyc
+%%PYTHON_SITELIBDIR%%/DNS/lazy.pyo
+%%PYTHON_SITELIBDIR%%/DNS/win32dns.py
+%%PYTHON_SITELIBDIR%%/DNS/win32dns.pyc
+%%PYTHON_SITELIBDIR%%/DNS/win32dns.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/DNS
+%%PORTDOCS%%share/doc/py-dns/README.txt
+%%PORTDOCS%%share/doc/py-dns/README-guido.txt
+%%PORTDOCS%%@dirrm share/doc/py-dns