aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/Makefile1
-rw-r--r--games/icebreaker/Makefile28
-rw-r--r--games/icebreaker/distinfo1
-rw-r--r--games/icebreaker/files/patch-aa53
-rw-r--r--games/icebreaker/pkg-comment1
-rw-r--r--games/icebreaker/pkg-descr24
-rw-r--r--games/icebreaker/pkg-plist8
7 files changed, 116 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index c204afee61b7..a70daea8ef06 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -91,6 +91,7 @@
SUBDIR += heroes
SUBDIR += hex
SUBDIR += icbm3d
+ SUBDIR += icebreaker
SUBDIR += ifm
SUBDIR += imaze
SUBDIR += inform
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