summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-01 03:14:09 +0000
committerjoerg <joerg>2010-02-01 03:14:09 +0000
commit6cdf81f15109419fc36636734ae0fddc0dbe5c22 (patch)
treef4ed9e6cedfd8a12245ae839433feb8756936100 /games
parent3a89f871ceb4605033e59ccf55d15c29f57ae06e (diff)
downloadpkgsrc-6cdf81f15109419fc36636734ae0fddc0dbe5c22.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}