From 48a1d77b8139f5335ef8485c0b8c38d6a58129b4 Mon Sep 17 00:00:00 2001 From: se Date: Mon, 8 Oct 2007 06:54:19 +0000 Subject: New port of pyPdf, a Pure-Python library for access to and modification of PDF files. --- print/Makefile | 1 + print/py-pdf/Makefile | 22 ++++++++++++++++++++++ print/py-pdf/distinfo | 3 +++ print/py-pdf/pkg-descr | 10 ++++++++++ print/py-pdf/pkg-plist | 16 ++++++++++++++++ 5 files changed, 52 insertions(+) create mode 100644 print/py-pdf/Makefile create mode 100644 print/py-pdf/distinfo create mode 100644 print/py-pdf/pkg-descr create mode 100644 print/py-pdf/pkg-plist (limited to 'print') diff --git a/print/Makefile b/print/Makefile index 0b88a3c59cd2..43124391cc91 100644 --- a/print/Makefile +++ b/print/Makefile @@ -265,6 +265,7 @@ SUBDIR += psutils-letter SUBDIR += pup SUBDIR += py-fonttools + SUBDIR += py-pdf SUBDIR += py-pyscript SUBDIR += py-reportlab SUBDIR += py-reportlab2 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 +# +# $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 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 -- cgit