$NetBSD: patch-aa,v 1.6 2003/09/22 16:25:17 wiz Exp $ --- Makefile.orig 1995-07-21 01:03:30.000000000 +0100 +++ Makefile 2003-09-22 16:14:32.878633434 +0100 @@ -1,9 +1,8 @@ # # Makefile,v 1.4 1995/07/21 00:03:30 pb Exp # -MANDIR=/usr/local/man -BINDIR=/usr/local/bin -INSTALL=install -c +MANDIR=${PREFIX}/man +BINDIR=${PREFIX}/bin GROFF=groff NROFF=nroff RM=/bin/rm @@ -16,7 +15,7 @@ dist: clean bing.0 bing.ps bing: bing.c sysdep.h - $(CC) $(CFLAGS) $(CLIBS) -o $@ bing.c + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ bing.c bing.ps: bing.8 $(GROFF) -mandoc bing.8 > bing.ps @@ -28,5 +27,5 @@ $(RM) -f bing bing.ps bing.0 install: bing bing.8 - $(INSTALL) -m 644 -o man -g man bing.8 $(MANDIR)/man8 - $(INSTALL) -m 4555 -o root -g staff bing $(BINDIR) + $(BSD_INSTALL_MAN) bing.8 $(MANDIR)/man8 + $(BSD_INSTALL_PROGRAM) bing $(BINDIR)