aboutsummaryrefslogtreecommitdiff
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
parent3eff9d67a4b320cdb16746fce3cfcf8128a65bf8 (diff)
downloadports-5d8e01757e0419cdacefd1ce418456b310471254.tar.gz
ports-5d8e01757e0419cdacefd1ce418456b310471254.zip
Notes
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-pdftotext/Makefile20
-rw-r--r--textproc/py-pdftotext/distinfo3
-rw-r--r--textproc/py-pdftotext/pkg-descr3
4 files changed, 27 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index c026c9189bff..de6ca7c4f6e7 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1359,6 +1359,7 @@
SUBDIR += py-pdfminer.six
SUBDIR += py-pdfminer3k
SUBDIR += py-pdfrw
+ SUBDIR += py-pdftotext
SUBDIR += py-precis_i18n
SUBDIR += py-pss
SUBDIR += py-pyPEG2
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