--- Makefile.orig 2006-05-15 21:12:21.000000000 +0000 +++ Makefile 2007-12-08 23:52:46.000000000 +0000 @@ -1,22 +1,27 @@ # $NetBSD: patch-aa,v 1.3 2007/12/13 21:48:39 cjep Exp $ -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 +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 LDADD= -lz WARNS= 4 +PREFIX?= /usr/local +MANDIR= ${PREFIX}/man +BINDIR= ${PREFIX}/bin +MKCATPAGES= no + .include