diff -Naur monsterz-0.7.1-old/Makefile monsterz-0.7.1/Makefile --- monsterz-0.7.1-old/Makefile 2007-12-18 00:05:00.000000000 +0200 +++ monsterz-0.7.1/Makefile 2009-09-19 22:23:13.730295704 +0300 @@ -1,10 +1,10 @@ -prefix = /usr/local -gamesdir = ${prefix}/games +prefix = /usr +gamesdir = ${prefix}/bin datadir = ${prefix}/share -pkgdatadir = $(datadir)/games/monsterz -scoredir = /var/games -scorefile = $(scoredir)/monsterz +pkgdatadir = $(datadir)/monsterz +scoredir = $(datadir)/monsterz +scorefile = $(scoredir)/hiscores VERSION = 0.7.1 DIRECTORY = monsterz-$(VERSION) @@ -22,7 +22,7 @@ all: monsterz monsterz: monsterz.c - $(CC) -Wall monsterz.c -DDATADIR=\"$(pkgdatadir)\" -DSCOREFILE=\"$(scorefile)\" -o monsterz + $(CC) -Wall monsterz.c $(CFLAGS) -DDATADIR=\"$(pkgdatadir)\" -DSCOREFILE=\"$(scorefile)\" -o monsterz bitmap: $(BITMAP) @@ -42,8 +42,6 @@ install: all mkdir -p $(DESTDIR)$(gamesdir) cp monsterz $(DESTDIR)$(gamesdir)/ - chown root:games $(DESTDIR)$(gamesdir)/monsterz - chmod g+s $(DESTDIR)$(gamesdir)/monsterz mkdir -p $(DESTDIR)$(pkgdatadir)/graphics mkdir -p $(DESTDIR)$(pkgdatadir)/sound cp monsterz.py $(DESTDIR)$(pkgdatadir)/ @@ -51,8 +49,6 @@ cp $(SOUND) $(MUSIC) $(DESTDIR)$(pkgdatadir)/sound/ mkdir -p $(DESTDIR)$(scoredir) test -f $(DESTDIR)$(scorefile) || echo "" > $(DESTDIR)$(scorefile) - chown root:games $(DESTDIR)$(scorefile) - chmod g+w $(DESTDIR)$(scorefile) uninstall: rm -f $(DESTDIR)$(gamesdir)/monsterz