diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-09-28 08:07:22 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-09-28 08:07:22 +0000 |
commit | bb3ea77c478150d109f29299b5b41bc4b9b8bb31 (patch) | |
tree | c539c43a033e868271a8b570ce10321847dba083 /games/madbomber | |
parent | Update to 1.1.5. (diff) |
Add madbomber - a SDL clone of Activision's classic Atari 2600 console game
"Kaboom!".
Notes
Notes:
svn path=/head/; revision=33199
Diffstat (limited to 'games/madbomber')
-rw-r--r-- | games/madbomber/Makefile | 29 | ||||
-rw-r--r-- | games/madbomber/distinfo | 1 | ||||
-rw-r--r-- | games/madbomber/files/Makeflags | 37 | ||||
-rw-r--r-- | games/madbomber/files/patch-aa | 49 | ||||
-rw-r--r-- | games/madbomber/pkg-comment | 1 | ||||
-rw-r--r-- | games/madbomber/pkg-descr | 5 | ||||
-rw-r--r-- | games/madbomber/pkg-plist | 140 |
7 files changed, 262 insertions, 0 deletions
diff --git a/games/madbomber/Makefile b/games/madbomber/Makefile new file mode 100644 index 000000000000..bf5566ed1eb9 --- /dev/null +++ b/games/madbomber/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: madbomber +# Date created: 13 May 1998 +# Whom: Maxim Sobolev <sobomax@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= madbomber +PORTVERSION= 0.1.8 +CATEGORIES= games +MASTER_SITES= ftp://ftp.sonic.net/pub/users/nbs/unix/x/madbomber/ + +MAINTAINER= sobomax@FreeBSD.org + +LIB_DEPENDS= SDL_image.9:${PORTSDIR}/graphics/sdl_image \ + SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer + +SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config + +USE_GMAKE= yes +MAKE_ENV= SDL_CONFIG="${SDL_CONFIG}" + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/madbomber ${PREFIX}/bin + @${MKDIR} ${PREFIX}/share/madbomber + @cd ${WRKSRC}/data; tar cf - . | \ + (cd ${PREFIX}/share/madbomber; ${TAR} --unlink -xf - ) + +.include <bsd.port.mk> diff --git a/games/madbomber/distinfo b/games/madbomber/distinfo new file mode 100644 index 000000000000..812a4cef985f --- /dev/null +++ b/games/madbomber/distinfo @@ -0,0 +1 @@ +MD5 (madbomber-0.1.8.tar.gz) = c0bcd3b63d2c688f13ed744bc57ea554 diff --git a/games/madbomber/files/Makeflags b/games/madbomber/files/Makeflags new file mode 100644 index 000000000000..de83567d2f66 --- /dev/null +++ b/games/madbomber/files/Makeflags @@ -0,0 +1,37 @@ +# This file contains the template for Makeflags + +SYSTEM = FreeBSD +FEATURES = -DASYNCHRONOUS_IO -DUSE_POSIX_SIGNALS -DUNSIGNED_AUDIO_DATA -DFORCE_XSHM -DNETPLAY + +LOGIC = netlogic + +XPMINCLUDE = +XPMLINKDIR = + +BINDIR = ${PREFIX}/bin +LIBDIR = ${PREFIX}/share/Maelstrom +DATAFILES = Images/*.icon Images/*.cicn "Maelstrom Fonts" \ + "Maelstrom Sounds" "Maelstrom Sprites" + +OBJS = main.o framebuf.o v_framebuf.o x11_framebuf.o vga_framebuf.o \ + dga_framebuf.o fontserv.o sound.o Mac_Resource.o imagedump.o \ + init.o $(LOGIC)/$(LOGIC).o \ + controls.o scores.o dialog.o fastrand.o netscore.o checksum.o \ + Utils.o shared.o myerror.o +SOUNDOBJS = Maelstrom_sound.o Mac_Resource.o soundres.o mixer.o shared.o myerror.o + +X11INCLUDE = -I${X11BASE}/include +INCLUDES = -I$(LOGIC) $(X11INCLUDE) $(XPMINCLUDE) +CFLAGS += $(INCLUDES) $(FEATURES) \ + -pedantic -DSYSTEM=\"$(SYSTEM)\" -DLIBDIR=\"$(LIBDIR)\" +EXTRALIBS = +X11LINKDIR = -L${X11BASE}/lib +X11LIBS = -lXpm $(XPMLINKDIR) -lX11 -lXext $(X11LINKDIR) +CSUMLIB = +LIBS = $(EXTRALIBS) $(X11LIBS) $(CSUMLIB) +SOUNDLIBS = + +INSTALL = install + +all: $(MAELSTROM) + diff --git a/games/madbomber/files/patch-aa b/games/madbomber/files/patch-aa new file mode 100644 index 000000000000..d12ba6082346 --- /dev/null +++ b/games/madbomber/files/patch-aa @@ -0,0 +1,49 @@ +--- Makefile.orig Fri Jun 30 10:27:37 2000 ++++ Makefile Thu Sep 28 10:43:24 2000 +@@ -9,30 +9,30 @@ + + # User-definable stuff: + +-BIN_PREFIX=/usr/local/bin/ +-DATA_PREFIX=/usr/share/madbomber/ ++BIN_PREFIX=$(PREFIX)/bin/ ++DATA_PREFIX=$(PREFIX)/share/madbomber/ + + + # Defaults for Linux: + + TARGET=madbomber + TARGET_DEF=LINUX +-SDL_CFLAGS := $(shell sdl-config --cflags) +-SDL_LDFLAGS := $(shell sdl-config --libs) ++SDL_CFLAGS := $(shell $(SDL_CONFIG) --cflags) ++SDL_LDFLAGS := $(shell $(SDL_CONFIG) --libs) + + + # Sound-related definitions: + +-MIXER=-lSDL_mixer ++MIXER=-lSDL_mixer -lsmpeg -lgcc_r + IMAGE=-lSDL_image + NOSOUNDFLAG=__SOUND + + + # Stuff we pass to the compiler: + +-CFLAGS=-Wall $(SDL_CFLAGS) \ ++CFLAGS+=-Wall $(SDL_CFLAGS) \ + -DDATA_PREFIX=\"$(DATA_PREFIX)\" -D$(NOSOUNDFLAG) -D$(TARGET_DEF) +-SDL_LIB=$(MIXER) $(IMAGE) $(SDL_LDFLAGS) ++SDL_LIB=$(MIXER) $(IMAGE) $(SDL_LDFLAGS) -lgcc_r + + + # Make commands: +@@ -67,7 +67,7 @@ + # Main executable: + + $(TARGET): madbomber.o +- $(CC) $(CFLAGS) madbomber.o -o $(TARGET) $(SDL_LIB) -lm ++ $(CXX) $(CFLAGS) madbomber.o -o $(TARGET) $(SDL_LIB) -lm + + + # Main object: diff --git a/games/madbomber/pkg-comment b/games/madbomber/pkg-comment new file mode 100644 index 000000000000..e4b04ce88d7d --- /dev/null +++ b/games/madbomber/pkg-comment @@ -0,0 +1 @@ +A clone of Activision's classic Atari 2600 console game "Kaboom!" diff --git a/games/madbomber/pkg-descr b/games/madbomber/pkg-descr new file mode 100644 index 000000000000..f763a6eb49c0 --- /dev/null +++ b/games/madbomber/pkg-descr @@ -0,0 +1,5 @@ +"Mad Bomber" is a clone of Activision's classic Atari 2600 console game, +"Kaboom!," by Larry Kaplan, with spruced-up graphics and sound effects, and +music + +WWW: http://www.newbreedsoftware.com/madbomber/ diff --git a/games/madbomber/pkg-plist b/games/madbomber/pkg-plist new file mode 100644 index 000000000000..aeb434f11ee5 --- /dev/null +++ b/games/madbomber/pkg-plist @@ -0,0 +1,140 @@ +bin/madbomber +share/madbomber/images/bar.png +share/madbomber/images/game/background.png +share/madbomber/images/game/bomb/bomb0.png +share/madbomber/images/game/bomb/bomb1.png +share/madbomber/images/game/bomb/bomb2.png +share/madbomber/images/game/bomb/bomb3.png +share/madbomber/images/game/bomb/explosion1.png +share/madbomber/images/game/bomb/explosion2.png +share/madbomber/images/game/bomber/bomber-amazed.png +share/madbomber/images/game/bomber/bomber-happy.png +share/madbomber/images/game/bomber/bomber-sad.png +share/madbomber/images/game/bucket/bucket1.png +share/madbomber/images/game/bucket/bucket1red.png +share/madbomber/images/game/bucket/bucket2.png +share/madbomber/images/game/bucket/bucket2red.png +share/madbomber/images/game/bucket/bucket3.png +share/madbomber/images/game/bucket/bucket3red.png +share/madbomber/images/game/bucket/small-bucket1.png +share/madbomber/images/game/bucket/small-bucket1red.png +share/madbomber/images/game/bucket/small-bucket2.png +share/madbomber/images/game/bucket/small-bucket2red.png +share/madbomber/images/game/bucket/small-bucket3.png +share/madbomber/images/game/bucket/small-bucket3red.png +share/madbomber/images/game/drop/drop-down.png +share/madbomber/images/game/drop/drop-left-down.png +share/madbomber/images/game/drop/drop-left-up.png +share/madbomber/images/game/drop/drop-left.png +share/madbomber/images/game/drop/drop-right-down.png +share/madbomber/images/game/drop/drop-right-up.png +share/madbomber/images/game/drop/drop-right.png +share/madbomber/images/game/drop/drop-up.png +share/madbomber/images/game/game-over.png +share/madbomber/images/game/highscore.png +share/madbomber/images/game/numbers/0.png +share/madbomber/images/game/numbers/0red.png +share/madbomber/images/game/numbers/1.png +share/madbomber/images/game/numbers/1red.png +share/madbomber/images/game/numbers/2.png +share/madbomber/images/game/numbers/2red.png +share/madbomber/images/game/numbers/3.png +share/madbomber/images/game/numbers/3red.png +share/madbomber/images/game/numbers/4.png +share/madbomber/images/game/numbers/4red.png +share/madbomber/images/game/numbers/5.png +share/madbomber/images/game/numbers/5red.png +share/madbomber/images/game/numbers/6.png +share/madbomber/images/game/numbers/6red.png +share/madbomber/images/game/numbers/7.png +share/madbomber/images/game/numbers/7red.png +share/madbomber/images/game/numbers/8.png +share/madbomber/images/game/numbers/8red.png +share/madbomber/images/game/numbers/9.png +share/madbomber/images/game/numbers/9red.png +share/madbomber/images/game/paused.png +share/madbomber/images/game/press-escape.png +share/madbomber/images/game/press-fire.png +share/madbomber/images/highscore/highscore.png +share/madbomber/images/highscore/letters.png +share/madbomber/images/icon.png +share/madbomber/images/loading.png +share/madbomber/images/make-offs.sh +share/madbomber/images/options/0percent-off.png +share/madbomber/images/options/0percent.png +share/madbomber/images/options/100percent-off.png +share/madbomber/images/options/100percent.png +share/madbomber/images/options/25percent-off.png +share/madbomber/images/options/25percent.png +share/madbomber/images/options/50percent-off.png +share/madbomber/images/options/50percent.png +share/madbomber/images/options/75percent-off.png +share/madbomber/images/options/75percent.png +share/madbomber/images/options/detail.png +share/madbomber/images/options/difficulty.png +share/madbomber/images/options/effects.png +share/madbomber/images/options/hard-off.png +share/madbomber/images/options/hard.png +share/madbomber/images/options/music.png +share/madbomber/images/options/normal-off.png +share/madbomber/images/options/normal.png +share/madbomber/images/options/ok-off.png +share/madbomber/images/options/ok.png +share/madbomber/images/options/options.png +share/madbomber/images/options/player-one.png +share/madbomber/images/options/player-two.png +share/madbomber/images/options/volume.png +share/madbomber/images/options/zen-off.png +share/madbomber/images/options/zen.png +share/madbomber/images/spray-black.png +share/madbomber/images/spray-blue.png +share/madbomber/images/spray-cyan.png +share/madbomber/images/title/exit-off.png +share/madbomber/images/title/exit.png +share/madbomber/images/title/highscore-off.png +share/madbomber/images/title/highscore.png +share/madbomber/images/title/one-player-off.png +share/madbomber/images/title/one-player.png +share/madbomber/images/title/options-off.png +share/madbomber/images/title/options.png +share/madbomber/images/title/title.png +share/madbomber/images/title/two-player-vs-off.png +share/madbomber/images/title/two-player-vs.png +share/madbomber/images/title/two-players-off.png +share/madbomber/images/title/two-players.png +share/madbomber/music/astraltr.mod +share/madbomber/music/bizjung.it +share/madbomber/music/fdn-arab.s3m +share/madbomber/music/gluppobe.mod +share/madbomber/music/waterfal.mod +share/madbomber/sounds/bigexplosion.wav +share/madbomber/sounds/can-shake.wav +share/madbomber/sounds/confirm.wav +share/madbomber/sounds/explosion.wav +share/madbomber/sounds/fuse.wav +share/madbomber/sounds/highscore.wav +share/madbomber/sounds/level8.wav +share/madbomber/sounds/oneup.wav +share/madbomber/sounds/select.wav +share/madbomber/sounds/splash1.wav +share/madbomber/sounds/splash2.wav +share/madbomber/sounds/splash3.wav +share/madbomber/sounds/splash4.wav +share/madbomber/sounds/splash5.wav +share/madbomber/sounds/splash6.wav +share/madbomber/sounds/splash7.wav +share/madbomber/sounds/splash8.wav +share/madbomber/sounds/spray.wav +@dirrm share/madbomber/sounds +@dirrm share/madbomber/music +@dirrm share/madbomber/images/title +@dirrm share/madbomber/images/options +@dirrm share/madbomber/images/highscore +@dirrm share/madbomber/images/game/numbers +@dirrm share/madbomber/images/game/drop +@dirrm share/madbomber/images/game/bucket +@dirrm share/madbomber/images/game/bomber +@dirrm share/madbomber/images/game/bomb +@dirrm share/madbomber/images/game +@dirrm share/madbomber/images +@dirrm share/madbomber |