aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2012-09-06 22:01:54 +0800
committermakc <makc@FreeBSD.org>2012-09-06 22:01:54 +0800
commit9faa7a4db24a9084095c4b4130e763950e8eddcc (patch)
tree4f83d8571b614c1f5d2ec1a591194fe96394af42
parentaf780c5a6320056a3d5e906e86197aa4c05500a9 (diff)
downloadfreebsd-ports-gnome-9faa7a4db24a9084095c4b4130e763950e8eddcc.tar.gz
freebsd-ports-gnome-9faa7a4db24a9084095c4b4130e763950e8eddcc.tar.zst
freebsd-ports-gnome-9faa7a4db24a9084095c4b4130e763950e8eddcc.zip
Add new port graphics/py-poppler-qt4:
Python bindings for poppler-qt4. WWW: http://python-poppler-qt4.googlecode.com PR: based on ports/171223 Submitted by: Martin Dieringer <martin.dieringer at gmx.de>
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/py-poppler-qt4/Makefile26
-rw-r--r--graphics/py-poppler-qt4/distinfo2
-rw-r--r--graphics/py-poppler-qt4/pkg-descr3
4 files changed, 32 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 2d3e1da604e5..1784bc63c777 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -827,6 +827,7 @@
SUBDIR += py-pillow
SUBDIR += py-png
SUBDIR += py-poppler
+ SUBDIR += py-poppler-qt4
SUBDIR += py-pycha
SUBDIR += py-pydot
SUBDIR += py-pyglet
diff --git a/graphics/py-poppler-qt4/Makefile b/graphics/py-poppler-qt4/Makefile
new file mode 100644
index 000000000000..d93580f1298d
--- /dev/null
+++ b/graphics/py-poppler-qt4/Makefile
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME= poppler-qt4
+PORTVERSION= 0.16.2
+CATEGORIES= graphics python
+MASTER_SITES= GOOGLE_CODE
+PROJECTHOST= python-poppler-qt4
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= python-${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= martin.dieringer@gmx.de
+COMMENT= Python bindings for poppler-qt4
+
+BUILD_DEPENDS= ${LOCALBASE}/bin/sip:${PORTSDIR}/devel/py-sip \
+ ${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4-gui \
+ ${PYTHON_SITELIBDIR}/PyQt4/QtXml.so:${PORTSDIR}/textproc/py-qt4-xml
+LIB_DEPENDS= poppler-qt4:${PORTSDIR}/graphics/poppler-qt4
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4-gui
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+PYDISTUTILS_EGGINFO= python_poppler_qt4-${PORTVERSION}-py${PYTHON_VER}.egg-info
+
+PLIST_FILES= ${PYTHON_SITELIBDIR:S;${PREFIX}/;;}/popplerqt4.so
+
+.include <bsd.port.mk>
diff --git a/graphics/py-poppler-qt4/distinfo b/graphics/py-poppler-qt4/distinfo
new file mode 100644
index 000000000000..af966e7e213f
--- /dev/null
+++ b/graphics/py-poppler-qt4/distinfo
@@ -0,0 +1,2 @@
+SHA256 (python-poppler-qt4-0.16.2.tar.gz) = a37cf5f946633cf1d513d9f3c96d40fbc7e069f8d0ffe191e09196fb774efca5
+SIZE (python-poppler-qt4-0.16.2.tar.gz) = 13513
diff --git a/graphics/py-poppler-qt4/pkg-descr b/graphics/py-poppler-qt4/pkg-descr
new file mode 100644
index 000000000000..9c24e7c1e827
--- /dev/null
+++ b/graphics/py-poppler-qt4/pkg-descr
@@ -0,0 +1,3 @@
+Python bindings for poppler-qt4.
+
+WWW: http://python-poppler-qt4.googlecode.com