freebsd-ports/games/puckman/files/patch-Makefile
2012-09-21 13:13:03 +00:00

24 lines
989 B
Text

--- Makefile.orig 2012-08-16 19:32:29.000000000 +0200
+++ Makefile 2012-08-16 20:12:01.000000000 +0200
@@ -1,10 +1,10 @@
-BIN = $(DESTDIR)/usr/bin
-ICONS = $(DESTDIR)/usr/share/puckman/images
-ICON = $(DESTDIR)/usr/share/pixmaps
-SYMICON = $(DESTDIR)/usr/share/icons/hicolor/48x48/apps
+BIN = $(DESTDIR)/usr/local/bin
+ICONS = $(DESTDIR)/usr/local/share/puckman/images
+ICON = $(DESTDIR)/usr/local/share/pixmaps
+SYMICON = $(DESTDIR)/usr/local/share/icons/hicolor/48x48/apps
SHELL = /bin/sh
CC = g++
-prefix = /usr
+prefix = /usr/local
includedir = $(prefix)/include
pacdir = ~/.puckman
puckman: puckman.c
@@ -23,4 +23,4 @@
uninstall:
rm -vr $(ICONS) $(BIN)/puckman $(ICON)/puckman.png $(SYMICON)/puckman.png
- if test -e $(DESTDIR)/usr/share/applications/puckman.desktop; then rm -v $(DESTDIR)/usr/share/applications/puckman.desktop; fi
+ if test -e $(DESTDIR)/usr/local/share/applications/puckman.desktop; then rm -v $(DESTDIR)/usr/local/share/applications/puckman.desktop; fi