A new user interface for you! Read more...

File pingus-0.7.6-Makefile.patch of Package pingus

--- Makefile.orig	2014-12-07 23:18:13.000000000 +0100
+++ Makefile	2014-12-11 13:46:51.612125910 +0100
@@ -15,7 +15,7 @@
 ##  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 DESTDIR = 
-PREFIX  = /usr/local
+PREFIX  = /usr
 DATADIR = $(PREFIX)/share/pingus
 MANDIR  = $(PREFIX)/share/man
 BINDIR  = $(PREFIX)/bin
@@ -38,10 +38,7 @@
 install-exec: build/pingus
 	install -d "$(DESTDIR)$(BINDIR)"
 
-	install -D build/pingus "$(DESTDIR)$(BINDIR)/pingus.bin"
-	echo "#!/bin/sh" > "$(DESTDIR)$(BINDIR)/pingus"
-	echo "exec \"$(BINDIR)/pingus.bin\" --datadir \"$(DATADIR)\" \"\$$@\"" >> "$(DESTDIR)$(BINDIR)/pingus"
-	chmod 755 "$(DESTDIR)$(BINDIR)/pingus"
+	install -Dm 0755 build/pingus "$(DESTDIR)$(BINDIR)/pingus"
 
 install-data:
 	cd data/ && \
@@ -64,10 +61,10 @@
         -name "*.pingus" -o \
         -name "*.levelset" -o \
         -name "*.sprite" \
-        \) -exec install -D {} $(DESTDIR)$(DATADIR)/{} \;
+        \) -exec install -Dm 0644 {} $(DESTDIR)$(DATADIR)/{} \;
 
 install-man:
-	install -D doc/man/pingus.6 "$(DESTDIR)$(MANDIR)/man1/pingus.6"
+	install -Dm 0644 doc/man/pingus.6 "$(DESTDIR)$(MANDIR)/man6/pingus.6"
 
 .PHONY : clean install install-exec install-data install-man