$NetBSD$

DESTDIR support.
Install the docs.
Use $(CP).
Don't install default scores file mode 666.

--- Makefile.in.orig	2001-07-23 03:56:05.000000000 +0000
+++ Makefile.in
@@ -432,21 +432,22 @@ maintainer-clean-generic clean mostlycle
 
 # Special install rule for the game
 install:
-	make install_gamedata target=@GAME_INSTALLDIR@
+	make install_gamedata target=${DESTDIR}@GAME_INSTALLDIR@
+	make install_gamedocs target=${DESTDIR}$(prefix)/share/doc/Maelstrom
 
 install_gamedata:
 	sh mkinstalldirs $(target)/
-	cp -rv Images			\
+	$(CP) -R Images			\
 	       Maelstrom_Fonts		\
 	       Maelstrom_Sounds		\
 	       Maelstrom_Sprites	\
 	       Maelstrom-Scores		\
 	       icon.bmp icon.xpm	$(target)/
-	chmod 666 $(target)/Maelstrom-Scores
+	chmod 644 $(target)/Maelstrom-Scores
 
 install_gamedocs:
 	sh mkinstalldirs $(target)/
-	cp -rv README* COPYING* Docs*	$(target)/
+	$(CP) -R README* COPYING* Docs*	$(target)/
 
 # Rule to build tar-gzipped distribution package
 $(PACKAGE)-$(VERSION).tar.gz: dist
