diff options
author | cjep <cjep@pkgsrc.org> | 2003-08-24 18:23:46 +0000 |
---|---|---|
committer | cjep <cjep@pkgsrc.org> | 2003-08-24 18:23:46 +0000 |
commit | 19e93c9de603cfb93885419f5acfefb6591d368d (patch) | |
tree | 29c6d68fc358e63c1d040a6fb545a7977184a8d6 /textproc | |
parent | 61fd174813c11c8f0fce12ed2a6a987e61c11edf (diff) | |
download | pkgsrc-19e93c9de603cfb93885419f5acfefb6591d368d.tar.gz |
Initial import of nbgrep into the NetBSD packages collection as
textproc/nbgrep.
This version of grep is based on Jamie Howard's and Dag-Erling
Coidan Smorgrav's grep. It is being developed for inclusion in
NetBSD in the NetBSD othersrc module.
Originally in pkgsrc-wip. Obsoletes textproc/bsdgrep.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/nbgrep/DESCR | 2 | ||||
-rw-r--r-- | textproc/nbgrep/Makefile | 18 | ||||
-rw-r--r-- | textproc/nbgrep/PLIST | 9 | ||||
-rw-r--r-- | textproc/nbgrep/distinfo | 5 | ||||
-rw-r--r-- | textproc/nbgrep/patches/patch-aa | 42 |
5 files changed, 76 insertions, 0 deletions
diff --git a/textproc/nbgrep/DESCR b/textproc/nbgrep/DESCR new file mode 100644 index 00000000000..f931ac8848b --- /dev/null +++ b/textproc/nbgrep/DESCR @@ -0,0 +1,2 @@ +This is a BSD-licensed grep(1) replacement. It is current in NetBSD's +othersrc module. diff --git a/textproc/nbgrep/Makefile b/textproc/nbgrep/Makefile new file mode 100644 index 00000000000..a0af5276069 --- /dev/null +++ b/textproc/nbgrep/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/08/24 18:23:46 cjep Exp $ +# + +DISTNAME= nbgrep-20030824 +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/nbgrep/PLIST b/textproc/nbgrep/PLIST new file mode 100644 index 00000000000..cf5c54f7ce7 --- /dev/null +++ b/textproc/nbgrep/PLIST @@ -0,0 +1,9 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/08/24 18:23:46 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/nbgrep/distinfo b/textproc/nbgrep/distinfo new file mode 100644 index 00000000000..e2415dd0488 --- /dev/null +++ b/textproc/nbgrep/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/08/24 18:23:46 cjep Exp $ + +SHA1 (nbgrep-20030824.tar.gz) = 7c9f40ac29061ed8b336fa204b1f589426663045 +Size (nbgrep-20030824.tar.gz) = 12807 bytes +SHA1 (patch-aa) = c147bb05387e01b6f7e0ec8a918b09e77da2103c diff --git a/textproc/nbgrep/patches/patch-aa b/textproc/nbgrep/patches/patch-aa new file mode 100644 index 00000000000..2c41b4aa163 --- /dev/null +++ b/textproc/nbgrep/patches/patch-aa @@ -0,0 +1,42 @@ +$NetBSD: patch-aa,v 1.1.1.1 2003/08/24 18:23:46 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 |