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. lots of feedback / ok merdely@
This commit is contained in:
parent
3be5b25d23
commit
25fcf11bee
26
games/maelstrom/Makefile
Normal file
26
games/maelstrom/Makefile
Normal file
@ -0,0 +1,26 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2008/06/04 06:50:20 phessler Exp $
|
||||
|
||||
COMMENT = asteroid-like game
|
||||
|
||||
DISTNAME = Maelstrom-3.0.6
|
||||
PKGNAME = ${DISTNAME:L}
|
||||
CATEGORIES = games x11
|
||||
HOMEPAGE = http://www.devolution.com/~slouken/Maelstrom/
|
||||
MASTER_SITES = ${HOMEPAGE}src/
|
||||
|
||||
MAINTAINER = Peter Hessler <phessler@openbsd.org>
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM =Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
USE_X11 = Yes
|
||||
CONFIGURE_STYLE = gnu
|
||||
|
||||
WANTLIB = c m pthread stdc++
|
||||
LIB_DEPENDS = SDL::devel/sdl \
|
||||
SDL_net::devel/sdl-net
|
||||
|
||||
.include <bsd.port.mk>
|
5
games/maelstrom/distinfo
Normal file
5
games/maelstrom/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (Maelstrom-3.0.6.tar.gz) = T762Bw7r3xYb0Vawg7iATg==
|
||||
RMD160 (Maelstrom-3.0.6.tar.gz) = iHOOa60V1ncoS3edc714+iRpU7U=
|
||||
SHA1 (Maelstrom-3.0.6.tar.gz) = 69OgQXSVMsSJVh8Q/MF7zy4V4Ew=
|
||||
SHA256 (Maelstrom-3.0.6.tar.gz) = pTsl1kg7ZK8M5O6JPEkV2bayQqvPJ2GPaI/suGjGdOQ=
|
||||
SIZE (Maelstrom-3.0.6.tar.gz) = 1006665
|
61
games/maelstrom/patches/patch-Makefile_in
Normal file
61
games/maelstrom/patches/patch-Makefile_in
Normal file
@ -0,0 +1,61 @@
|
||||
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2008/06/04 06:50:20 phessler Exp $
|
||||
--- Makefile.in.orig Sat Oct 19 21:19:42 2002
|
||||
+++ Makefile.in Tue Jun 3 22:56:03 2008
|
||||
@@ -30,7 +30,7 @@ libdir = @libdir@
|
||||
infodir = @infodir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
-oldincludedir = /usr/include
|
||||
+oldincludedir = ${PREFIX}
|
||||
|
||||
DESTDIR =
|
||||
|
||||
@@ -73,7 +73,7 @@ SDL_CONFIG = @SDL_CONFIG@
|
||||
SDL_LIBS = @SDL_LIBS@
|
||||
VERSION = @VERSION@
|
||||
|
||||
-bin_PROGRAMS = Maelstrom Maelstrom-netd
|
||||
+bin_PROGRAMS = maelstrom maelstrom-netd
|
||||
|
||||
Maelstrom_SOURCES = Maelstrom.h Maelstrom_Globals.h buttonlist.h checksum.cpp checksum.h colortable.h controls.cpp controls.h dialog.cpp dialog.h fastrand.cpp fastrand.h init.cpp load.cpp load.h logic.h main.cpp myerror.cpp myerror.h netscore.cpp netscore.h public_key.h rect.cpp rect.h scores.cpp scores.h
|
||||
|
||||
@@ -193,11 +193,11 @@ distclean-compile:
|
||||
|
||||
maintainer-clean-compile:
|
||||
|
||||
-Maelstrom: $(Maelstrom_OBJECTS) $(Maelstrom_DEPENDENCIES)
|
||||
+maelstrom: $(Maelstrom_OBJECTS) $(Maelstrom_DEPENDENCIES)
|
||||
@rm -f Maelstrom
|
||||
$(CXXLINK) $(Maelstrom_LDFLAGS) $(Maelstrom_OBJECTS) $(Maelstrom_LDADD) $(LIBS)
|
||||
|
||||
-Maelstrom-netd: $(Maelstrom_netd_OBJECTS) $(Maelstrom_netd_DEPENDENCIES)
|
||||
+maelstrom-netd: $(Maelstrom_netd_OBJECTS) $(Maelstrom_netd_DEPENDENCIES)
|
||||
@rm -f Maelstrom-netd
|
||||
$(LINK) $(Maelstrom_netd_LDFLAGS) $(Maelstrom_netd_OBJECTS) $(Maelstrom_netd_LDADD) $(LIBS)
|
||||
.cpp.o:
|
||||
@@ -431,21 +431,21 @@ maintainer-clean-generic clean mostlyclean distclean m
|
||||
|
||||
# Special install rule for the game
|
||||
install:
|
||||
- make install_gamedata target=@GAME_INSTALLDIR@
|
||||
+ make install_gamedata target=$(PREFIX)/share/maelstrom
|
||||
+ 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 \
|
||||
Maelstrom-Scores \
|
||||
icon.bmp icon.xpm $(target)/
|
||||
- chmod 666 $(target)/Maelstrom-Scores
|
||||
|
||||
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
|
12
games/maelstrom/patches/patch-configure
Normal file
12
games/maelstrom/patches/patch-configure
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-configure,v 1.1.1.1 2008/06/04 06:50:20 phessler Exp $
|
||||
--- configure.orig Tue Jun 3 22:58:05 2008
|
||||
+++ configure Tue Jun 3 22:59:25 2008
|
||||
@@ -3232,7 +3232,7 @@ case "$target" in
|
||||
GAME_INSTALLDIR="\$(prefix)/games/$PACKAGE"
|
||||
;;
|
||||
*)
|
||||
- GAME_INSTALLDIR="\$(prefix)/games/$PACKAGE"
|
||||
+ GAME_INSTALLDIR="\$(prefix)/share/maelstrom"
|
||||
;;
|
||||
esac
|
||||
|
21
games/maelstrom/patches/patch-load_h
Normal file
21
games/maelstrom/patches/patch-load_h
Normal file
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-load_h,v 1.1.1.1 2008/06/04 06:50:20 phessler Exp $
|
||||
--- load.h.orig Sat Jul 21 13:46:17 2001
|
||||
+++ load.h Tue Jun 3 19:05:51 2008
|
||||
@@ -21,7 +21,7 @@ static inline char *strdup(const char *str)
|
||||
return(newstr);
|
||||
}
|
||||
#endif
|
||||
-#if defined(unix) || defined(__MACH__) || defined(__BEOS__)
|
||||
+#if defined(unix) || defined(__MACH__) || defined(__BEOS__) || defined(__OpenBSD__)
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#endif /* WIN32 */
|
||||
@@ -29,7 +29,7 @@ static inline char *strdup(const char *str)
|
||||
#include "SDL_FrameBuf.h"
|
||||
|
||||
/* Pathing stuff for the different operating systems */
|
||||
-#if defined(unix) || defined(__MACH__)
|
||||
+#if defined(unix) || defined(__MACH__) || defined(__OpenBSD__)
|
||||
#define DIR_SEP "/"
|
||||
#define CUR_DIR "."
|
||||
#elif defined(WIN32)
|
14
games/maelstrom/patches/patch-screenlib_SDL_FrameBuf_cpp
Normal file
14
games/maelstrom/patches/patch-screenlib_SDL_FrameBuf_cpp
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-screenlib_SDL_FrameBuf_cpp,v 1.1.1.1 2008/06/04 06:50:20 phessler Exp $
|
||||
--- screenlib/SDL_FrameBuf.cpp.orig Tue Jun 3 19:11:26 2008
|
||||
+++ screenlib/SDL_FrameBuf.cpp Tue Jun 3 19:19:01 2008
|
||||
@@ -848,8 +848,8 @@ FrameBuf:: AddDirtyRect(SDL_Rect *rect)
|
||||
for ( i=0; i<dirtymaplen; ++i ) {
|
||||
if ( dirtymap[i] != NULL ) {
|
||||
dirtymap[i] = (SDL_Rect *)(
|
||||
- ((int)dirtymap[i]-(int)updatelist) +
|
||||
- (int)newlist
|
||||
+ ((intptr_t)dirtymap[i]-(intptr_t)updatelist) +
|
||||
+ (intptr_t)newlist
|
||||
);
|
||||
}
|
||||
}
|
3
games/maelstrom/pkg/DESCR
Normal file
3
games/maelstrom/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
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.
|
60
games/maelstrom/pkg/PLIST
Normal file
60
games/maelstrom/pkg/PLIST
Normal file
@ -0,0 +1,60 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/06/04 06:50:20 phessler Exp $
|
||||
bin/maelstrom
|
||||
bin/maelstrom-netd
|
||||
share/doc/Maelstrom/
|
||||
share/doc/Maelstrom/COPYING
|
||||
share/doc/Maelstrom/COPYING.GPL
|
||||
share/doc/Maelstrom/Docs/
|
||||
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/Makefile
|
||||
share/doc/Maelstrom/Docs/Makefile.in
|
||||
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
|
||||
share/maelstrom/
|
||||
share/maelstrom/Images/
|
||||
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/Images/Makefile
|
||||
share/maelstrom/Images/Makefile.in
|
||||
share/maelstrom/Maelstrom-Scores
|
||||
share/maelstrom/Maelstrom_Fonts
|
||||
share/maelstrom/Maelstrom_Sounds
|
||||
share/maelstrom/Maelstrom_Sprites
|
||||
share/maelstrom/icon.bmp
|
||||
share/maelstrom/icon.xpm
|
Loading…
Reference in New Issue
Block a user