diff options
author | rh <rh@pkgsrc.org> | 2000-10-22 16:58:12 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 2000-10-22 16:58:12 +0000 |
commit | 68ba8547a6dfcf9672b07cbf3709375b6aa72192 (patch) | |
tree | da7f7822c592d070b701e5b382af9cc05b8daded /games | |
parent | 9dbcc6460bbf2ed4677ff1a91b5834dac70ecfe9 (diff) | |
download | pkgsrc-68ba8547a6dfcf9672b07cbf3709375b6aa72192.tar.gz |
Initial import of lbreakout-001018, a breakout-style arcade game
Diffstat (limited to 'games')
-rw-r--r-- | games/lbreakout/Makefile | 17 | ||||
-rw-r--r-- | games/lbreakout/files/md5 | 3 | ||||
-rw-r--r-- | games/lbreakout/files/patch-sum | 5 | ||||
-rw-r--r-- | games/lbreakout/patches/patch-aa | 39 | ||||
-rw-r--r-- | games/lbreakout/patches/patch-ab | 14 | ||||
-rw-r--r-- | games/lbreakout/patches/patch-ac | 13 | ||||
-rw-r--r-- | games/lbreakout/pkg/COMMENT | 1 | ||||
-rw-r--r-- | games/lbreakout/pkg/DESCR | 19 | ||||
-rw-r--r-- | games/lbreakout/pkg/PLIST | 49 |
9 files changed, 160 insertions, 0 deletions
diff --git a/games/lbreakout/Makefile b/games/lbreakout/Makefile new file mode 100644 index 00000000000..e84fa6e3d88 --- /dev/null +++ b/games/lbreakout/Makefile @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/10/22 16:58:12 rh Exp $ +# + +DISTNAME= lbreakout-001018 +CATEGORIES= games +MASTER_SITES= http://download.sourceforge.net/lgames/ + +MAINTAINER= rh@netbsd.org +HOMEPAGE= http://lgames.sourceforge.net/lbreakout/lbreakout.html + +DEPENDS+= SDL>=1.1.5nb1:../../devel/SDL + +USE_X11= YES +GNU_CONFIGURE= YES +CONFIGURE_ARGS+=--with-sdl-prefix=${PREFIX} + +.include "../../mk/bsd.pkg.mk" diff --git a/games/lbreakout/files/md5 b/games/lbreakout/files/md5 new file mode 100644 index 00000000000..6708040ce4b --- /dev/null +++ b/games/lbreakout/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/10/22 16:58:12 rh Exp $ + +MD5 (lbreakout-001018.tar.gz) = 64cfdae38846205ba0cebfef7ecf7280 diff --git a/games/lbreakout/files/patch-sum b/games/lbreakout/files/patch-sum new file mode 100644 index 00000000000..f94e491e09f --- /dev/null +++ b/games/lbreakout/files/patch-sum @@ -0,0 +1,5 @@ +$NetBSD: patch-sum,v 1.1.1.1 2000/10/22 16:58:12 rh Exp $ + +MD5 (patch-aa) = a597a9640fa0d6c6611096ac7be28da5 +MD5 (patch-ab) = 4ed32be7a53323bd60d9ec995dfee5e3 +MD5 (patch-ac) = d3a7803428252634e9f91b9233110e96 diff --git a/games/lbreakout/patches/patch-aa b/games/lbreakout/patches/patch-aa new file mode 100644 index 00000000000..d7c356ab34e --- /dev/null +++ b/games/lbreakout/patches/patch-aa @@ -0,0 +1,39 @@ +$NetBSD: patch-aa,v 1.1.1.1 2000/10/22 16:58:12 rh Exp $ + +--- configure.orig Wed Oct 18 16:16:30 2000 ++++ configure +@@ -1318,7 +1318,7 @@ + no_sdl=yes + else + SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags` +- SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs` ++ SDL_LIBS="`$SDL_CONFIG $sdlconf_args --libs` -lpthread -lpth -lcompat" + + sdl_major_version=`$SDL_CONFIG $sdl_args --version | \ + sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` +@@ -1706,7 +1706,6 @@ + + ac_save_LIBS="$LIBS" + thread_flag="" +-LIBS="$LIBS -pthread" + cat > conftest.$ac_ext <<EOF + #line 1712 "configure" + #include "confdefs.h" +@@ -1718,7 +1717,7 @@ + if { (eval echo configure:1719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + echo "$ac_t"""-pthread used..."" 1>&6 +- thread_flag="-pthread" ++ thread_flag="" + else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 +@@ -1784,7 +1783,7 @@ + + + sdir=$datadir/games/lbreakout +-hdir=/var/lib/games ++hdir=/var/games + inst_flag="-DSRC_DIR=\\\"$sdir/\\\"" + hi_inst_flag="-DHI_DIR=\\\"$hdir/\\\"" + diff --git a/games/lbreakout/patches/patch-ab b/games/lbreakout/patches/patch-ab new file mode 100644 index 00000000000..3d8a061595c --- /dev/null +++ b/games/lbreakout/patches/patch-ab @@ -0,0 +1,14 @@ +$NetBSD: patch-ab,v 1.1.1.1 2000/10/22 16:58:12 rh Exp $ + +--- lbreakout/Makefile.in.orig Wed Oct 18 16:27:22 2000 ++++ lbreakout/Makefile.in +@@ -351,7 +351,8 @@ + $(INSTALL_DATA) wall.wav $(DESTDIR)$(sdir)/wall.wav + $(INSTALL_DATA) weapon.wav $(DESTDIR)$(sdir)/weapon.wav + $(INSTALL_DATA) wontgiveup.wav $(DESTDIR)$(sdir)/wontgiveup.wav +- $(INSTALL_DATA) -m 666 lbreakout.hscr $(DESTDIR)$(hdir)/lbreakout.hscr ++ $(INSTALL_DATA) -m 666 lbreakout.hscr $(DESTDIR)$(sdir)/lbreakout.hscr ++ [ -f $(DESTDIR)$(hdir)/lbreakout.hscr ] || $(INSTALL_DATA) -m 666 lbreakout.hscr $(DESTDIR)$(hdir)/lbreakout.hscr + + uninstall-local: + rm -fr $(DESTDIR)$(sdir) diff --git a/games/lbreakout/patches/patch-ac b/games/lbreakout/patches/patch-ac new file mode 100644 index 00000000000..90b017621ed --- /dev/null +++ b/games/lbreakout/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1.1.1 2000/10/22 16:58:12 rh Exp $ + +--- lbreakout/game.cpp.orig Sat Oct 14 14:10:12 2000 ++++ lbreakout/game.cpp +@@ -15,6 +15,8 @@ + * * + ***************************************************************************/ + ++#include <time.h> ++#include <sys/types.h> + #include <sys/timeb.h> + #include <stdlib.h> + #include <string.h> diff --git a/games/lbreakout/pkg/COMMENT b/games/lbreakout/pkg/COMMENT new file mode 100644 index 00000000000..79ec8928cd0 --- /dev/null +++ b/games/lbreakout/pkg/COMMENT @@ -0,0 +1 @@ +breakout-style arcade game diff --git a/games/lbreakout/pkg/DESCR b/games/lbreakout/pkg/DESCR new file mode 100644 index 00000000000..b45e120ab6e --- /dev/null +++ b/games/lbreakout/pkg/DESCR @@ -0,0 +1,19 @@ + LBreakout is a classical Breakout game and this means (if you like +Breakout ;-) it is a lot of fun to play! If you never ever played such +a game you can check out the manual for more information, take a look at +the screenshots and last but not least... play it! + +This is a list of LBreakout's features: + * Sound + * HighScore + * A menu with mouse support + * Mouse or keyboard can be used for playing + * Controls can be redefined + * Mouse can be kept in window while playing + * Your starting level can be chosen + * A difficulty can be selected (easy, medium, hard) + * Various backgrounds + * A lot of collectable extras + * Nice graphics + * Cool effects + * Own levels can be created diff --git a/games/lbreakout/pkg/PLIST b/games/lbreakout/pkg/PLIST new file mode 100644 index 00000000000..c22c7e3a03f --- /dev/null +++ b/games/lbreakout/pkg/PLIST @@ -0,0 +1,49 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/10/22 16:58:12 rh Exp $ +bin/lbreakout +share/games/lbreakout/ball.bmp +share/games/lbreakout/bkgnd0.bmp +share/games/lbreakout/bkgnd1.bmp +share/games/lbreakout/bkgnd2.bmp +share/games/lbreakout/bricks.bmp +share/games/lbreakout/click.wav +share/games/lbreakout/club.bmp +share/games/lbreakout/damn.wav +share/games/lbreakout/damnit.wav +share/games/lbreakout/excellent.wav +share/games/lbreakout/exp.wav +share/games/lbreakout/expand.wav +share/games/lbreakout/extras.bmp +share/games/lbreakout/f_white.bmp +share/games/lbreakout/f_yellow.bmp +share/games/lbreakout/font_s.sdlfnt +share/games/lbreakout/fr_l.bmp +share/games/lbreakout/fr_luc.bmp +share/games/lbreakout/fr_r.bmp +share/games/lbreakout/fr_rlc.bmp +share/games/lbreakout/fr_ruc.bmp +share/games/lbreakout/fr_t.bmp +share/games/lbreakout/freeze.wav +share/games/lbreakout/gainlife.wav +share/games/lbreakout/lbreakout.hscr +share/games/lbreakout/life.bmp +share/games/lbreakout/logo.bmp +share/games/lbreakout/looselife.wav +share/games/lbreakout/metal.wav +share/games/lbreakout/numbers.bmp +share/games/lbreakout/reflect.wav +share/games/lbreakout/score.wav +share/games/lbreakout/shine2.bmp +share/games/lbreakout/shot.bmp +share/games/lbreakout/shot.wav +share/games/lbreakout/shrink.wav +share/games/lbreakout/slime.wav +share/games/lbreakout/title.bmp +share/games/lbreakout/verygood.wav +share/games/lbreakout/wall.wav +share/games/lbreakout/weapon.bmp +share/games/lbreakout/weapon.wav +share/games/lbreakout/wontgiveup.wav +@exec install -c -m 666 -o games -g games %D/share/games/lbreakout/lbreakout.hscr /var/games +@unexec echo "===> High scores have been preserved in '/var/games/lbreakout.hscr'" ; echo " If you no longer need this file, you can delete it manually." +@dirrm share/games/lbreakout +@dirrm share/games |