aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2010-04-26 14:44:49 +0800
committerwen <wen@FreeBSD.org>2010-04-26 14:44:49 +0800
commit03976071e49c49bc9eec0814dc19bda43f1d5fb3 (patch)
tree428b1c444318126d6335d40e97cb945a34ee377f
parent4e08e62e519179fbba1082ad3d264643481303f3 (diff)
downloadfreebsd-ports-gnome-03976071e49c49bc9eec0814dc19bda43f1d5fb3.tar.gz
freebsd-ports-gnome-03976071e49c49bc9eec0814dc19bda43f1d5fb3.tar.zst
freebsd-ports-gnome-03976071e49c49bc9eec0814dc19bda43f1d5fb3.zip
python-jswebkit is an cython wrapper for JSContextRef
in pywebkitgtk, which makes it able to call JavaScript functions with WebKit/JavaScriptCore. WWW: http://code.google.com/p/gwrite PR: ports/144677 Submitted by: Ju Pengfei <jupengfei@gmail.com>
-rw-r--r--www/Makefile1
-rw-r--r--www/py-jswebkit/Makefile28
-rw-r--r--www/py-jswebkit/distinfo3
-rw-r--r--www/py-jswebkit/pkg-descr5
-rw-r--r--www/py-jswebkit/pkg-plist2
5 files changed, 39 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index b6eb6502683f..1d6c4e32ccc0 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1416,6 +1416,7 @@
SUBDIR += py-httplib2
SUBDIR += py-imdbpy
SUBDIR += py-jonpy
+ SUBDIR += py-jswebkit
SUBDIR += py-mechanize
SUBDIR += py-meld
SUBDIR += py-meld3
diff --git a/www/py-jswebkit/Makefile b/www/py-jswebkit/Makefile
new file mode 100644
index 000000000000..1dd5cb386ede
--- /dev/null
+++ b/www/py-jswebkit/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: py-jswebkit
+# Date created: 07 Mar 2010
+# Whom: Ju Pengfei <jupengfei@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= jswebkit
+PORTVERSION= 0.0.1
+CATEGORIES= www python
+MASTER_SITES= GOOGLE_CODE
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= python-${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= jupengfei@gmail.com
+COMMENT= WebKit/JavaScriptCore Python bindings
+
+BUILD_DEPENDS= cython:${PORTSDIR}/lang/cython
+LIB_DEPENDS= webkit:${PORTSDIR}/www/webkit-gtk2
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PROJECTHOST= gwrite
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+PYDISTUTILS_NOEGGINFO= yes
+
+.include <bsd.port.mk>
diff --git a/www/py-jswebkit/distinfo b/www/py-jswebkit/distinfo
new file mode 100644
index 000000000000..f4a5a9a85742
--- /dev/null
+++ b/www/py-jswebkit/distinfo
@@ -0,0 +1,3 @@
+MD5 (python-jswebkit-0.0.1.tar.gz) = a3994fb29cd585513d2bbd85c95cf785
+SHA256 (python-jswebkit-0.0.1.tar.gz) = ffa183d0b006347d30cdf8a1b4f37c6bb455a3fa3a840871939ddbc1c9ea4682
+SIZE (python-jswebkit-0.0.1.tar.gz) = 54661
diff --git a/www/py-jswebkit/pkg-descr b/www/py-jswebkit/pkg-descr
new file mode 100644
index 000000000000..6a3593fbb1bc
--- /dev/null
+++ b/www/py-jswebkit/pkg-descr
@@ -0,0 +1,5 @@
+python-jswebkit is an cython wrapper for JSContextRef
+in pywebkitgtk, which makes it able to call JavaScript
+functions with WebKit/JavaScriptCore.
+
+WWW: http://code.google.com/p/gwrite
diff --git a/www/py-jswebkit/pkg-plist b/www/py-jswebkit/pkg-plist
new file mode 100644
index 000000000000..7c89999778b6
--- /dev/null
+++ b/www/py-jswebkit/pkg-plist
@@ -0,0 +1,2 @@
+%%PYTHON_SITELIBDIR%%/jswebkit.so
+%%PYTHON_SITELIBDIR%%/python_jswebkit-0.0.1-py2.6.egg-info