summaryrefslogtreecommitdiff
path: root/games/tuxmath/patches/patch-aa
blob: 650b321feb40d41f7fac3fc6046d0e86af813c08 (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
27
28
29
30
$NetBSD: patch-aa,v 1.1.1.1 2003/06/03 00:41:41 hubertf Exp $

--- Makefile.orig	Fri Sep  7 00:40:21 2001
+++ Makefile	Wed Mar 26 23:23:08 2003
@@ -15,8 +15,8 @@
 LIBS=$(SDL_LIBS) $(MIXERLIB) -lSDL_image
 MIXERLIB=-lSDL_mixer
 
-DATA_PREFIX=/usr/share/tuxmath/
-BIN_PREFIX=/usr/local/bin/
+DATA_PREFIX=$(PREFIX)/share/tuxmath/
+BIN_PREFIX=$(PREFIX)/bin/
 
 
 VERSION=2001.09.07
@@ -31,13 +31,11 @@
 install:
 	@echo "COPYING BINARY TO $(BIN_PREFIX)"
 	cp tuxmath $(BIN_PREFIX)
-	chown root.root $(BIN_PREFIX)/tuxmath
 	chmod a+rx,g-w,o-w $(BIN_PREFIX)/tuxmath
 	@echo "COPYING DATA FILES TO $(DATA_PREFIX)"
 	mkdir -p $(DATA_PREFIX)
 	cp -r data/* $(DATA_PREFIX)
-	chown -R root.root $(DATA_PREFIX)
-	chmod -R a+rX,g-w,o-w $(DATA_PREFIX)
+	chmod -R a+r,g-w,o-w $(DATA_PREFIX)
 
 clean:
 	-rm tuxmath