diff options
-rw-r--r-- | games/maelstrom-sdl/DESCR | 8 | ||||
-rw-r--r-- | games/maelstrom-sdl/MESSAGE | 17 | ||||
-rw-r--r-- | games/maelstrom-sdl/Makefile | 26 | ||||
-rw-r--r-- | games/maelstrom-sdl/PLIST | 58 | ||||
-rw-r--r-- | games/maelstrom-sdl/distinfo | 11 | ||||
-rw-r--r-- | games/maelstrom-sdl/patches/patch-aa | 26 | ||||
-rw-r--r-- | games/maelstrom-sdl/patches/patch-ab | 26 | ||||
-rw-r--r-- | games/maelstrom-sdl/patches/patch-ac | 15 | ||||
-rw-r--r-- | games/maelstrom-sdl/patches/patch-ad | 15 | ||||
-rw-r--r-- | games/maelstrom-sdl/patches/patch-ae | 22 | ||||
-rw-r--r-- | games/maelstrom-sdl/patches/patch-af | 13 | ||||
-rw-r--r-- | games/maelstrom-sdl/patches/patch-ag | 13 |
12 files changed, 250 insertions, 0 deletions
diff --git a/games/maelstrom-sdl/DESCR b/games/maelstrom-sdl/DESCR new file mode 100644 index 00000000000..5f857abdbac --- /dev/null +++ b/games/maelstrom-sdl/DESCR @@ -0,0 +1,8 @@ +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. diff --git a/games/maelstrom-sdl/MESSAGE b/games/maelstrom-sdl/MESSAGE new file mode 100644 index 00000000000..3ad5569da04 --- /dev/null +++ b/games/maelstrom-sdl/MESSAGE @@ -0,0 +1,17 @@ +===================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 2002/07/11 13:21:27 wiz Exp $ + +If you wish the screen resolution to be changed to 640x480 when +Maelstrom is run, make sure that 640x480 is a valid mode for your X +server, and run Maelstrom like so: + + Maelstrom -fullscreen + + +If you want faster frame-rates, you can do so (for a small security +trade-off) using X11's DGA. Make the Maelstrom executable setuid root +and set the SDL_VIDEODRIVER environment variable to "dga" before +running Maelstrom. If you don't know how to do this, don't worry about +it; Maelstrom is plenty fast on most hardware. + +===================================================================== diff --git a/games/maelstrom-sdl/Makefile b/games/maelstrom-sdl/Makefile new file mode 100644 index 00000000000..a5d6ec55825 --- /dev/null +++ b/games/maelstrom-sdl/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/07/11 13:21:27 wiz Exp $ +# + +DISTNAME= Maelstrom-3.0.5 +PKGNAME= maelstrom-sdl-3.0.5 +CATEGORIES= games x11 +MASTER_SITES= http://www.devolution.com/~slouken/Maelstrom/src/ + +MAINTAINER= Benjamin.Wong@cc.gatech.edu +HOMEPAGE= http://www.devolution.com/~slouken/Maelstrom/ +COMMENT= Incredible, fast moving, high resolution version of asteroids (SDL version) + +CONFLICTS= maelstrom-x11-[0-9]* maelstrom-[0-9]* +USE_BUILDLINK_ONLY= YES +GNU_CONFIGURE= YES + +post-install: + ${RM} ${PREFIX}/share/doc/Maelstrom/Docs/Makefile \ + ${PREFIX}/share/doc/Maelstrom/Docs/Makefile.in \ + ${PREFIX}/share/Maelstrom/Images/Makefile \ + ${PREFIX}/share/Maelstrom/Images/Makefile.in + +.include "../../devel/SDL/buildlink.mk" +.include "../../net/SDL_net/buildlink.mk" +.include "../../mk/x11.buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/games/maelstrom-sdl/PLIST b/games/maelstrom-sdl/PLIST new file mode 100644 index 00000000000..0fd0128410a --- /dev/null +++ b/games/maelstrom-sdl/PLIST @@ -0,0 +1,58 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/07/11 13:21:27 wiz Exp $ +bin/Maelstrom +bin/Maelstrom-netd +bin/macres +bin/snd2wav +share/Maelstrom/Images/Maelstrom_Icon#100.cicn +share/Maelstrom/Images/Maelstrom_Icon#101.cicn +share/Maelstrom/Images/Maelstrom_Icon#102.cicn +share/Maelstrom/Images/Maelstrom_Icon#103.cicn +share/Maelstrom/Images/Maelstrom_Icon#104.cicn +share/Maelstrom/Images/Maelstrom_Icon#110.cicn +share/Maelstrom/Images/Maelstrom_Icon#128.cicn +share/Maelstrom/Images/Maelstrom_Icon#129.cicn +share/Maelstrom/Images/Maelstrom_Icon#130.cicn +share/Maelstrom/Images/Maelstrom_Icon#131.cicn +share/Maelstrom/Images/Maelstrom_Icon#132.cicn +share/Maelstrom/Images/Maelstrom_Icon#133.cicn +share/Maelstrom/Images/Maelstrom_Icon#134.cicn +share/Maelstrom/Images/Maelstrom_Icon#135.cicn +share/Maelstrom/Images/Maelstrom_Icon#136.cicn +share/Maelstrom/Images/Maelstrom_Icon#137.cicn +share/Maelstrom/Images/Maelstrom_Titles#100.bmp +share/Maelstrom/Images/Maelstrom_Titles#101.bmp +share/Maelstrom/Images/Maelstrom_Titles#102.bmp +share/Maelstrom/Images/Maelstrom_Titles#128.bmp +share/Maelstrom/Images/Maelstrom_Titles#129.bmp +share/Maelstrom/Images/Maelstrom_Titles#130.bmp +share/Maelstrom/Images/Maelstrom_Titles#133.bmp +share/Maelstrom/Images/Maelstrom_Titles#134.bmp +share/Maelstrom/Images/Maelstrom_Titles#135.bmp +share/Maelstrom/Images/Maelstrom_Titles#999.bmp +share/Maelstrom/Maelstrom-Scores +share/Maelstrom/Maelstrom_Fonts +share/Maelstrom/Maelstrom_Sounds +share/Maelstrom/Maelstrom_Sprites +share/Maelstrom/icon.bmp +share/Maelstrom/icon.xpm +share/doc/Maelstrom/COPYING +share/doc/Maelstrom/COPYING.GPL +share/doc/Maelstrom/Docs/Ambrosia_Software,_Inc._FAQ +share/doc/Maelstrom/Docs/Maelstrom-Announce +share/doc/Maelstrom/Docs/Maelstrom.FAQ +share/doc/Maelstrom/Docs/MaelstromGPL_press_release +share/doc/Maelstrom/Docs/Networking.Paper +share/doc/Maelstrom/Docs/Porting.Paper +share/doc/Maelstrom/Docs/Quotes +share/doc/Maelstrom/Docs/RSA.README +share/doc/Maelstrom/Docs/Technical_Notes-v1.0 +share/doc/Maelstrom/Docs/Technical_Notes-v1.1 +share/doc/Maelstrom/Docs/Technical_Notes-v2.0 +share/doc/Maelstrom/README +share/doc/Maelstrom/README.joystick +share/doc/Maelstrom/README.network +share/doc/Maelstrom/README.options +@dirrm share/doc/Maelstrom/Docs +@dirrm share/doc/Maelstrom +@dirrm share/Maelstrom/Images +@dirrm share/Maelstrom diff --git a/games/maelstrom-sdl/distinfo b/games/maelstrom-sdl/distinfo new file mode 100644 index 00000000000..ee42bf4d3ec --- /dev/null +++ b/games/maelstrom-sdl/distinfo @@ -0,0 +1,11 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/07/11 13:21:28 wiz Exp $ + +SHA1 (Maelstrom-3.0.5.tar.gz) = 3731cc0ea73138539c7b12bf0b297d68be96cbab +Size (Maelstrom-3.0.5.tar.gz) = 977191 bytes +SHA1 (patch-aa) = b411a79bd5337f52f77037898567055e99b08ba0 +SHA1 (patch-ab) = b5d5482f7c544c823c8fb900a89d7504985dbf1a +SHA1 (patch-ac) = 7d4ecf4f1e0ce5f41027f516388d468b6be814e3 +SHA1 (patch-ad) = 53c8fe1b05d381fa6c764d66ecae803d5361eee2 +SHA1 (patch-ae) = a256a45e5ac3c4d82cb3333a49e31ecf0ed318b2 +SHA1 (patch-af) = 8e289ee79c6fed20de4edde1d4cfa8df65cab854 +SHA1 (patch-ag) = 038060e5173abb369a8667aac9fa756f04044f82 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 |