aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authormarkp <markp@FreeBSD.org>2002-08-04 15:26:00 +0800
committermarkp <markp@FreeBSD.org>2002-08-04 15:26:00 +0800
commitf28a56f8c11baaa07034fc6cdfa495bb971be9a6 (patch)
tree53b4a0324307b6599bdd08826f43e65fd4517694 /games
parent3e26b86b279e7d16dd39702f81573008888fd574 (diff)
downloadfreebsd-ports-gnome-f28a56f8c11baaa07034fc6cdfa495bb971be9a6.tar.gz
freebsd-ports-gnome-f28a56f8c11baaa07034fc6cdfa495bb971be9a6.tar.zst
freebsd-ports-gnome-f28a56f8c11baaa07034fc6cdfa495bb971be9a6.zip
Add lbreakout2 2.2.2, the polished successor to LBreakout.
PR: 40589 Submitted by: verm@drunkmonk.net
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/lbreakout2/Makefile39
-rw-r--r--games/lbreakout2/distinfo1
-rw-r--r--games/lbreakout2/pkg-comment1
-rw-r--r--games/lbreakout2/pkg-descr10
-rw-r--r--games/lbreakout2/pkg-install7
-rw-r--r--games/lbreakout2/pkg-plist75
7 files changed, 134 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 386665244a98..f2bf8d325d22 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -165,6 +165,7 @@
SUBDIR += kxl
SUBDIR += ladder
SUBDIR += lbreakout
+ SUBDIR += lbreakout2
SUBDIR += lexter
SUBDIR += libshhcards
SUBDIR += lincity
diff --git a/games/lbreakout2/Makefile b/games/lbreakout2/Makefile
new file mode 100644
index 000000000000..182e6c694437
--- /dev/null
+++ b/games/lbreakout2/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: lbreakout2
+# Date created: 12 June 2002
+# Whom: verm@drunkmonk.net
+#
+# $FreeBSD$
+#
+
+PORTNAME= lbreakout2
+PORTVERSION= 2.2.2
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= lgames
+
+MAINTAINER= verm@drunkmonk.net
+
+LIB_DEPENDS= SDL-1.1.4:${PORTSDIR}/devel/sdl12 \
+ SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer
+
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-highscore-path=/var/games
+CONFIGURE_ENV= SDL_CONFIG=${LOCALBASE}/bin/sdl11-config \
+ LDFLAGS=-L${LOCALBASE}/lib
+USE_REINPLACE= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's/games\/lbreakout2/lbreakout2/g' \
+ ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's/if .*lbreakout2.hscr/if false/' \
+ ${WRKSRC}/src/Makefile.in
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/src/empty.hscr ${DATADIR}
+ @${CHOWN} root:games ${PREFIX}/bin/lbreakout2
+ @${CHMOD} g+s ${PREFIX}/bin/lbreakout2
+ @${SETENV} "PKG_PREFIX=${PREFIX}" \
+ ${SH} pkg-install ${PKGNAME} POST-INSTALL
+
+.include <bsd.port.mk>
diff --git a/games/lbreakout2/distinfo b/games/lbreakout2/distinfo
new file mode 100644
index 000000000000..8fc8f5ad33de
--- /dev/null
+++ b/games/lbreakout2/distinfo
@@ -0,0 +1 @@
+MD5 (lbreakout2-2.2.2.tar.gz) = d5f0ef9371d7165723aa35a3e325a3ba
diff --git a/games/lbreakout2/pkg-comment b/games/lbreakout2/pkg-comment
new file mode 100644
index 000000000000..94aa1a95b5cf
--- /dev/null
+++ b/games/lbreakout2/pkg-comment
@@ -0,0 +1 @@
+The polished successor to LBreakout
diff --git a/games/lbreakout2/pkg-descr b/games/lbreakout2/pkg-descr
new file mode 100644
index 000000000000..5c45a9618da7
--- /dev/null
+++ b/games/lbreakout2/pkg-descr
@@ -0,0 +1,10 @@
+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: http://lgames.sourceforge.net/index.php?project=LBreakout2
diff --git a/games/lbreakout2/pkg-install b/games/lbreakout2/pkg-install
new file mode 100644
index 000000000000..03b2139cede2
--- /dev/null
+++ b/games/lbreakout2/pkg-install
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+FILE=/var/games/lbreakout2.hscr
+[ "$2" != "POST-INSTALL" -o -f "$FILE" ] && exit 0
+
+echo "===> Creating initial high score file $FILE"
+install -o root -g games -m 664 ${PKG_PREFIX}/share/lbreakout2/empty.hscr $FILE
diff --git a/games/lbreakout2/pkg-plist b/games/lbreakout2/pkg-plist
new file mode 100644
index 000000000000..8d33fbd33b71
--- /dev/null
+++ b/games/lbreakout2/pkg-plist
@@ -0,0 +1,75 @@
+bin/lbreakout2
+share/lbreakout2/empty.hscr
+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/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
+share/lbreakout2/levels/Original
+share/lbreakout2/levels/AddOn-1
+share/lbreakout2/levels/AddOn-2
+@dirrm share/lbreakout2/gfx
+@dirrm share/lbreakout2/sounds
+@dirrm share/lbreakout2/levels
+@dirrm share/lbreakout2