mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-08 20:07:50 -04:00
37 lines
1.0 KiB
Plaintext
37 lines
1.0 KiB
Plaintext
$NetBSD: patch-ab,v 1.4 2011/05/06 05:28:39 dholland Exp $
|
|
|
|
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
|