summaryrefslogtreecommitdiff
path: root/net/libproxy-python
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2011-08-23 18:29:54 +0000
committerKoop Mast <kwm@FreeBSD.org>2011-08-23 18:29:54 +0000
commitac692c0b61b6868f8e915520f4f1496d46837bec (patch)
treed75ce6e99aa57cdf35b9daa3cf9f371a1fec2a96 /net/libproxy-python
parentAdd glib-networking 2.28.7. (diff)
Update to 0.4.6.
Diffstat (limited to 'net/libproxy-python')
-rw-r--r--net/libproxy-python/Makefile39
-rw-r--r--net/libproxy-python/pkg-descr7
-rw-r--r--net/libproxy-python/pkg-plist3
3 files changed, 49 insertions, 0 deletions
diff --git a/net/libproxy-python/Makefile b/net/libproxy-python/Makefile
new file mode 100644
index 000000000000..99156a0c4541
--- /dev/null
+++ b/net/libproxy-python/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: libproxy-python
+# Date created: 11 Januari 2011
+# Whom: Koop Mast <kwm@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/net/libproxy-python/Makefile,v 1.1 2011/01/12 13:10:54 kwm Exp $
+
+PORTREVISION= 0
+CATEGORIES= net lang
+PKGNAMESUFFIX= -python
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= python binding for libproxy
+
+LIB_DEPENDS= proxy.1:${PORTSDIR}/net/libproxy
+
+MASTERDIR= ${.CURDIR}/../libproxy
+DESCR= ${.CURDIR}/pkg-descr
+PLIST= ${.CURDIR}/pkg-plist
+USE_PYTHON= 2.5+
+
+LIBPROXY_SLAVE= python
+
+do-build:
+# empty
+
+post-build:
+ ${PYTHON_CMD} -Qold ${PYTHON_LIBDIR}/compileall.py \
+ ${WRKSRC}/bindings/python
+ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
+ ${WRKSRC}/bindings/python
+
+do-install:
+.for file in libproxy.py libproxy.pyc libproxy.pyo
+ ${INSTALL_DATA} ${WRKSRC}/bindings/python/${file} \
+ ${PYTHON_SITELIBDIR}
+.endfor
+
+.include "${MASTERDIR}/Makefile"
diff --git a/net/libproxy-python/pkg-descr b/net/libproxy-python/pkg-descr
new file mode 100644
index 000000000000..fe6c53af7737
--- /dev/null
+++ b/net/libproxy-python/pkg-descr
@@ -0,0 +1,7 @@
+Libproxy exists to answer the question: Given a network resource, how do I
+reach it? It handles all the details, enabling you to get back to
+programming.
+
+This plug-in allows python applications to make use of libproxy.
+
+WWW: http://code.google.com/p/libproxy/
diff --git a/net/libproxy-python/pkg-plist b/net/libproxy-python/pkg-plist
new file mode 100644
index 000000000000..3c6098ab109f
--- /dev/null
+++ b/net/libproxy-python/pkg-plist
@@ -0,0 +1,3 @@
+%%PYTHON_SITELIBDIR%%/libproxy.py
+%%PYTHON_SITELIBDIR%%/libproxy.pyc
+%%PYTHON_SITELIBDIR%%/libproxy.pyo