$NetBSD: patch-aa,v 1.4 2009/07/07 15:25:39 joerg 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 ${DESTDIR}${PREFIX}/bin
 
 .cc.o:
 		$(COMPILER) -c $(CFLAGS) $(INCLUDEDIRS) $*.cc -o $@
