aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/pdfgrep/Makefile29
-rw-r--r--textproc/pdfgrep/distinfo2
-rw-r--r--textproc/pdfgrep/pkg-descr14
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/