--- Makefile.orig	Sat Sep 23 14:14:43 2000
+++ Makefile	Sat Nov 11 01:42:49 2000
@@ -4,9 +4,9 @@
 CFLAGS = -O2 -Wall
 LFLAGS = -lncurses 
 
-BINDIR = /usr/local/bin
-DATDIR = /usr/local/share/games/pentix
-MANDIR = /usr/local/man/man1
+BINDIR = ${PREFIX}/bin
+DATDIR = ${PREFIX}/share/games/pentix
+MANDIR = ${PREFIX}/man/man1
 
 PROG = pentix
 DATA = pentix.qtn pentix.res readme.txt
@@ -23,10 +23,10 @@
 all: $(INSTALL)
 
 install: $(PROG)
-	install -c -s -o bin -g bin -m 755 $(PROG) $(BINDIR)
-	install -d -o bin -g bin -m 755 $(DATDIR)
-	install -c -o bin -g bin -m 666 $(DATA) $(DATDIR)
-	install -c -o bin -g bin -m 644 $(MAN1) $(MANDIR)
+	install -c -s -o root -g games -m 2755 $(PROG) $(BINDIR)
+	install -d -o root -g games -m 755 $(DATDIR)
+	install -c -o root -g games -m 664 $(DATA) $(DATDIR)
+	install -c -o root -g games -m 644 $(MAN1) $(MANDIR)
 
 # Cleanup procedure
 clean:
