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:
parent
d422dbe4c5
commit
6e8879bd32
27
textproc/pdfgrep/Makefile
Normal file
27
textproc/pdfgrep/Makefile
Normal 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>
|
2
textproc/pdfgrep/distinfo
Normal file
2
textproc/pdfgrep/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (pdfgrep-1.3.2.tar.gz) = OGsWdDREPdKZ04mg7yktcIEjJVy6sOF54RtlulHZs4Y=
|
||||
SIZE (pdfgrep-1.3.2.tar.gz) = 114754
|
12
textproc/pdfgrep/pkg/DESCR
Normal file
12
textproc/pdfgrep/pkg/DESCR
Normal 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
|
9
textproc/pdfgrep/pkg/PLIST
Normal file
9
textproc/pdfgrep/pkg/PLIST
Normal 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
|
Loading…
Reference in New Issue
Block a user