aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2010-05-11 11:08:58 +0800
committerwen <wen@FreeBSD.org>2010-05-11 11:08:58 +0800
commitcc9e907a26d74e7b1fe8a3116f7f595da5fc6ad6 (patch)
treee7fec146d2ea9a72d1e8bbe9939bf52b833ff820
parent63c85d1a71a06a482c7d7a4dff64f5a3f5b3fda7 (diff)
downloadfreebsd-ports-gnome-cc9e907a26d74e7b1fe8a3116f7f595da5fc6ad6.tar.gz
freebsd-ports-gnome-cc9e907a26d74e7b1fe8a3116f7f595da5fc6ad6.tar.zst
freebsd-ports-gnome-cc9e907a26d74e7b1fe8a3116f7f595da5fc6ad6.zip
py-tftpy is a Pure Python TFTP Implementation.
PR: ports/146480 Submitted by: Ju Pengfei <jupengfei@gmail.com>
-rw-r--r--ftp/Makefile1
-rw-r--r--ftp/py-tftpy/Makefile21
-rw-r--r--ftp/py-tftpy/distinfo3
-rw-r--r--ftp/py-tftpy/pkg-descr3
-rw-r--r--ftp/py-tftpy/pkg-plist24
5 files changed, 52 insertions, 0 deletions
diff --git a/ftp/Makefile b/ftp/Makefile
index 6f2f069816ca..ffd5637a72aa 100644
--- a/ftp/Makefile
+++ b/ftp/Makefile
@@ -98,6 +98,7 @@
SUBDIR += py-curl
SUBDIR += py-ftputil
SUBDIR += py-pyftpdlib
+ SUBDIR += py-tftpy
SUBDIR += quftp
SUBDIR += rexx-curl
SUBDIR += scythia
diff --git a/ftp/py-tftpy/Makefile b/ftp/py-tftpy/Makefile
new file mode 100644
index 000000000000..52e927710c1f
--- /dev/null
+++ b/ftp/py-tftpy/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: py-tftpy
+# Date created: 11 May 2010
+# Whom: Ju Pengfei <jupengfei@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= tftpy
+PORTVERSION= 0.5.0
+CATEGORIES= ftp python
+MASTER_SITES= SF \
+ CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= jupengfei@gmail.com
+COMMENT= A Pure Python TFTP Implementation
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+.include <bsd.port.mk>
diff --git a/ftp/py-tftpy/distinfo b/ftp/py-tftpy/distinfo
new file mode 100644
index 000000000000..5faaac6d5252
--- /dev/null
+++ b/ftp/py-tftpy/distinfo
@@ -0,0 +1,3 @@
+MD5 (tftpy-0.5.0.tar.gz) = eebb8c9e3e874702d9f75bc25e65a4ad
+SHA256 (tftpy-0.5.0.tar.gz) = c8e797ee9f49153759f578211854f6cf62a8032c42c5c9f3905c03258cd3855e
+SIZE (tftpy-0.5.0.tar.gz) = 20614
diff --git a/ftp/py-tftpy/pkg-descr b/ftp/py-tftpy/pkg-descr
new file mode 100644
index 000000000000..68d721570e6f
--- /dev/null
+++ b/ftp/py-tftpy/pkg-descr
@@ -0,0 +1,3 @@
+TFTPy is a Pure Python TFTP Implementation.
+
+WWW: http://tftpy.sourceforge.net/
diff --git a/ftp/py-tftpy/pkg-plist b/ftp/py-tftpy/pkg-plist
new file mode 100644
index 000000000000..8c158b1647ec
--- /dev/null
+++ b/ftp/py-tftpy/pkg-plist
@@ -0,0 +1,24 @@
+bin/tftpy_client.py
+bin/tftpy_server.py
+%%PYTHON_SITELIBDIR%%/tftpy/TftpServer.py
+%%PYTHON_SITELIBDIR%%/tftpy/TftpPacketTypes.py
+%%PYTHON_SITELIBDIR%%/tftpy/TftpStates.py
+%%PYTHON_SITELIBDIR%%/tftpy/TftpShared.py
+%%PYTHON_SITELIBDIR%%/tftpy/__init__.py
+%%PYTHON_SITELIBDIR%%/tftpy/TftpClient.py
+%%PYTHON_SITELIBDIR%%/tftpy/TftpPacketFactory.py
+%%PYTHON_SITELIBDIR%%/tftpy/TftpServer.pyc
+%%PYTHON_SITELIBDIR%%/tftpy/TftpPacketTypes.pyc
+%%PYTHON_SITELIBDIR%%/tftpy/TftpStates.pyc
+%%PYTHON_SITELIBDIR%%/tftpy/TftpShared.pyc
+%%PYTHON_SITELIBDIR%%/tftpy/__init__.pyc
+%%PYTHON_SITELIBDIR%%/tftpy/TftpClient.pyc
+%%PYTHON_SITELIBDIR%%/tftpy/TftpPacketFactory.pyc
+%%PYTHON_SITELIBDIR%%/tftpy/TftpServer.pyo
+%%PYTHON_SITELIBDIR%%/tftpy/TftpPacketTypes.pyo
+%%PYTHON_SITELIBDIR%%/tftpy/TftpStates.pyo
+%%PYTHON_SITELIBDIR%%/tftpy/TftpShared.pyo
+%%PYTHON_SITELIBDIR%%/tftpy/__init__.pyo
+%%PYTHON_SITELIBDIR%%/tftpy/TftpClient.pyo
+%%PYTHON_SITELIBDIR%%/tftpy/TftpPacketFactory.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/tftpy