aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-pdftotext
diff options
context:
space:
mode:
authorMichael Gmelin <grembo@FreeBSD.org>2019-03-23 23:30:47 +0000
committerMichael Gmelin <grembo@FreeBSD.org>2019-03-23 23:30:47 +0000
commit5d8e01757e0419cdacefd1ce418456b310471254 (patch)
tree0186c7288abd4afec76094a73d8bf75056becf00 /textproc/py-pdftotext
parent3eff9d67a4b320cdb16746fce3cfcf8128a65bf8 (diff)
downloadports-5d8e01757e0419cdacefd1ce418456b310471254.tar.gz
ports-5d8e01757e0419cdacefd1ce418456b310471254.zip
Add pdftotext, simple PDF text extraction for python
PR: 236687
Notes
Notes: svn path=/head/; revision=496696
Diffstat (limited to 'textproc/py-pdftotext')
-rw-r--r--textproc/py-pdftotext/Makefile20
-rw-r--r--textproc/py-pdftotext/distinfo3
-rw-r--r--textproc/py-pdftotext/pkg-descr3
3 files changed, 26 insertions, 0 deletions
diff --git a/textproc/py-pdftotext/Makefile b/textproc/py-pdftotext/Makefile
new file mode 100644
index 000000000000..d50be6a6df59
--- /dev/null
+++ b/textproc/py-pdftotext/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME= pdftotext
+PORTVERSION= 2.1.1
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= grembo@FreeBSD.org
+COMMENT= Simple PDF text extraction
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+LIB_DEPENDS= libpoppler.so:graphics/poppler
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/textproc/py-pdftotext/distinfo b/textproc/py-pdftotext/distinfo
new file mode 100644
index 000000000000..0bea30ad084d
--- /dev/null
+++ b/textproc/py-pdftotext/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1553009960
+SHA256 (pdftotext-2.1.1.tar.gz) = e3ad11efe0aa22cbfc46aa1296b2ea5a52ad208b778288311f2801adef178ccb
+SIZE (pdftotext-2.1.1.tar.gz) = 112921
diff --git a/textproc/py-pdftotext/pkg-descr b/textproc/py-pdftotext/pkg-descr
new file mode 100644
index 000000000000..0322ba6a62ed
--- /dev/null
+++ b/textproc/py-pdftotext/pkg-descr
@@ -0,0 +1,3 @@
+Simple PDF text extraction
+
+WWW: https://github.com/jalan/pdftotext