Import pdfgrep from maintainer Reinhold Straub

ok sthen@

Pdfgrep is a tool to search text in PDF files. It works
similarly to `grep'.
This commit is contained in:
giovanni 2015-03-24 09:57:04 +00:00
parent d422dbe4c5
commit 6e8879bd32
4 changed files with 50 additions and 0 deletions

27
textproc/pdfgrep/Makefile Normal file
View File

@ -0,0 +1,27 @@
# $OpenBSD: Makefile,v 1.1.1.1 2015/03/24 09:57:04 giovanni Exp $
COMMENT = tool to search text in PDF files
DISTNAME = pdfgrep-1.3.2
CATEGORIES = textproc
HOMEPAGE = http://pdfgrep.sourceforge.net/
MAINTAINER = Reinhold Straub <demarchie@web.de>
#GPLv2+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c m pthread stdc++ poppler-cpp
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=pdfgrep/}
LIB_DEPENDS = print/poppler
CONFIGURE_ENV = LDFLAGS="-L${X11BASE}/lib"
CONFIGURE_STYLE = gnu
MAKE_FLAGS = CXX="${CXX}"
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (pdfgrep-1.3.2.tar.gz) = OGsWdDREPdKZ04mg7yktcIEjJVy6sOF54RtlulHZs4Y=
SIZE (pdfgrep-1.3.2.tar.gz) = 114754

View File

@ -0,0 +1,12 @@
Pdfgrep is a tool to search text in PDF files. It works
similarly to `grep'.
Features:
- search for regular expressions.
- support for some grep options, including:
+ filename output.
+ page number output.
+ optional case insensitivity.
+ count occurrences.
+ recursive search
- color output

View File

@ -0,0 +1,9 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2015/03/24 09:57:04 giovanni Exp $
@bin bin/pdfgrep
@man man/man1/pdfgrep.1
share/bash-completion/
share/bash-completion/completions/
share/bash-completion/completions/pdfgrep
share/zsh/
share/zsh/site-functions/
share/zsh/site-functions/_pdfgrep