aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-05-30 20:17:44 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-05-30 20:17:44 +0000
commit7a810f4e86499e0030732f4b5dddc7b68ffca9de (patch)
tree9b1e0224ee551d4572a6b398a5b31e8a6aafd06b /graphics
parentfcd28f536c4785a8d2a5fe5199b8ab71a24e3512 (diff)
downloadports-7a810f4e86499e0030732f4b5dddc7b68ffca9de.tar.gz
ports-7a810f4e86499e0030732f4b5dddc7b68ffca9de.zip
Python bindings for graphics/poppler.
WWW: https://launchpad.net/poppler-python PR: ports/122752 Submitted by: Romain Tartiere <romain at blogreen.org>
Notes
Notes: svn path=/head/; revision=213971
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/py-poppler/Makefile28
-rw-r--r--graphics/py-poppler/distinfo3
-rw-r--r--graphics/py-poppler/pkg-descr3
-rw-r--r--graphics/py-poppler/pkg-plist3
5 files changed, 38 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index ba37f49dd6f8..819edb58c972 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -636,6 +636,7 @@
SUBDIR += py-ming
SUBDIR += py-opengl
SUBDIR += py-paint
+ SUBDIR += py-poppler
SUBDIR += py-pydot
SUBDIR += py-pyproj
SUBDIR += py-qt4-svg
diff --git a/graphics/py-poppler/Makefile b/graphics/py-poppler/Makefile
new file mode 100644
index 000000000000..e020cc5b704b
--- /dev/null
+++ b/graphics/py-poppler/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: py-poppler
+# Date created: 2008-04-14
+# Whom: Romain Tartiere <romain@blogreen.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= poppler
+PORTVERSION= 0.6.2
+CATEGORIES= graphics
+MASTER_SITES= http://www.gnome.org/~gianmt/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= py${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= romain@blogreen.org
+COMMENT= Python bindings for the Poppler PDF rendering library
+
+BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/poppler-glib.pc:${PORTSDIR}/graphics/poppler-gtk \
+ ${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py-cairo \
+ ${LOCALBASE}/libdata/pkgconfig/pygtk-2.0.pc:${PORTSDIR}/x11-toolkits/py-gtk2
+
+USE_PYTHON= yes
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_GNOME= pkgconfig atk
+
+.include <bsd.port.pre.mk>
+.include <bsd.port.post.mk>
diff --git a/graphics/py-poppler/distinfo b/graphics/py-poppler/distinfo
new file mode 100644
index 000000000000..ef3e0360cda6
--- /dev/null
+++ b/graphics/py-poppler/distinfo
@@ -0,0 +1,3 @@
+MD5 (pypoppler-0.6.2.tar.gz) = b3bc6043e8e46f0cad7703c560f2faa7
+SHA256 (pypoppler-0.6.2.tar.gz) = d76802a7bc934d56db70f3899519fec83318eef3cdc0f7095188cde946efceab
+SIZE (pypoppler-0.6.2.tar.gz) = 331206
diff --git a/graphics/py-poppler/pkg-descr b/graphics/py-poppler/pkg-descr
new file mode 100644
index 000000000000..17bc3a604e6f
--- /dev/null
+++ b/graphics/py-poppler/pkg-descr
@@ -0,0 +1,3 @@
+Python bindings for graphics/poppler.
+
+WWW: https://launchpad.net/poppler-python
diff --git a/graphics/py-poppler/pkg-plist b/graphics/py-poppler/pkg-plist
new file mode 100644
index 000000000000..52387cb5dbf2
--- /dev/null
+++ b/graphics/py-poppler/pkg-plist
@@ -0,0 +1,3 @@
+@comment $FreeBSD$
+lib/python2.5/site-packages/poppler.so
+lib/python2.5/site-packages/poppler.la