$NetBSD: patch-aa,v 1.3 2007/12/24 08:47:31 obache Exp $ --- Makefile.orig 1999-09-15 03:15:12.000000000 +0000 +++ Makefile @@ -5,13 +5,9 @@ # SHELL = /bin/sh -RM = rm -f -MV = mv -f -INSTALL = install - -DEST = /usr/local +DEST = $(PREFIX) BINDIR = $(DEST)/bin -MANDIR = $(DEST)/man/man$(MANEXT) +MANDIR = $(DEST)/$(PKGMANDIR)/man$(MANEXT) MANEXT = 1 # @@ -74,12 +70,9 @@ netname: netname.c inst-all: install install.man install: - -$(MV) $(BINDIR)/netname $(BINDIR)/netname.old - -$(RM) $(BINDIR)/netname.old $(INSTALL) -c -s -m 0555 netname $(BINDIR) install.man: - -$(RM) $(MANDIR)/netname.$(MANEXT) $(INSTALL) -c -m 0444 netname.man $(MANDIR)/netname.$(MANEXT) clean: