aboutsummaryrefslogtreecommitdiff
path: root/graphics/py-djvulibre
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2017-05-06 04:03:36 +0000
committerMartin Wilke <miwi@FreeBSD.org>2017-05-06 04:03:36 +0000
commit90fc0e80241b4fc5f80c636c121d455974ff9b17 (patch)
tree065abd9a9132a0db5898b573159d54ed26156cb0 /graphics/py-djvulibre
parent555d473ae53bde2a100c8cd61069bfc695b6cad4 (diff)
A set of Python bindings for the DjVuLibre library, an open source
implementation of DjVu. WWW: https://pypi.python.org/pypi/python-djvulibre WWW: http://jwilk.net/software/python-djvulibre PR: 219078 Submitted by: Yuri Victorovich <yuri@rawbw.com>
Notes
Notes: svn path=/head/; revision=440214
Diffstat (limited to 'graphics/py-djvulibre')
-rw-r--r--graphics/py-djvulibre/Makefile24
-rw-r--r--graphics/py-djvulibre/distinfo3
-rw-r--r--graphics/py-djvulibre/pkg-descr5
3 files changed, 32 insertions, 0 deletions
diff --git a/graphics/py-djvulibre/Makefile b/graphics/py-djvulibre/Makefile
new file mode 100644
index 000000000000..ff89275a9499
--- /dev/null
+++ b/graphics/py-djvulibre/Makefile
@@ -0,0 +1,24 @@
+# Created by: Yuri Victorovich <yuri@rawbw.com>
+# $FreeBSD$
+
+PORTNAME= python-djvulibre
+PORTVERSION= 0.8
+CATEGORIES= graphics python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@rawbw.com
+COMMENT= Python support for the DjVu image format
+
+LICENSE= GPLv2
+
+BUILD_DEPENDS= cython:lang/cython
+LIB_DEPENDS= libdjvulibre.so:graphics/djvulibre
+
+USES= python:2 pkgconfig
+USE_PYTHON= autoplist distutils
+
+post-patch:
+ @${REINPLACE_CMD} -e "s|'python'|'${PYTHON_CMD}'|g" ${WRKSRC}/setup.py
+
+.include <bsd.port.mk>
diff --git a/graphics/py-djvulibre/distinfo b/graphics/py-djvulibre/distinfo
new file mode 100644
index 000000000000..91c3680cc59c
--- /dev/null
+++ b/graphics/py-djvulibre/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1493964367
+SHA256 (python-djvulibre-0.8.tar.gz) = 9d6bf3143fa540e8ce330949c9edff7847ad7cd715f7c02e2991212873a5f31b
+SIZE (python-djvulibre-0.8.tar.gz) = 85436
diff --git a/graphics/py-djvulibre/pkg-descr b/graphics/py-djvulibre/pkg-descr
new file mode 100644
index 000000000000..b33b77519c9c
--- /dev/null
+++ b/graphics/py-djvulibre/pkg-descr
@@ -0,0 +1,5 @@
+A set of Python bindings for the DjVuLibre library, an open source
+implementation of DjVu.
+
+WWW: https://pypi.python.org/pypi/python-djvulibre
+WWW: http://jwilk.net/software/python-djvulibre