summaryrefslogtreecommitdiff
path: root/games/dopewars/patches/patch-aa
blob: d72d2110db65333e0c87d214c314904a826489e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$NetBSD: patch-aa,v 1.5 2004/03/30 16:12:38 jmmv Exp $

--- Makefile.in.orig	2003-06-06 21:19:21.000000000 +0200
+++ Makefile.in
@@ -132,10 +132,10 @@ am__quote = @am__quote@
 install_sh = @install_sh@
 localedir = @localedir@
 plugindir = @plugindir@
-SUBDIRS = intl src doc po sounds
+SUBDIRS = src doc po sounds
 DESKTOPDIR = ${DESTDIR}${datadir}/gnome/apps/Games
 DESKTOP = dopewars.desktop
-SCOREDIR = ${DESTDIR}${datadir}
+SCOREDIR = ${DESTDIR}${localstatedir}
 SCORE = ${SCOREDIR}/dopewars.sco
 EXTRA_DIST = ABOUT-NLS LICENCE dopewars.desktop dopewars.spec.in depcomp \
                  runindent.sh win32/Makefile win32/README win32/contid.h \
@@ -512,8 +512,6 @@ install-data-local:
 	@chgrp games ${SCORE} || chgrp wheel ${SCORE} || \
 	  echo "Unable to change group ownership of the high score file"
 	chmod 0660 ${SCORE}
-	${mkinstalldirs} ${DESKTOPDIR}
-	${INSTALL} -m 0644 ${srcdir}/${DESKTOP} ${DESKTOPDIR}
 
 uninstall-local:
 	/bin/rm -f ${SCORE} ${DESKTOPDIR}/${DESKTOP}