aboutsummaryrefslogtreecommitdiff
path: root/textproc/pdfgrep
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2018-08-16 23:01:37 +0000
committerWen Heping <wen@FreeBSD.org>2018-08-16 23:01:37 +0000
commit4a86e1731562bf3326bb383099bd48ac9c51bd21 (patch)
tree16afaf50af1cbff60f52387cdbf6941a7a181c11 /textproc/pdfgrep
parent61b1eeed67b63126ec015612e93bab2b1dd23262 (diff)
downloadports-4a86e1731562bf3326bb383099bd48ac9c51bd21.tar.gz
ports-4a86e1731562bf3326bb383099bd48ac9c51bd21.zip
- Update to 2.1.1
- Add option to enable or disable Perl expressions PR: 230309 Submitted by: ndowens@yahoo.com Approved by: maintainer
Notes
Notes: svn path=/head/; revision=477381
Diffstat (limited to 'textproc/pdfgrep')
-rw-r--r--textproc/pdfgrep/Makefile11
-rw-r--r--textproc/pdfgrep/distinfo6
2 files changed, 10 insertions, 7 deletions
diff --git a/textproc/pdfgrep/Makefile b/textproc/pdfgrep/Makefile
index b6fb8c0f0c87..a8497b027364 100644
--- a/textproc/pdfgrep/Makefile
+++ b/textproc/pdfgrep/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= pdfgrep
-PORTVERSION= 2.0.1
-PORTREVISION= 1
+PORTVERSION= 2.1.1
CATEGORIES= textproc
MASTER_SITES= https://pdfgrep.org/download/
@@ -13,9 +12,8 @@ COMMENT= Tool to search text in PDF files
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= libpcre.so:devel/pcre \
+LIB_DEPENDS= libgcrypt.so:security/libgcrypt \
libpoppler.so:graphics/poppler \
- libgcrypt.so:security/libgcrypt \
libgpg-error.so:security/libgpg-error
BROKEN_powerpc64= fails to link: pdfgrep.cc: undefined reference to poppler::set_debug_error_function
@@ -27,4 +25,9 @@ PLIST_FILES= bin/pdfgrep man/man1/pdfgrep.1.gz \
share/bash-completion/completions/pdfgrep \
share/zsh/site-functions/_pdfgrep
+OPTIONS_DEFINE= LIBPCRE
+LIBPCRE_DESC= Enable Perl compatable expressions
+LIBPCRE_LIB_DEPENDS= libpcre.so:devel/pcre
+LIBPCRE_CONFIGURE_WITH= libpcre
+
.include <bsd.port.mk>
diff --git a/textproc/pdfgrep/distinfo b/textproc/pdfgrep/distinfo
index ca50fc87899d..271a7714c192 100644
--- a/textproc/pdfgrep/distinfo
+++ b/textproc/pdfgrep/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1502322512
-SHA256 (pdfgrep-2.0.1.tar.gz) = 0370d744b3072d47383dbed2cb9c8b0b64b83c084da5a8961f8d4bc7669e941e
-SIZE (pdfgrep-2.0.1.tar.gz) = 187217
+TIMESTAMP = 1534383966
+SHA256 (pdfgrep-2.1.1.tar.gz) = 2c8155f30fe5d9d8ec4340e48133ed0b241496bbebe29498931f975c67a10c0b
+SIZE (pdfgrep-2.1.1.tar.gz) = 196526