blob: ad48ca9a2f5ce59ed7a3d45416b1b9b1020d39b5 (
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.2 2010/06/25 22:47:50 joerg 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=${DESTDIR}$(PREFIX)/share/tuxmath/
+BIN_PREFIX=${DESTDIR}$(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
|