pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/nbgrep Initial import of nbgrep into the NetB...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5f4cfeec4d50
branches:  trunk
changeset: 460205:5f4cfeec4d50
user:      cjep <cjep%pkgsrc.org@localhost>
date:      Sun Aug 24 18:23:46 2003 +0000

description:
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:

 textproc/nbgrep/DESCR            |   2 +
 textproc/nbgrep/Makefile         |  18 +++++++++++++++++
 textproc/nbgrep/PLIST            |   9 ++++++++
 textproc/nbgrep/distinfo         |   5 ++++
 textproc/nbgrep/patches/patch-aa |  42 ++++++++++++++++++++++++++++++++++++++++
 5 files changed, 76 insertions(+), 0 deletions(-)

diffs (96 lines):

diff -r a8747e075323 -r 5f4cfeec4d50 textproc/nbgrep/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/nbgrep/DESCR     Sun Aug 24 18:23:46 2003 +0000
@@ -0,0 +1,2 @@
+This is a BSD-licensed grep(1) replacement. It is current in NetBSD's
+othersrc module.
diff -r a8747e075323 -r 5f4cfeec4d50 textproc/nbgrep/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/nbgrep/Makefile  Sun Aug 24 18:23:46 2003 +0000
@@ -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@localhost
+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 -r a8747e075323 -r 5f4cfeec4d50 textproc/nbgrep/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/nbgrep/PLIST     Sun Aug 24 18:23:46 2003 +0000
@@ -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 -r a8747e075323 -r 5f4cfeec4d50 textproc/nbgrep/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/nbgrep/distinfo  Sun Aug 24 18:23:46 2003 +0000
@@ -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 -r a8747e075323 -r 5f4cfeec4d50 textproc/nbgrep/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/nbgrep/patches/patch-aa  Sun Aug 24 18:23:46 2003 +0000
@@ -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



Home | Main Index | Thread Index | Old Index