diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-10-19 21:17:31 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-10-19 21:17:31 +0800 |
commit | ba12a349a1eb4135319a8a53ca7bbc1c982ac2dc (patch) | |
tree | 138cba081694a29231e36cf28b1ba8594fea6918 /games/icebreaker | |
parent | f47da8beee47d3b6acb7874f3fc9202b3733160c (diff) | |
download | freebsd-ports-gnome-ba12a349a1eb4135319a8a53ca7bbc1c982ac2dc.tar.gz freebsd-ports-gnome-ba12a349a1eb4135319a8a53ca7bbc1c982ac2dc.tar.zst freebsd-ports-gnome-ba12a349a1eb4135319a8a53ca7bbc1c982ac2dc.zip |
Add icebreaker - a SDL-based game similar to Jezzball or Barrack.
Diffstat (limited to 'games/icebreaker')
-rw-r--r-- | games/icebreaker/Makefile | 28 | ||||
-rw-r--r-- | games/icebreaker/distinfo | 1 | ||||
-rw-r--r-- | games/icebreaker/files/patch-aa | 53 | ||||
-rw-r--r-- | games/icebreaker/pkg-comment | 1 | ||||
-rw-r--r-- | games/icebreaker/pkg-descr | 24 | ||||
-rw-r--r-- | games/icebreaker/pkg-plist | 8 |
6 files changed, 115 insertions, 0 deletions
diff --git a/games/icebreaker/Makefile b/games/icebreaker/Makefile new file mode 100644 index 000000000000..87201cde9f96 --- /dev/null +++ b/games/icebreaker/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: icebreaker +# Date created: 19 October 2000 +# Whom: Maxim Sobolev <sobomax@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= icebreaker +PORTVERSION= 1.0 +CATEGORIES= games +MASTER_SITES= http://www.mattdm.org/icebreaker/ +EXTRACT_SUFX= .tgz + +MAINTAINER= sobomax@FreeBSD.org + +LIB_DEPENDS= SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer + +SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config + +USE_GMAKE= yes +MAKE_ENV= SDL_CONFIG="${SDL_CONFIG}" \ + prefix="${PREFIX}" \ + highscoredir="${PREFIX}/share/icebreaker/scores" \ + CHMOD="${CHMOD}" \ + CHOWN="${CHOWN}" \ + MKDIR="${MKDIR}" + +.include <bsd.port.mk> diff --git a/games/icebreaker/distinfo b/games/icebreaker/distinfo new file mode 100644 index 000000000000..75a2053e4f38 --- /dev/null +++ b/games/icebreaker/distinfo @@ -0,0 +1 @@ +MD5 (icebreaker-1.0.tgz) = 74259ee86ff7bf5eec8471aed89e5388 diff --git a/games/icebreaker/files/patch-aa b/games/icebreaker/files/patch-aa new file mode 100644 index 000000000000..ece582c347c3 --- /dev/null +++ b/games/icebreaker/files/patch-aa @@ -0,0 +1,53 @@ +--- Makefile.orig Thu Oct 5 21:55:31 2000 ++++ Makefile Thu Oct 19 14:24:35 2000 +@@ -1,4 +1,4 @@ +-CC=gcc ++CC?=gcc + + ifndef prefix + #prefix=/usr/local +@@ -10,16 +10,16 @@ + highscoredir=/var/lib/games + endif + +-CFLAGS=-Wall -O3 $(SDL_CFLAGS) -DDATAPREFIX=\"$(prefix)/share/icebreaker\" -DHISCOREPREFIX=\"$(highscoredir)\" ++CFLAGS+=-Wall $(SDL_CFLAGS) -DDATAPREFIX=\"$(prefix)/share/icebreaker\" -DHISCOREPREFIX=\"$(highscoredir)\" + #CFLAGS=-Wall -pg -g $(SDL_CFLAGS) + + SRC=icebreaker.c cursor.c grid.c laundry.c line.c penguin.c sound.c \ + level.c intro.c text.c status.c transition.c hiscore.c dialog.c + +-SDL_MIXER=-lSDL_mixer ++SDL_MIXER=-lSDL_mixer -lsmpeg -lgcc_r + SDL_LIB=$(SDL_LDFLAGS) $(SDL_MIXER) +-SDL_CFLAGS := $(shell sdl-config --cflags) +-SDL_LDFLAGS := $(shell sdl-config --libs) ++SDL_CFLAGS := $(shell $(SDL_CONFIG) --cflags) ++SDL_LDFLAGS := $(shell $(SDL_CONFIG) --libs) + + + all: icebreaker +@@ -38,15 +38,16 @@ + $(CC) $(CFLAGS) $^ -o icebreaker $(SDL_LIB) + + install: all +- mkdir -p $(prefix)/bin +- mkdir -p $(prefix)/share/icebreaker +- mkdir -p $(highscoredir) ++ $(MKDIR) $(prefix)/share/icebreaker ++ $(MKDIR) $(highscoredir) + +- install -m 644 *.wav *.bmp $(prefix)/share/icebreaker +- install -g games -s -m 2755 icebreaker $(prefix)/bin ++ $(BSD_INSTALL_DATA) *.wav *.bmp $(prefix)/share/icebreaker ++ $(BSD_INSTALL_PROGRAM) icebreaker $(prefix)/bin + touch $(highscoredir)/icebreaker.scores +- chown games:games $(highscoredir)/icebreaker.scores +- chmod 664 $(highscoredir)/icebreaker.scores ++ $(CHOWN) root:games $(prefix)/bin/icebreaker ++ $(CHMOD) 2755 $(prefix)/bin/icebreaker ++ $(CHOWN) root:games $(highscoredir)/icebreaker.scores ++ $(CHMOD) 664 $(highscoredir)/icebreaker.scores + + + include $(SRC:.c=.d) diff --git a/games/icebreaker/pkg-comment b/games/icebreaker/pkg-comment new file mode 100644 index 000000000000..a29cdb2e14e3 --- /dev/null +++ b/games/icebreaker/pkg-comment @@ -0,0 +1 @@ +A game similar to Jezzball or Barrack diff --git a/games/icebreaker/pkg-descr b/games/icebreaker/pkg-descr new file mode 100644 index 000000000000..45ffef10bf98 --- /dev/null +++ b/games/icebreaker/pkg-descr @@ -0,0 +1,24 @@ +IceBreaker is a game similar to Jezzball or Barrack. So, uh, there's a bunch of +penguins on an iceberg in Antarctica. You have been selected to catch them so +they can be shipped to Finland, where they are essential to a secret plot for +world domination. + +In order to trap the penguins, you'll need to break the iceberg into small +chunks. (They're afraid of water, for no apparent reason.) You do this by +melting lines in the ice with Special High-Tech GNU Tools. + +If a penguin hits a line in progress, however, it vanishes with a loud noise, +and you lose a life. (Yes, a life. This story is really breaking down, isn't +it? But never fear -- I'll keep going until it's completely dead.) + +Once 80% or more of the iceberg is gone, the remaining chunks are small enough +for shipping. Of course, if you manage to get rid of more than that, you'll +save on postage, thus earning you exponential amounts of Geek Cred (a.k.a. +"score"). + +After you ship off one batch of penguins, it's time to move on to the next. +Each subsequent 'berg will have one more penguin, and you'll have one more +life. This will continue until you lose, or until you exceed level one hundred +or so, which Ain't Gonna Happen. + +WWW: http://www.mattdm.org/icebreaker/ diff --git a/games/icebreaker/pkg-plist b/games/icebreaker/pkg-plist new file mode 100644 index 000000000000..e927d7b6265d --- /dev/null +++ b/games/icebreaker/pkg-plist @@ -0,0 +1,8 @@ +bin/icebreaker +share/icebreaker/crash.wav +share/icebreaker/icebreaker_48.bmp +share/icebreaker/ouch.wav +share/icebreaker/penguin.bmp +share/icebreaker/scores/icebreaker.scores +@dirrm share/icebreaker/scores +@dirrm share/icebreaker |