summaryrefslogtreecommitdiff
path: root/games/maelstrom-sdl/patches
diff options
context:
space:
mode:
authorwiz <wiz>2002-07-11 13:21:27 +0000
committerwiz <wiz>2002-07-11 13:21:27 +0000
commit74075e63f24adaca5e68b019547c7053ab0f7cc3 (patch)
treeca27c3d0776b02c6b11adce2ecf68dedb147b2c5 /games/maelstrom-sdl/patches
parent192e941ffb1f61c51dfa648b6e2c5d58281c92da (diff)
downloadpkgsrc-74075e63f24adaca5e68b019547c7053ab0f7cc3.tar.gz
Initial import of maelstrom-sdl, the SDL port of Maelstrom,
provided by Ben Wong in pkg/15582. Maelstrom is a port of the original shareware game for the Macintosh. It is a fast-action, high resolution (640x480) asteroids-like game, with detailed graphics and original sounds. This version uses the SDL (Simple DirectMedia Layer) which provides faster graphics and better sound than the old X11 version for NetBSD. SDL also allows the screen resolution to be changed to 640x480 when Maelstrom is run in full-screen mode.
Diffstat (limited to 'games/maelstrom-sdl/patches')
-rw-r--r--games/maelstrom-sdl/patches/patch-aa26
-rw-r--r--games/maelstrom-sdl/patches/patch-ab26
-rw-r--r--games/maelstrom-sdl/patches/patch-ac15
-rw-r--r--games/maelstrom-sdl/patches/patch-ad15
-rw-r--r--games/maelstrom-sdl/patches/patch-ae22
-rw-r--r--games/maelstrom-sdl/patches/patch-af13
-rw-r--r--games/maelstrom-sdl/patches/patch-ag13
7 files changed, 130 insertions, 0 deletions
diff --git a/games/maelstrom-sdl/patches/patch-aa b/games/maelstrom-sdl/patches/patch-aa
new file mode 100644
index 00000000000..b4ea20f2115
--- /dev/null
+++ b/games/maelstrom-sdl/patches/patch-aa
@@ -0,0 +1,26 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/07/11 13:21:28 wiz Exp $
+
+--- Makefile.am.orig Mon Jul 23 05:45:05 2001
++++ Makefile.am
+@@ -66,10 +66,11 @@
+ # Special install rule for the game
+ install:
+ make install_gamedata target=@GAME_INSTALLDIR@
++ make install_gamedocs target=$(prefix)/share/doc/Maelstrom
+
+ install_gamedata:
+ sh mkinstalldirs $(target)/
+- cp -rv Images \
++ cp -R Images \
+ Maelstrom_Fonts \
+ Maelstrom_Sounds \
+ Maelstrom_Sprites \
+@@ -79,7 +80,7 @@
+
+ install_gamedocs:
+ sh mkinstalldirs $(target)/
+- cp -rv README* COPYING* Docs* $(target)/
++ cp -R README* COPYING* Docs* $(target)/
+
+ # Rule to build tar-gzipped distribution package
+ $(PACKAGE)-$(VERSION).tar.gz: dist
diff --git a/games/maelstrom-sdl/patches/patch-ab b/games/maelstrom-sdl/patches/patch-ab
new file mode 100644
index 00000000000..eebc124406a
--- /dev/null
+++ b/games/maelstrom-sdl/patches/patch-ab
@@ -0,0 +1,26 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/07/11 13:21:28 wiz Exp $
+
+--- Makefile.in.orig Mon Jul 23 05:56:05 2001
++++ Makefile.in
+@@ -433,10 +433,11 @@
+ # Special install rule for the game
+ install:
+ make install_gamedata target=@GAME_INSTALLDIR@
++ make install_gamedocs target=$(prefix)/share/doc/Maelstrom
+
+ install_gamedata:
+ sh mkinstalldirs $(target)/
+- cp -rv Images \
++ cp -R Images \
+ Maelstrom_Fonts \
+ Maelstrom_Sounds \
+ Maelstrom_Sprites \
+@@ -446,7 +447,7 @@
+
+ install_gamedocs:
+ sh mkinstalldirs $(target)/
+- cp -rv README* COPYING* Docs* $(target)/
++ cp -R README* COPYING* Docs* $(target)/
+
+ # Rule to build tar-gzipped distribution package
+ $(PACKAGE)-$(VERSION).tar.gz: dist
diff --git a/games/maelstrom-sdl/patches/patch-ac b/games/maelstrom-sdl/patches/patch-ac
new file mode 100644
index 00000000000..f1a0bf6d7a0
--- /dev/null
+++ b/games/maelstrom-sdl/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1.1.1 2002/07/11 13:21:28 wiz Exp $
+
+--- configure.in.orig Fri Jul 20 17:12:49 2001
++++ configure.in
+@@ -104,6 +104,10 @@
+ ac_default_prefix=/boot/beos
+ GAME_INSTALLDIR="\$(prefix)/games/$PACKAGE"
+ ;;
++ *-*-netbsd*)
++ GAME_INSTALLDIR="\$(prefix)/share/$PACKAGE"
++ DOC_INSTALLDIR="\$(prefix)/share/doc/$PACKAGE"
++ ;;
+ *)
+ GAME_INSTALLDIR="\$(prefix)/games/$PACKAGE"
+ ;;
diff --git a/games/maelstrom-sdl/patches/patch-ad b/games/maelstrom-sdl/patches/patch-ad
new file mode 100644
index 00000000000..c0566af035e
--- /dev/null
+++ b/games/maelstrom-sdl/patches/patch-ad
@@ -0,0 +1,15 @@
+$NetBSD: patch-ad,v 1.1.1.1 2002/07/11 13:21:28 wiz Exp $
+
+--- configure.orig Mon Jul 23 05:55:55 2001
++++ configure
+@@ -1667,6 +1667,10 @@
+ ac_default_prefix=/boot/beos
+ GAME_INSTALLDIR="\$(prefix)/games/$PACKAGE"
+ ;;
++ *-*-netbsd*)
++ GAME_INSTALLDIR="\$(prefix)/share/$PACKAGE"
++ DOC_INSTALLDIR="\$(prefix)/share/doc/$PACKAGE"
++ ;;
+ *)
+ GAME_INSTALLDIR="\$(prefix)/games/$PACKAGE"
+ ;;
diff --git a/games/maelstrom-sdl/patches/patch-ae b/games/maelstrom-sdl/patches/patch-ae
new file mode 100644
index 00000000000..4d7b622dbcc
--- /dev/null
+++ b/games/maelstrom-sdl/patches/patch-ae
@@ -0,0 +1,22 @@
+$NetBSD: patch-ae,v 1.1.1.1 2002/07/11 13:21:28 wiz Exp $
+
+--- load.h.orig Sat Jul 21 22:46:17 2001
++++ load.h
+@@ -21,7 +21,7 @@
+ return(newstr);
+ }
+ #endif
+-#if defined(unix) || defined(__MACH__) || defined(__BEOS__)
++#if defined(unix) || defined(__MACH__) || defined(__BEOS__) || defined(__NetBSD__)
+ #include <unistd.h>
+ #endif
+ #endif /* WIN32 */
+@@ -29,7 +29,7 @@
+ #include "SDL_FrameBuf.h"
+
+ /* Pathing stuff for the different operating systems */
+-#if defined(unix) || defined(__MACH__)
++#if defined(unix) || defined(__MACH__) || defined(__NetBSD__)
+ #define DIR_SEP "/"
+ #define CUR_DIR "."
+ #elif defined(WIN32)
diff --git a/games/maelstrom-sdl/patches/patch-af b/games/maelstrom-sdl/patches/patch-af
new file mode 100644
index 00000000000..0f13f9310dc
--- /dev/null
+++ b/games/maelstrom-sdl/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1.1.1 2002/07/11 13:21:28 wiz Exp $
+
+--- maclib/Makefile.am.orig Fri Dec 3 04:30:11 1999
++++ maclib/Makefile.am
+@@ -14,7 +14,7 @@
+ applefile.h \
+ bitesex.h
+
+-bin_PROGRAMS = macres playwave snd2wav
++bin_PROGRAMS = macres snd2wav
+
+ macres_SOURCES = macres.cpp
+ macres_LDADD = libSDLmac.a
diff --git a/games/maelstrom-sdl/patches/patch-ag b/games/maelstrom-sdl/patches/patch-ag
new file mode 100644
index 00000000000..96d10f0312a
--- /dev/null
+++ b/games/maelstrom-sdl/patches/patch-ag
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1.1.1 2002/07/11 13:21:28 wiz Exp $
+
+--- maclib/Makefile.in.orig Thu Jul 11 15:06:44 2002
++++ maclib/Makefile.in
+@@ -78,7 +78,7 @@
+ libSDLmac_a_SOURCES = Mac_Compat.h Mac_FontServ.cpp Mac_FontServ.h Mac_Resource.cpp Mac_Resource.h Mac_Sound.cpp Mac_Sound.h Mac_Wave.cpp Mac_Wave.h applefile.h bitesex.h
+
+
+-bin_PROGRAMS = macres playwave snd2wav
++bin_PROGRAMS = macres snd2wav
+
+ macres_SOURCES = macres.cpp
+ macres_LDADD = libSDLmac.a