summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-01 03:14:09 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-01 03:14:09 +0000
commit8c0db00a38174a0e45962b6b9dda6b37f0947d8b (patch)
treef4ed9e6cedfd8a12245ae839433feb8756936100 /games
parentd511f2fbc1ad50c3af6acd4e521396e9f7aa25c4 (diff)
downloadpkgsrc-8c0db00a38174a0e45962b6b9dda6b37f0947d8b.tar.gz
Forgotten patch for DESTDIR support
Diffstat (limited to 'games')
-rw-r--r--games/golddig/patches/patch-aa21
1 files changed, 21 insertions, 0 deletions
diff --git a/games/golddig/patches/patch-aa b/games/golddig/patches/patch-aa
new file mode 100644
index 00000000000..19c59724b80
--- /dev/null
+++ b/games/golddig/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.7 2010/02/01 03:14:09 joerg Exp $
+
+--- Makefile.orig 2010-01-31 23:49:22.000000000 +0000
++++ Makefile
+@@ -69,16 +69,9 @@ install: ${GAME} ${EDITOR}
+ ${BSD_INSTALL_GAME_DIR} ${LIB}
+ ${BSD_INSTALL_GAME} ${GAME} ${BIN}
+ ${BSD_INSTALL_GAME} ${EDITOR} ${BIN}
+- ${BSD_INSTALL_GAME_DIR} /var/games
+- touch golddig.scores
+- ${BSD_INSTALL_GAME_DATA} golddig.scores /var/games/golddig.scores
+ ${BSD_INSTALL_GAME_DATA} levs/goldlev* levs/default ${LIB}
+ ${BSD_INSTALL_MAN} golddig.6 ${MAN}/golddig.${MANEXT}
+ ${BSD_INSTALL_MAN} gdedit.6 ${MAN}/gdedit.${MANEXT}
+- chgrp ${SCORE_GROUP} ${BIN}/${GAME}
+- chmod g+s ${BIN}/${GAME}
+- chgrp ${SCORE_GROUP} /var/games/golddig.scores
+- chmod 0664 /var/games/golddig.scores
+
+ update: ${GAME} ${EDITOR}
+ cp ${GAME} ${EDITOR} ${BIN}