aboutsummaryrefslogtreecommitdiff
path: root/games/excido/files
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2005-10-04 16:55:33 +0000
committerRenato Botelho <garga@FreeBSD.org>2005-10-04 16:55:33 +0000
commitf7b4b78f8c7ad5e1203751ae5cacad83da2b7728 (patch)
tree216de012f3955f6a68f7419b0135e14a97d72cba /games/excido/files
parente151253a42dcf0fa3c7d2c366412e898e55410b8 (diff)
downloadports-f7b4b78f8c7ad5e1203751ae5cacad83da2b7728.tar.gz
ports-f7b4b78f8c7ad5e1203751ae5cacad83da2b7728.zip
Notes
Diffstat (limited to 'games/excido/files')
-rw-r--r--games/excido/files/patch-Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/games/excido/files/patch-Makefile b/games/excido/files/patch-Makefile
new file mode 100644
index 000000000000..00b6fd0ed4af
--- /dev/null
+++ b/games/excido/files/patch-Makefile
@@ -0,0 +1,30 @@
+--- Makefile.orig Thu Jul 29 14:17:13 2004
++++ Makefile Fri Aug 19 15:00:16 2005
+@@ -1,12 +1,11 @@
+-CC=g++
+-CFLAGS=`sdl-config --cflags` #-g -Wall #-O2
++CFLAGS=%%CFLAGS%% -I%%X11BASE%%/include `sdl-config --cflags` #-g -Wall #-O2
+ #CFLAGS=`sdl-config --cflags` -I./physfs#-g -Wall #-O2
+ OBJS := ${patsubst %.cpp, %.o, ${wildcard src/*.cpp}}
+-LIBS = -s -Bstatic `sdl-config --static-libs` -lSDL_image -lSDL_ttf -L. -lphysfs -lopenal -Bdynamic -lGL -lGLU
++LIBS = -L%%X11BASE%%/lib `sdl-config --libs` -lSDL_image -lSDL_ttf -lphysfs -lopenal -lGL -lGLU
+ #LIBS = -s -Bstatic `sdl-config --static-libs` SDL_image/*.o SDL_ttf/*.o -L. physfs/*.o openal/*.o -ljpeg -lpng -ltiff -lfreetype -Bdynamic -lGL -lGLU
+ PREFIX=/usr/local
+ BINDIR=$(PREFIX)/bin/
+-DATADIR=$(PREFIX)/share/excido/
++DATADIR=%%DATADIR%%/
+
+ INSTALL=/usr/bin/install
+
+@@ -28,9 +27,9 @@
+
+ install:
+ [ -d $(BINDIR) ] || mkdir $(BINDIR)
+- $(INSTALL) -m 755 $(TARGET) $(BINDIR)
++ $(BSD_INSTALL_PROGRAM) $(TARGET) $(BINDIR)
+ [ -d $(DATADIR) ] || mkdir $(DATADIR)
+- $(INSTALL) -m 644 data/* $(DATADIR)
++ $(BSD_INSTALL_DATA) data/* $(DATADIR)
+
+ uninstall:
+ rm $(BINDIR)$(TARGET)