aboutsummaryrefslogtreecommitdiffstats
path: root/print/py-pdf
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>2007-10-08 14:54:19 +0800
committerse <se@FreeBSD.org>2007-10-08 14:54:19 +0800
commit48a1d77b8139f5335ef8485c0b8c38d6a58129b4 (patch)
tree4307708da85a30c50ce279a68d37421322291a4e /print/py-pdf
parent09d7a8507fcc8634ba84f422fa378424c204e9c1 (diff)
downloadfreebsd-ports-gnome-48a1d77b8139f5335ef8485c0b8c38d6a58129b4.tar.gz
freebsd-ports-gnome-48a1d77b8139f5335ef8485c0b8c38d6a58129b4.tar.zst
freebsd-ports-gnome-48a1d77b8139f5335ef8485c0b8c38d6a58129b4.zip
New port of pyPdf, a Pure-Python library for access to and modification
of PDF files.
Diffstat (limited to 'print/py-pdf')
-rw-r--r--print/py-pdf/Makefile22
-rw-r--r--print/py-pdf/distinfo3
-rw-r--r--print/py-pdf/pkg-descr10
-rw-r--r--print/py-pdf/pkg-plist16
4 files changed, 51 insertions, 0 deletions
diff --git a/print/py-pdf/Makefile b/print/py-pdf/Makefile
new file mode 100644
index 000000000000..488432ae128a
--- /dev/null
+++ b/print/py-pdf/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: py-pdf
+# Date created: 2007-10-04 16:46:22
+# Whom: Stefan Esser <se@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pdf
+PORTVERSION= 1.10
+CATEGORIES= print python
+MASTER_SITES= http://pybrary.net/pyPdf/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= pyPdf-${PORTVERSION}
+
+MAINTAINER= se@FreeBSD.org
+COMMENT= Pure-Python PDF toolkit
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+PYDISTUTILS_PKGNAME= pyPdf
+
+.include <bsd.port.mk>
diff --git a/print/py-pdf/distinfo b/print/py-pdf/distinfo
new file mode 100644
index 000000000000..75de258176bb
--- /dev/null
+++ b/print/py-pdf/distinfo
@@ -0,0 +1,3 @@
+MD5 (pyPdf-1.10.tar.gz) = e15eca1a3ed4d5c0d86370784e552a92
+SHA256 (pyPdf-1.10.tar.gz) = 4f7a507e634a8b34e489128e1f8f35a46f0824835036a41f764ec8fd5cc7cbfb
+SIZE (pyPdf-1.10.tar.gz) = 27554
diff --git a/print/py-pdf/pkg-descr b/print/py-pdf/pkg-descr
new file mode 100644
index 000000000000..29bc5dc065a1
--- /dev/null
+++ b/print/py-pdf/pkg-descr
@@ -0,0 +1,10 @@
+PyPdf isaA Pure-Python library built as a PDF toolkit. It is capable of:
+
+- extracting document information (title, author, ...),
+- splitting documents page by page,
+- merging documents page by page,
+- cropping pages,
+- merging multiple pages into a single page,
+- encrypting and decrypting PDF files.
+
+WWW: http://pybrary.net/pyPdf/
diff --git a/print/py-pdf/pkg-plist b/print/py-pdf/pkg-plist
new file mode 100644
index 000000000000..79147184b405
--- /dev/null
+++ b/print/py-pdf/pkg-plist
@@ -0,0 +1,16 @@
+%%PYTHON_SITELIBDIR%%/pyPdf/__init__.py
+%%PYTHON_SITELIBDIR%%/pyPdf/filters.py
+%%PYTHON_SITELIBDIR%%/pyPdf/generic.py
+%%PYTHON_SITELIBDIR%%/pyPdf/pdf.py
+%%PYTHON_SITELIBDIR%%/pyPdf/utils.py
+%%PYTHON_SITELIBDIR%%/pyPdf/__init__.pyc
+%%PYTHON_SITELIBDIR%%/pyPdf/filters.pyc
+%%PYTHON_SITELIBDIR%%/pyPdf/generic.pyc
+%%PYTHON_SITELIBDIR%%/pyPdf/pdf.pyc
+%%PYTHON_SITELIBDIR%%/pyPdf/utils.pyc
+%%PYTHON_SITELIBDIR%%/pyPdf/__init__.pyo
+%%PYTHON_SITELIBDIR%%/pyPdf/filters.pyo
+%%PYTHON_SITELIBDIR%%/pyPdf/generic.pyo
+%%PYTHON_SITELIBDIR%%/pyPdf/pdf.pyo
+%%PYTHON_SITELIBDIR%%/pyPdf/utils.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/pyPdf