--- bin/remotes/unknown/Makefile.orig 2005-11-10 12:54:12.000000000 +0900 +++ bin/remotes/unknown/Makefile 2013-06-17 00:39:47.000000000 +0900 @@ -43,8 +43,8 @@ PRODUCT=unknown -PREFIX=/usr/local/v6eval -RMTDIR=$(PREFIX)/bin/$(PRODUCT) +PREFIX?=/usr/local +RMTDIR=$(PREFIX)/v6eval/bin/$(PRODUCT) REMOTES= cleardefr.rmt \ clearmtu.rmt \ clearnc.rmt \ @@ -101,6 +101,6 @@ clean: install: - install -d -o bin -g bin -m 755 $(PREFIX)/bin - install -d -o bin -g bin -m 755 $(RMTDIR) - install -c -o bin -g bin -m 555 $(REMOTES) $(RMTDIR) + install -d -m 555 $(PREFIX)/v6eval/bin + install -d -m 555 $(RMTDIR) + ${BSD_INSTALL_SCRIPT} $(REMOTES) $(RMTDIR)