Import of lbreakout2-2.2.2

breakout game with many levels, powerups, good graphics

Submitted and maintained by Lurene Grenier <lurene@menagerie.tf>,
heavily reworked by me.
This commit is contained in:
pvalchev 2002-04-28 08:25:17 +00:00
parent 2f1ab1d419
commit 8c1ef5dc21
8 changed files with 265 additions and 0 deletions

32
games/lbreakout2/Makefile Executable file
View File

@ -0,0 +1,32 @@
# $OpenBSD: Makefile,v 1.1.1.1 2002/04/28 08:25:17 pvalchev Exp $
COMMENT= "breakout game with many levels, powerups, good graphics"
VERSION= 2.2.2
DISTNAME= lbreakout2-${VERSION}
CATEGORIES= games x11
NEED_VERSION= 1.525
HOMEPAGE= http://lgames.sourceforge.net/index.php?action=show_project&project=LBreakout2
MAINTAINER= Lurene Grenier <lurene@menagerie.tf>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= lgames
LIB_DEPENDS= SDL::devel/sdl \
SDL_mixer::devel/sdl-mixer \
png.2.0::graphics/png
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
USE_X11= Yes
USE_GMAKE= Yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (lbreakout2-2.2.2.tar.gz) = d5f0ef9371d7165723aa35a3e325a3ba
RMD160 (lbreakout2-2.2.2.tar.gz) = 94530e47484b68acbb3260f2e15c5f3a48b159cb
SHA1 (lbreakout2-2.2.2.tar.gz) = 0bb1867c7438fe4b91bdaa19e73e232ff1a945fd

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-configure,v 1.1.1.1 2002/04/28 08:25:17 pvalchev Exp $
--- configure.orig Sun Feb 24 09:14:38 2002
+++ configure Sun Apr 28 02:10:06 2002
@@ -1682,8 +1682,8 @@ fi
-inst_dir="$datadir/games/lbreakout2"
-hi_dir="/var/lib/games"
+inst_dir="$datadir/lbreakout2"
+hi_dir="/var/games"
# Check whether --enable-install or --disable-install was given.
if test "${enable_install+set}" = set; then

View File

@ -0,0 +1,18 @@
$OpenBSD: patch-src_Makefile_in,v 1.1.1.1 2002/04/28 08:25:17 pvalchev Exp $
--- src/Makefile.in.orig Sun Feb 24 09:15:23 2002
+++ src/Makefile.in Sun Apr 28 02:02:05 2002
@@ -425,12 +425,12 @@ install-data-local:
$(mkinstalldirs) $(DESTDIR)$(inst_dir)
$(mkinstalldirs) $(DESTDIR)$(hi_dir)
if ! test -f $(DESTDIR)$(hi_dir)/lbreakout2.hscr; then \
- $(INSTALL_DATA) --mode=666 empty.hscr $(DESTDIR)$(hi_dir)/lbreakout2.hscr; \
+ $(INSTALL_DATA) --mode=666 empty.hscr $(DESTDIR)$(inst_dir)/lbreakout2.hscr; \
fi;
uninstall-local:
rm -rf $(DESTDIR)$(inst_dir)
- rm -f $(DESTDIR)$(hi_dir)/lbreakout2.hscr
+ rm -f $(DESTDIR)$(inst_dir)/lbreakout2.hscr
rm -rf $(DESTDIR)$(doc_dir)/lbreakout2
# Tell versions [3.59,3.63) of GNU make to not export all variables.

View File

@ -0,0 +1,47 @@
#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.1.1.1 2002/04/28 08:25:17 pvalchev Exp $
#
# lbreakout2 de-installation script
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
SCORE_FILE=/var/games/lbreakout2.hscr
do_notice()
{
echo
echo "+---------------"
echo "| To completely deinstall the $1 package you need to perform"
echo "| this step as root:"
echo "|"
echo "| rm -f $SCORE_FILE"
echo "|"
echo "| Do not do this if you plan on re-installing $1"
echo "| at some future time."
echo "+---------------"
echo
}
# Verify proper execution
#
if [ $# -ne 2 ]; then
echo "usage: $0 distname DEINSTALL" >&2
exit 1
fi
# Verify/process the command
#
case $2 in
DEINSTALL)
if [ -d $SCORE_DIR ]; then
do_notice "$1"
fi
;;
*)
echo "usage: $0 distname DEINSTALL" >&2
exit 1
;;
esac
exit 0

View File

@ -0,0 +1,9 @@
The polished successor to LBreakout offers you a new challenge in more
than 50 levels with loads of new bonuses (goldshower, joker, explosive
balls, bonus magnet ...), maluses (chaos, darkness, weak balls, malus
magnet ...) and special bricks (growing bricks, explosive bricks,
regenerative bricks, indestructible bricks, chaotic bricks). And if
you're through with all the levels you can create complete new levelsets
with the integrated easy-to-use level editor.
WWW: ${HOMEPAGE}

View File

@ -0,0 +1,62 @@
#!/bin/sh
# $OpenBSD: INSTALL,v 1.1.1.1 2002/04/28 08:25:17 pvalchev Exp $
#
# installation score file setup for lbreakout2
# exit on errors, use a sane path and install prefix
#
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
SCORE_FILE=/var/games/lbreakout2.hscr
SAMPLE_FILE=${PREFIX}/share/lbreakout2/lbreakout2.hscr
# Function: tell the user what they need to do to use the port just installed
#
do_notice()
{
echo
echo "+---------------"
echo "| The existing $1 score file,"
echo "| $SCORE_FILE,"
echo "| has NOT been changed."
echo "+---------------"
echo
}
# Function: install a blank file to be used as the gtkballs score file
#
do_install()
{
cp $SAMPLE_FILE $SCORE_FILE
chown root.games $SCORE_FILE
chmod 664 $SCORE_FILE
}
# verify proper execution
#
if [ $# -ne 2 ]; then
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
exit 1
fi
# Verify/process the command
#
case $2 in
PRE-INSTALL)
: nothing to pre-install for this port
;;
POST-INSTALL)
if [ -f $SCORE_FILE ]; then
do_notice $1
else
do_install $1
fi
;;
*)
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
exit 1
;;
esac
exit 0

View File

@ -0,0 +1,80 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/04/28 08:25:17 pvalchev Exp $
@mode g+s
@group games
bin/lbreakout2
@mode
@group
share/lbreakout2/gfx/back0.png
share/lbreakout2/gfx/back1.png
share/lbreakout2/gfx/back2.png
share/lbreakout2/gfx/back3.png
share/lbreakout2/gfx/back4.png
share/lbreakout2/gfx/back5.png
share/lbreakout2/gfx/ball.png
share/lbreakout2/gfx/balloon.png
share/lbreakout2/gfx/balloon_peek.png
share/lbreakout2/gfx/bricks.png
share/lbreakout2/gfx/buttons.png
share/lbreakout2/gfx/explosions.png
share/lbreakout2/gfx/explosions_dark.png
share/lbreakout2/gfx/extras.png
share/lbreakout2/gfx/f_frame.png
share/lbreakout2/gfx/f_game.png
share/lbreakout2/gfx/f_small_white.png
share/lbreakout2/gfx/f_small_yellow.png
share/lbreakout2/gfx/f_tiny_black.png
share/lbreakout2/gfx/f_white.png
share/lbreakout2/gfx/f_yellow.png
share/lbreakout2/gfx/fr_left.png
share/lbreakout2/gfx/fr_right.png
share/lbreakout2/gfx/fr_top.png
share/lbreakout2/gfx/life.png
share/lbreakout2/gfx/menuback.png
share/lbreakout2/gfx/paddle.png
share/lbreakout2/gfx/sel_frame.png
share/lbreakout2/gfx/shine.png
share/lbreakout2/gfx/shot.png
share/lbreakout2/gfx/weapon.png
share/lbreakout2/lbreakout2.hscr
share/lbreakout2/levels/AddOn-1
share/lbreakout2/levels/AddOn-2
share/lbreakout2/levels/Original
share/lbreakout2/sounds/attach.wav
share/lbreakout2/sounds/bonus_magnet.wav
share/lbreakout2/sounds/chaos.wav
share/lbreakout2/sounds/click.wav
share/lbreakout2/sounds/dammit.wav
share/lbreakout2/sounds/damn.wav
share/lbreakout2/sounds/darkness.wav
share/lbreakout2/sounds/disable.wav
share/lbreakout2/sounds/excellent.wav
share/lbreakout2/sounds/exp.wav
share/lbreakout2/sounds/expand.wav
share/lbreakout2/sounds/expl_ball.wav
share/lbreakout2/sounds/extraball.wav
share/lbreakout2/sounds/freeze.wav
share/lbreakout2/sounds/gainlife.wav
share/lbreakout2/sounds/ghost.wav
share/lbreakout2/sounds/goldshower.wav
share/lbreakout2/sounds/joker.wav
share/lbreakout2/sounds/looselife.wav
share/lbreakout2/sounds/malus_magnet.wav
share/lbreakout2/sounds/menu_click.wav
share/lbreakout2/sounds/menu_motion.wav
share/lbreakout2/sounds/metal.wav
share/lbreakout2/sounds/reflect.wav
share/lbreakout2/sounds/score.wav
share/lbreakout2/sounds/shot.wav
share/lbreakout2/sounds/shrink.wav
share/lbreakout2/sounds/speeddown.wav
share/lbreakout2/sounds/speedup.wav
share/lbreakout2/sounds/standard.wav
share/lbreakout2/sounds/timeadd.wav
share/lbreakout2/sounds/verygood.wav
share/lbreakout2/sounds/wall.wav
share/lbreakout2/sounds/weak_ball.wav
share/lbreakout2/sounds/wontgiveup.wav
@dirrm share/lbreakout2/sounds
@dirrm share/lbreakout2/levels
@dirrm share/lbreakout2/gfx
@dirrm share/lbreakout2