aboutsummaryrefslogtreecommitdiff
path: root/net/py-miniupnpc
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2009-08-13 14:55:58 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2009-08-13 14:55:58 +0000
commitb72a7d7ddd59ba89b6dd736aeaf5b1c21ca01787 (patch)
treea49edfa3d1c82868bf547c6dcb3251fdf6dbdf14 /net/py-miniupnpc
parentc216e0e34f22d56f8c065a425289ad826f92438c (diff)
downloadports-b72a7d7ddd59ba89b6dd736aeaf5b1c21ca01787.tar.gz
ports-b72a7d7ddd59ba89b6dd736aeaf5b1c21ca01787.zip
Python module for miniupnpc
The usage of the miniUPnP client library is useful whenever an application needs to listen for incoming connections. Examples : P2P applications, FTP clients for active mode, IRC (for DCC) or IM applications, network games, any server. WWW: http://miniupnp.free.fr/ PR: 137612 Submitted by: Anonymous
Notes
Notes: svn path=/head/; revision=239440
Diffstat (limited to 'net/py-miniupnpc')
-rw-r--r--net/py-miniupnpc/Makefile26
-rw-r--r--net/py-miniupnpc/pkg-plist1
2 files changed, 27 insertions, 0 deletions
diff --git a/net/py-miniupnpc/Makefile b/net/py-miniupnpc/Makefile
new file mode 100644
index 000000000000..2f7eaf5b12cc
--- /dev/null
+++ b/net/py-miniupnpc/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: py-miniupnpc
+# Date created: 9 Aug 2009
+# Whom: Anonymous
+#
+# $FreeBSD$
+#
+
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+COMMENT= Python module for miniupnpc
+
+BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/net/miniupnpc:build
+
+MASTERDIR= ${.CURDIR}/../miniupnpc
+
+USE_PYTHON= yes
+USE_PYDISTUTILS=yes
+
+WRKDIR= ${WRKDIRPREFIX}${MASTERDIR}/work
+PLIST= ${.CURDIR}/pkg-plist
+
+.if exists(${.CURDIR}/Makefile.local)
+.include "${.CURDIR}/Makefile.local"
+.endif
+
+.include "${MASTERDIR}/Makefile"
diff --git a/net/py-miniupnpc/pkg-plist b/net/py-miniupnpc/pkg-plist
new file mode 100644
index 000000000000..fd5ba6564707
--- /dev/null
+++ b/net/py-miniupnpc/pkg-plist
@@ -0,0 +1 @@
+%%PYTHON_SITELIBDIR%%/miniupnpc.so