blob: f750f90a3e376b7ee11aabcaf85331b5a6a4a6dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
--- Makefile.orig 2006-05-15 21:12:21.000000000 +0000
+++ Makefile 2007-12-08 23:52:46.000000000 +0000
@@ -2,21 +1,26 @@
-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 <bsd.prog.mk>
|