summaryrefslogtreecommitdiff
path: root/games/openglad/files
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2003-05-14 05:18:29 +0000
committerEric Anholt <anholt@FreeBSD.org>2003-05-14 05:18:29 +0000
commitb5992f650e8d63bc153f07438af25a6289bf9da4 (patch)
tree13913b19af79557d518075cee7d65ae9a9fa3a07 /games/openglad/files
parent- use configures --includedir (diff)
Add openglad 0.98, an SDL port of an old DOS game called Gladiator.
PR: 52178 Submitted by: Kirill Ponomarew <ponomarew@oberon.net>
Notes
Notes: svn path=/head/; revision=80956
Diffstat (limited to 'games/openglad/files')
-rw-r--r--games/openglad/files/patch-Makefile.in46
-rw-r--r--games/openglad/files/patch-configure22
-rw-r--r--games/openglad/files/patch-util.cpp18
3 files changed, 86 insertions, 0 deletions
diff --git a/games/openglad/files/patch-Makefile.in b/games/openglad/files/patch-Makefile.in
new file mode 100644
index 000000000000..0f079358d5af
--- /dev/null
+++ b/games/openglad/files/patch-Makefile.in
@@ -0,0 +1,46 @@
+--- Makefile.in.orig Tue May 13 17:07:41 2003
++++ Makefile.in Tue May 13 17:08:30 2003
+@@ -77,7 +77,7 @@
+ docs_DOCS = NEWS README ChangeLog release-notes.txt cheats.txt \
+ scen.txt AUTHORS COPYING INSTALL
+
+-docdir = ${DESTDIR}/$(prefix)/share/doc/@PACKAGE@
++docdir = $(prefix)/share/doc/@PACKAGE@
+
+ EXTRA_DIST = scen/*.fss start.tex glad.hlp openglad.cfg cheats.txt pix/*.pix \
+ $(docs_DOCS)
+@@ -121,20 +121,20 @@
+ uninstall-info-am:
+ install-dataDATA: $(data_DATA)
+ @$(NORMAL_INSTALL)
+- $(mkinstalldirs) $(DESTDIR)$(datadir)
++ $(mkinstalldirs) $(datadir)
+ @list='$(data_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+- echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(datadir)/$$f"; \
+- $(INSTALL_DATA) $$d$$p $(DESTDIR)$(datadir)/$$f; \
++ echo " $(INSTALL_DATA) $$d$$p $(datadir)/$$f"; \
++ $(INSTALL_DATA) $$d$$p $(datadir)/$$f; \
+ done
+
+ uninstall-dataDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(data_DATA)'; for p in $$list; do \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+- echo " rm -f $(DESTDIR)$(datadir)/$$f"; \
+- rm -f $(DESTDIR)$(datadir)/$$f; \
++ echo " rm -f $(datadir)/$$f"; \
++ rm -f $(datadir)/$$f; \
+ done
+
+ # This directory's subdirectories are mostly independent; you can cd
+@@ -314,7 +314,7 @@
+ all-am: Makefile $(DATA)
+ installdirs: installdirs-recursive
+ installdirs-am:
+- $(mkinstalldirs) $(DESTDIR)$(datadir)
++ $(mkinstalldirs) $(datadir)
+ install-exec: install-exec-recursive
+ install-data: install-data-recursive
+
diff --git a/games/openglad/files/patch-configure b/games/openglad/files/patch-configure
new file mode 100644
index 000000000000..125bdc880da2
--- /dev/null
+++ b/games/openglad/files/patch-configure
@@ -0,0 +1,22 @@
+--- configure.orig Tue May 13 16:54:09 2003
++++ configure Tue May 13 16:54:55 2003
+@@ -1643,8 +1643,8 @@
+ test "x$prefix" = "xNONE" && prefix=/usr/local
+ test "x$exec_prefix" = "xNONE" && exec_prefix=$prefix
+ test "x$sysconfdir" = 'x${prefix}/etc' && sysconfdir=${prefix}/etc
+-test "x$datadir" = 'x${prefix}/share' && datadir=${prefix}/share/games/openglad
+-test "x$bindir" = 'x${exec_prefix}/bin' && bindir=${exec_prefix}/games
++test "x$datadir" = 'x${prefix}/share' && datadir=${prefix}/share/openglad
++test "x$bindir" = 'x${exec_prefix}/bin' && bindir=${exec_prefix}/bin
+
+
+ cat >>confdefs.h <<_ACEOF
+@@ -1653,7 +1653,7 @@
+
+
+ cat >>confdefs.h <<_ACEOF
+-#define DATADIR "$datadir/"
++#define DATADIR "$datadir"
+ _ACEOF
+
+
diff --git a/games/openglad/files/patch-util.cpp b/games/openglad/files/patch-util.cpp
new file mode 100644
index 000000000000..7656ef45f7e7
--- /dev/null
+++ b/games/openglad/files/patch-util.cpp
@@ -0,0 +1,18 @@
+--- src/util.cpp.orig Tue Oct 1 20:41:14 2002
++++ src/util.cpp Tue May 13 16:10:35 2003
+@@ -160,6 +160,7 @@
+ if (cfg.query("dirs", "data"))
+ {
+ filepath = cfg.query("dirs", "data");
++ filepath += "/";
+ filepath += pos_dir;
+ filepath += file;
+
+@@ -171,6 +172,7 @@
+ }
+
+ filepath = DATADIR;
++ filepath += "/";
+ filepath += pos_dir;
+ filepath += file;
+