diff options
author | wen <wen@FreeBSD.org> | 2010-12-15 16:14:48 +0800 |
---|---|---|
committer | wen <wen@FreeBSD.org> | 2010-12-15 16:14:48 +0800 |
commit | 8796402bfa4da76ac5b145a6e5897639ff57ebb1 (patch) | |
tree | 6c2ddc1f24ebbc9afcfd7ea1c669e3fd6c2991d1 /textproc | |
parent | 38221398d2c6a42b84a0dabf1e75e638cc99ab08 (diff) | |
download | freebsd-ports-gnome-8796402bfa4da76ac5b145a6e5897639ff57ebb1.tar.gz freebsd-ports-gnome-8796402bfa4da76ac5b145a6e5897639ff57ebb1.tar.zst freebsd-ports-gnome-8796402bfa4da76ac5b145a6e5897639ff57ebb1.zip |
Pdfgrep is a tool to search text in PDF files. It works similar to grep.
Features:
* search for regular expressions.
* support for some important grep options, including:
o filename output.
o page number output.
o optional case insensitivity.
o count occurrences.
* and the most important feature: color output!
WWW: http://pdfgrep.sourceforge.net/
PR: ports/152648
Submitted by: Michael Ranner <michael@ranner.eu>
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/pdfgrep/Makefile | 29 | ||||
-rw-r--r-- | textproc/pdfgrep/distinfo | 2 | ||||
-rw-r--r-- | textproc/pdfgrep/pkg-descr | 14 |
4 files changed, 46 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 1f975b09377a..c8a5fd7e55c7 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -926,6 +926,7 @@ SUBDIR += par SUBDIR += pardiff SUBDIR += pcrs + SUBDIR += pdfgrep SUBDIR += pdfoutline SUBDIR += pdftohtml SUBDIR += pear-File_Fortune diff --git a/textproc/pdfgrep/Makefile b/textproc/pdfgrep/Makefile new file mode 100644 index 000000000000..5d360b2001df --- /dev/null +++ b/textproc/pdfgrep/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: pdfgrep +# Date created: 2010-11-28 +# Whom: Michael Ranner <michael@ranner.eu> +# +# $FreeBSD$ +# + +PORTNAME= pdfgrep +PORTVERSION= 1.1 +CATEGORIES= textproc +MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}/ +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= michael@ranner.eu +COMMENT= A tool to search text in PDF files + +LIB_DEPENDS= poppler.6:${PORTSDIR}/graphics/poppler + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +GNU_CONFIGURE= yes +USE_GMAKE= yes +CONFIGURE_ARGS= poppler_CFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/poppler" + +PLIST_FILES= bin/pdfgrep +MAN1= pdfgrep.1 + +.include <bsd.port.mk> diff --git a/textproc/pdfgrep/distinfo b/textproc/pdfgrep/distinfo new file mode 100644 index 000000000000..6279d5cd8ec7 --- /dev/null +++ b/textproc/pdfgrep/distinfo @@ -0,0 +1,2 @@ +SHA256 (pdfgrep-1.1.tar.gz) = fdce13b152595a6c3e0d84718404066cea94bdb44feb480786f118814c706c02 +SIZE (pdfgrep-1.1.tar.gz) = 93911 diff --git a/textproc/pdfgrep/pkg-descr b/textproc/pdfgrep/pkg-descr new file mode 100644 index 000000000000..cb2019c83189 --- /dev/null +++ b/textproc/pdfgrep/pkg-descr @@ -0,0 +1,14 @@ +Pdfgrep is a tool to search text in PDF files. It works similar to grep. + +Features: + + * search for regular expressions. + * support for some important grep options, including: + o filename output. + o page number output. + o optional case insensitivity. + o count occurrences. + * and the most important feature: color output! + + +WWW: http://pdfgrep.sourceforge.net/ |