Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (31 sloc) 1.2 KB
PortSystem 1.0
PortGroup cxx11 1.1
name pdfgrep
version 2.1.1
revision 1
conflicts pdfgrep-legacy
categories textproc
platforms darwin
license GPL-2+
maintainers {raimue @raimue}
description A tool to search text in PDF files.
long_description \
Pdfgrep is a tool to search text in PDF files. It works similar to grep.
homepage https://pdfgrep.org/
master_sites https://pdfgrep.org/download/
checksums rmd160 ef5df881b370e0342f33f9775cb156adb796027d \
sha256 2c8155f30fe5d9d8ec4340e48133ed0b241496bbebe29498931f975c67a10c0b \
size 196526
depends_build port:pkgconfig
depends_lib port:poppler \
port:pcre \
port:libgcrypt
configure.args --without-unac
variant unac description {Use unac to remove accents and ligatures before searching} {
depends_lib-append port:unac
configure.args-delete --without-unac
configure.args-append --with-unac
}
livecheck.type regex
livecheck.url ${homepage}/download.html
livecheck.regex ${name}-(\\d+(\\.\\d+)+)\.tar