aboutsummaryrefslogtreecommitdiffstats
path: root/games/sdl-ball
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2008-10-09 22:51:28 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2008-10-09 22:51:28 +0800
commit35e37176e0e15c5e48a6191846c9c46365eb1bcf (patch)
tree4362aada7fad4bf6b71e2e01308b58eea622133e /games/sdl-ball
parent08db416c8cc6a24810720fc7e011c44d552f533f (diff)
downloadfreebsd-ports-gnome-35e37176e0e15c5e48a6191846c9c46365eb1bcf.tar.gz
freebsd-ports-gnome-35e37176e0e15c5e48a6191846c9c46365eb1bcf.tar.zst
freebsd-ports-gnome-35e37176e0e15c5e48a6191846c9c46365eb1bcf.zip
- Update to 0.11
Diffstat (limited to 'games/sdl-ball')
-rw-r--r--games/sdl-ball/Makefile4
-rw-r--r--games/sdl-ball/distinfo6
-rw-r--r--games/sdl-ball/files/patch-Makefile15
-rw-r--r--games/sdl-ball/pkg-plist35
4 files changed, 47 insertions, 13 deletions
diff --git a/games/sdl-ball/Makefile b/games/sdl-ball/Makefile
index 9ca2c81c08e7..404d19f5a402 100644
--- a/games/sdl-ball/Makefile
+++ b/games/sdl-ball/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= sdl-ball
-PORTVERSION= 0.10
+PORTVERSION= 0.11
CATEGORIES= games
MASTER_SITES= SF
@@ -14,7 +14,7 @@ MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Arkanoid/Breakout clone with pretty graphics
USE_BZIP2= yes
-USE_SDL= sdl image ttf
+USE_SDL= sdl mixer image ttf
USE_GL= gl glu
WRKSRC= ${WRKDIR}/${PORTNAME}
diff --git a/games/sdl-ball/distinfo b/games/sdl-ball/distinfo
index 3521184a288b..271da9f69356 100644
--- a/games/sdl-ball/distinfo
+++ b/games/sdl-ball/distinfo
@@ -1,3 +1,3 @@
-MD5 (sdl-ball-0.10.tar.bz2) = 6a4a5ed16e281d39162929c4b1e4c982
-SHA256 (sdl-ball-0.10.tar.bz2) = a51a38241c96c6ab2503861e61614196b94596d22f507501fa12d18f7a683e61
-SIZE (sdl-ball-0.10.tar.bz2) = 1119165
+MD5 (sdl-ball-0.11.tar.bz2) = 9714039aa313cd67e847dbb1db193a69
+SHA256 (sdl-ball-0.11.tar.bz2) = f44b6d8d87611ba9261eb357e4ca84fb59e26ff3d7b94efd5e7fb3f56d62ab13
+SIZE (sdl-ball-0.11.tar.bz2) = 2314512
diff --git a/games/sdl-ball/files/patch-Makefile b/games/sdl-ball/files/patch-Makefile
index ae25675fad73..78fbdf7b9163 100644
--- a/games/sdl-ball/files/patch-Makefile
+++ b/games/sdl-ball/files/patch-Makefile
@@ -1,12 +1,13 @@
---- Makefile.orig 2008-08-22 22:07:53.000000000 +0400
-+++ Makefile 2008-09-06 03:21:15.000000000 +0400
-@@ -1,7 +1,5 @@
+--- Makefile.orig 2008-09-16 16:54:41.000000000 +0400
++++ Makefile 2008-10-09 17:34:32.000000000 +0400
+@@ -1,8 +1,7 @@
-CC=g++
--#CFLAGS=-g -c -Wall
-CFLAGS=-c -Wall
--LDFLAGS=-lGL -lGLU -lSDL -lSDL_image -lSDL_ttf
+CFLAGS+=-c -Wall `${SDL_CONFIG} --cflags`
-+LDFLAGS=-lGL -lGLU `${SDL_CONFIG} --libs` -lSDL_image -lSDL_ttf
- # -lopenal
+ #append -lwiiuse if compiling WITH_WIIUSE
+ #remove -lSDL_mixer if NOT compiling WITH_SOUND
+-LDFLAGS=-lGL -lGLU -lSDL -lSDL_image -lSDL_ttf -lSDL_mixer -lwiiuse
++LDFLAGS=-lGL -lGLU `${SDL_CONFIG} --libs` -lSDL_image -lSDL_ttf -lSDL_mixer
+
SOURCES=main.cpp
OBJECTS=$(SOURCES:.cpp=.o)
diff --git a/games/sdl-ball/pkg-plist b/games/sdl-ball/pkg-plist
index 21fcc1117fc6..48bef1f349e1 100644
--- a/games/sdl-ball/pkg-plist
+++ b/games/sdl-ball/pkg-plist
@@ -4,6 +4,16 @@ bin/sdl-ball
%%DATADIR%%/gfx/ball/fireball.png
%%DATADIR%%/gfx/ball/tail.png
%%DATADIR%%/gfx/ball/test.png
+%%DATADIR%%/gfx/bg/1.jpg
+%%DATADIR%%/gfx/bg/2.jpg
+%%DATADIR%%/gfx/bg/23.jpg
+%%DATADIR%%/gfx/bg/24.jpg
+%%DATADIR%%/gfx/bg/25.jpg
+%%DATADIR%%/gfx/bg/3.jpg
+%%DATADIR%%/gfx/bg/4.jpg
+%%DATADIR%%/gfx/bg/5.jpg
+%%DATADIR%%/gfx/bg/6.jpg
+%%DATADIR%%/gfx/bg/7.jpg
%%DATADIR%%/gfx/border.png
%%DATADIR%%/gfx/brick/ani1.png
%%DATADIR%%/gfx/brick/base.png
@@ -19,7 +29,6 @@ bin/sdl-ball
%%DATADIR%%/gfx/menu/but1.png
%%DATADIR%%/gfx/menu/but2.png
%%DATADIR%%/gfx/menu/highscorebg.png
-%%DATADIR%%/gfx/menu/life.png
%%DATADIR%%/gfx/menu/menu0.png
%%DATADIR%%/gfx/paddle/aim.png
%%DATADIR%%/gfx/paddle/base.png
@@ -50,11 +59,35 @@ bin/sdl-ball
%%DATADIR%%/gfx/powerup/smallball.png
%%DATADIR%%/levels.txt
%%DATADIR%%/powerups.txt
+%%DATADIR%%/snd/LICENSE.txt
+%%DATADIR%%/snd/ball-drop.ogg
+%%DATADIR%%/snd/ball-hit-border.ogg
+%%DATADIR%%/snd/ball-hit-paddle.ogg
+%%DATADIR%%/snd/cement-brick-hit.ogg
+%%DATADIR%%/snd/die.ogg
+%%DATADIR%%/snd/doom-brick-break.ogg
+%%DATADIR%%/snd/evil-po-hit-paddle.ogg
+%%DATADIR%%/snd/expl-brick-break.ogg
+%%DATADIR%%/snd/gameover.ogg
+%%DATADIR%%/snd/glass-brick-break.ogg
+%%DATADIR%%/snd/glass-brick-hit.ogg
+%%DATADIR%%/snd/glue-ball-hit-paddle.ogg
+%%DATADIR%%/snd/good-po-hit-paddle.ogg
+%%DATADIR%%/snd/highscore.ogg
+%%DATADIR%%/snd/invisible-brick-appear.ogg
+%%DATADIR%%/snd/menuclick.ogg
+%%DATADIR%%/snd/nextlevel.ogg
+%%DATADIR%%/snd/norm-brick-break.ogg
+%%DATADIR%%/snd/po-hit-border.ogg
+%%DATADIR%%/snd/shot.ogg
+%%DATADIR%%/snd/start.ogg
+@dirrm %%DATADIR%%/snd
@dirrm %%DATADIR%%/gfx/powerup
@dirrm %%DATADIR%%/gfx/paddle
@dirrm %%DATADIR%%/gfx/menu
@dirrm %%DATADIR%%/gfx/highscore
@dirrm %%DATADIR%%/gfx/brick
+@dirrm %%DATADIR%%/gfx/bg
@dirrm %%DATADIR%%/gfx/ball
@dirrm %%DATADIR%%/gfx
@dirrm %%DATADIR%%/font