summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-03-08 19:19:14 +0000
committerwiz <wiz@pkgsrc.org>2002-03-08 19:19:14 +0000
commit7d4ef5c222d7f975915ce505a905c60457822265 (patch)
tree7a5521169685880ca08a357384763af7bbb4e768 /games
parent1436f18e4edccf845e99b199de271e8971f3abdb (diff)
downloadpkgsrc-7d4ef5c222d7f975915ce505a905c60457822265.tar.gz
Initial import of icebreaker-1.2.1:
From the DESCR: 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. 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. 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. Of course, this is an urgent mission, so you'll be penalized if you're slow -- every second or so, your score drops down by one.
Diffstat (limited to 'games')
-rw-r--r--games/icebreaker/DESCR24
-rw-r--r--games/icebreaker/Makefile20
-rw-r--r--games/icebreaker/PLIST12
-rw-r--r--games/icebreaker/distinfo6
-rw-r--r--games/icebreaker/patches/patch-aa54
-rw-r--r--games/icebreaker/patches/patch-ab13
6 files changed, 129 insertions, 0 deletions
diff --git a/games/icebreaker/DESCR b/games/icebreaker/DESCR
new file mode 100644
index 00000000000..c87ba4385e0
--- /dev/null
+++ b/games/icebreaker/DESCR
@@ -0,0 +1,24 @@
+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. 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.
+
+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.
+
+Of course, this is an urgent mission, so you'll be penalized if
+you're slow -- every second or so, your score drops down by one.
diff --git a/games/icebreaker/Makefile b/games/icebreaker/Makefile
new file mode 100644
index 00000000000..0371a219884
--- /dev/null
+++ b/games/icebreaker/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/03/08 19:19:14 wiz Exp $
+#
+
+DISTNAME= icebreaker-1.2.1
+CATEGORIES= games
+MASTER_SITES= http://www.mattdm.org/icebreaker/1.2.x/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= wiz@netbsd.org
+HOMEPAGE= http://www.mattdm.org/icebreaker/
+COMMENT= penguin capturing simulation
+
+USE_GMAKE= yes
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/icebreaker
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/icebreaker
+
+.include "../../devel/SDL/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/icebreaker/PLIST b/games/icebreaker/PLIST
new file mode 100644
index 00000000000..df6019890d0
--- /dev/null
+++ b/games/icebreaker/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/03/08 19:19:14 wiz Exp $
+bin/icebreaker
+man/man6/icebreaker.6
+share/doc/icebreaker/README
+share/icebreaker/crash.wav
+share/icebreaker/icebreaker_48.bmp
+share/icebreaker/ouch.wav
+share/icebreaker/penguin.bmp
+share/icebreaker/penguinicon_32.bmp
+@dirrm share/icebreaker
+@dirrm share/doc/icebreaker
+@dirrm man/man6
diff --git a/games/icebreaker/distinfo b/games/icebreaker/distinfo
new file mode 100644
index 00000000000..7c4371bba3d
--- /dev/null
+++ b/games/icebreaker/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/03/08 19:19:14 wiz Exp $
+
+SHA1 (icebreaker-1.2.1.tgz) = 7b7c1e655f2a979cd1f05aa6ff0cddc5d2430efb
+Size (icebreaker-1.2.1.tgz) = 56622 bytes
+SHA1 (patch-aa) = ec8595454cf623e6ac9693810717969bab160b57
+SHA1 (patch-ab) = 1850a318cae8205ac250f1e3faf2416e121dec16
diff --git a/games/icebreaker/patches/patch-aa b/games/icebreaker/patches/patch-aa
new file mode 100644
index 00000000000..c57479a69c7
--- /dev/null
+++ b/games/icebreaker/patches/patch-aa
@@ -0,0 +1,54 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/03/08 19:19:15 wiz Exp $
+
+--- Makefile.orig Mon Jul 30 03:32:36 2001
++++ Makefile
+@@ -1,9 +1,9 @@
+-CC=gcc
++CC?=gcc
+
+-SDLCONFIG=sdl-config
++SDLCONFIG?=sdl-config
+
+ ifndef prefix
+- prefix=/usr/local
++ prefix=${PREFIX}
+ #prefix=/usr
+ endif
+
+@@ -12,11 +12,11 @@
+ endif
+
+ ifndef mandir
+- mandir=$(prefix)/share/man
++ mandir=$(prefix)/man
+ endif
+
+ ifndef highscoredir
+- highscoredir=/var/local/lib/games
++ highscoredir=/var/games
+ #highscoredir=/var/lib/games
+ endif
+
+@@ -103,14 +103,14 @@
+ sed 's/\$$VERDATE/$(VERDATE)/' > $@
+
+ install: all
+- mkdir -p $(prefix)/bin
+- mkdir -p $(prefix)/share/icebreaker
+- mkdir -p $(highscoredir)
+- mkdir -p $(mandir)/man6
+-
+- install -m 644 *.wav *.bmp $(prefix)/share/icebreaker
+- install -g games -s -m 2755 icebreaker $(prefix)/bin
+- install -m 644 icebreaker.6 $(mandir)/man6
++ ${BSD_INSTALL_DATA_DIR} $(prefix)/bin
++ ${BSD_INSTALL_DATA_DIR} $(prefix)/share/icebreaker
++ ${BSD_INSTALL_DATA_DIR} $(highscoredir)
++ ${BSD_INSTALL_DATA_DIR} $(mandir)/man6
++
++ ${BSD_INSTALL_DATA} -m 644 *.wav *.bmp $(prefix)/share/icebreaker
++ ${BSD_INSTALL_DATA} -g games -s -m 2755 icebreaker $(prefix)/bin
++ ${BSD_INSTALL_MAN} -m 644 icebreaker.6 $(mandir)/man6
+ touch $(highscoredir)/icebreaker.scores
+ chown games:games $(highscoredir)/icebreaker.scores
+ chmod 664 $(highscoredir)/icebreaker.scores
diff --git a/games/icebreaker/patches/patch-ab b/games/icebreaker/patches/patch-ab
new file mode 100644
index 00000000000..824f9c9e536
--- /dev/null
+++ b/games/icebreaker/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/03/08 19:19:15 wiz Exp $
+
+--- sound.c.orig Fri Jul 27 02:47:59 2001
++++ sound.c
+@@ -38,7 +38,7 @@
+ soundsystemworks=false;
+ fprintf(stderr, "Can't start sound subsystem: %s\nContinuing without it.\n", SDL_GetError());
+ }
+- else if (Mix_OpenAudio(11025, (Uint16)AUDIO_U8, 2, 256))
++ else if (Mix_OpenAudio(44100, (Uint16)AUDIO_U8, 2, 256))
+ {
+ soundsystemworks=false;
+ fprintf(stderr, "Can't open audio: %s\nContinuing without it.\n", SDL_GetError());