$NetBSD: patch-aa,v 1.3 2002/06/27 15:52:12 agc Exp $

--- Makefile	2002/06/27 15:41:29	1.1
+++ Makefile	2002/06/27 15:41:40
@@ -39,7 +39,7 @@
 
 .SUFFIXES:	.cc
 
-install:
+pre-install:
 		@./configuration.sh
 
 all:		maplay
@@ -47,6 +47,9 @@
 maplay:		$(OBJS)
 		$(COMPILER) $(CFLAGS) $(OBJS) -o $@ $(LIBRARIES) -lm
 		-strip $@
+
+install: all
+		${INSTALL} -s -c -m 755 maplay ${PREFIX}/bin
 
 .cc.o:
 		$(COMPILER) -c $(CFLAGS) $(INCLUDEDIRS) $*.cc -o $@
