summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/bgrep/DESCR2
-rw-r--r--textproc/bgrep/Makefile18
-rw-r--r--textproc/bgrep/PLIST9
-rw-r--r--textproc/bgrep/distinfo5
-rw-r--r--textproc/bgrep/patches/patch-aa42
5 files changed, 76 insertions, 0 deletions
diff --git a/textproc/bgrep/DESCR b/textproc/bgrep/DESCR
new file mode 100644
index 00000000000..ef0d96c0c5c
--- /dev/null
+++ b/textproc/bgrep/DESCR
@@ -0,0 +1,2 @@
+This is a BSD-licensed grep(1) replacement. It is currently being
+developed in NetBSD's othersrc module.
diff --git a/textproc/bgrep/Makefile b/textproc/bgrep/Makefile
new file mode 100644
index 00000000000..e7bdcc01f25
--- /dev/null
+++ b/textproc/bgrep/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/08/25 11:13:00 cjep Exp $
+#
+
+DISTNAME= bgrep-20030825
+CATEGORIES= sysutils textproc
+MASTER_SITES= http://www.fawlty.net/software/
+
+MAINTAINER= cjep@netbsd.org
+HOMEPAGE= # none
+COMMENT= BSD version of grep as in NetBSD othersrc
+
+CONFLICTS+= bsdgrep-*
+#ONLY_FOR_PLATFORM= NetBSD-1.6*-*
+
+post-patch:
+ @${SED} -e 's|grep|bgrep|g' ${WRKSRC}/grep.1 > ${WRKSRC}/bgrep.1
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/bgrep/PLIST b/textproc/bgrep/PLIST
new file mode 100644
index 00000000000..c4bc36b1149
--- /dev/null
+++ b/textproc/bgrep/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/08/25 11:13:00 cjep Exp $
+bin/bgrep
+bin/ebgrep
+bin/fbgrep
+bin/zbgrep
+man/man1/bgrep.1
+man/man1/ebgrep.1
+man/man1/fbgrep.1
+man/man1/zbgrep.1
diff --git a/textproc/bgrep/distinfo b/textproc/bgrep/distinfo
new file mode 100644
index 00000000000..6a98512a928
--- /dev/null
+++ b/textproc/bgrep/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/08/25 11:13:00 cjep Exp $
+
+SHA1 (bgrep-20030825.tar.gz) = 847f81eb1530fb7372c91607270f5b77de661518
+Size (bgrep-20030825.tar.gz) = 12921 bytes
+SHA1 (patch-aa) = c147bb05387e01b6f7e0ec8a918b09e77da2103c
diff --git a/textproc/bgrep/patches/patch-aa b/textproc/bgrep/patches/patch-aa
new file mode 100644
index 00000000000..d5274c49c77
--- /dev/null
+++ b/textproc/bgrep/patches/patch-aa
@@ -0,0 +1,42 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/08/25 11:13:00 cjep Exp $
+
+--- Makefile.orig 2003-07-20 14:45:41.000000000 +0100
++++ Makefile
+@@ -2,16 +2,18 @@
+
+-PROG= grep
++PROG= bgrep
+ SRCS= binary.c file.c grep.c mmfile.c queue.c util.c
+
+-LINKS= ${BINDIR}/grep ${BINDIR}/egrep \
+- ${BINDIR}/grep ${BINDIR}/fgrep \
+- ${BINDIR}/grep ${BINDIR}/zgrep \
+- ${BINDIR}/grep ${BINDIR}/zegrep \
+- ${BINDIR}/grep ${BINDIR}/zfgrep
+-
+-MLINKS= grep.1 egrep.1 \
+- grep.1 fgrep.1 \
+- grep.1 zgrep.1 \
+- grep.1 zegrep.1 \
+- grep.1 zfgrep.1
++PREFIX?= /usr/local
++
++LINKS= ${BINDIR}/bgrep ${BINDIR}/ebgrep \
++ ${BINDIR}/bgrep ${BINDIR}/fbgrep \
++ ${BINDIR}/bgrep ${BINDIR}/zbgrep \
++ ${BINDIR}/bgrep ${BINDIR}/zebgrep \
++ ${BINDIR}/bgrep ${BINDIR}/zfbgrep
++
++MLINKS= bgrep.1 ebgrep.1 \
++ bgrep.1 fbgrep.1 \
++ bgrep.1 zbgrep.1 \
++ bgrep.1 zebgrep.1 \
++ bgrep.1 zfbgrep.1
+
+@@ -19,2 +21,6 @@ LDADD= -lz
+
++MANDIR=${PREFIX}/man
++BINDIR=${PREFIX}/bin
++MKCATPAGES=no
++
+ WARNS=2