1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

Arkanoid/Breakout clone with pretty graphics.

WWW: http://sourceforge.net/projects/sdl-ball
This commit is contained in:
Dmitry Marakasov 2008-09-06 00:41:13 +00:00
parent 843250c138
commit 1e85259f84
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=219962
6 changed files with 111 additions and 0 deletions

View File

@ -715,6 +715,7 @@
SUBDIR += scummvm
SUBDIR += scummvm-tools
SUBDIR += sdb
SUBDIR += sdl-ball
SUBDIR += sdlCC
SUBDIR += sdlquake2
SUBDIR += sdlroids

31
games/sdl-ball/Makefile Normal file
View File

@ -0,0 +1,31 @@
# New ports collection makefile for: sdl-ball
# Date created: 22 Apr 2008
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= sdl-ball
PORTVERSION= 0.10
CATEGORIES= games
MASTER_SITES= SF
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Arkanoid/Breakout clone with pretty graphics
USE_BZIP2= yes
USE_SDL= sdl image ttf
USE_GL= gl glu
WRKSRC= ${WRKDIR}/${PORTNAME}
post-patch:
@${REINPLACE_CMD} -e 's|data/|${DATADIR}/|' \
${WRKSRC}/main.cpp ${WRKSRC}/menu.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sdl-ball ${PREFIX}/bin
${MKDIR} ${DATADIR}
cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${DATADIR}
.include <bsd.port.mk>

3
games/sdl-ball/distinfo Normal file
View File

@ -0,0 +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

View File

@ -0,0 +1,12 @@
--- Makefile.orig 2008-08-22 22:07:53.000000000 +0400
+++ Makefile 2008-09-06 03:21:15.000000000 +0400
@@ -1,7 +1,5 @@
-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
SOURCES=main.cpp
OBJECTS=$(SOURCES:.cpp=.o)

3
games/sdl-ball/pkg-descr Normal file
View File

@ -0,0 +1,3 @@
Arkanoid/Breakout clone with pretty graphics.
WWW: http://sourceforge.net/projects/sdl-ball

61
games/sdl-ball/pkg-plist Normal file
View File

@ -0,0 +1,61 @@
bin/sdl-ball
%%DATADIR%%/font/acidic.ttf
%%DATADIR%%/font/ack.ttf
%%DATADIR%%/gfx/ball/fireball.png
%%DATADIR%%/gfx/ball/tail.png
%%DATADIR%%/gfx/ball/test.png
%%DATADIR%%/gfx/border.png
%%DATADIR%%/gfx/brick/ani1.png
%%DATADIR%%/gfx/brick/base.png
%%DATADIR%%/gfx/brick/cement.png
%%DATADIR%%/gfx/brick/doom-org.png
%%DATADIR%%/gfx/brick/doom.png
%%DATADIR%%/gfx/brick/explosive.png
%%DATADIR%%/gfx/brick/glass.png
%%DATADIR%%/gfx/brick/invisible.png
%%DATADIR%%/gfx/highscore/entername.png
%%DATADIR%%/gfx/highscore/numbers.png
%%DATADIR%%/gfx/menu/but0.png
%%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
%%DATADIR%%/gfx/paddle/glue.png
%%DATADIR%%/gfx/paddle/gun.png
%%DATADIR%%/gfx/particle.png
%%DATADIR%%/gfx/powerup/aim.png
%%DATADIR%%/gfx/powerup/aimhelp.png
%%DATADIR%%/gfx/powerup/bigball.png
%%DATADIR%%/gfx/powerup/bullet.png
%%DATADIR%%/gfx/powerup/detonate.png
%%DATADIR%%/gfx/powerup/die.png
%%DATADIR%%/gfx/powerup/drop.png
%%DATADIR%%/gfx/powerup/easybrick.png
%%DATADIR%%/gfx/powerup/explosive-grow.png
%%DATADIR%%/gfx/powerup/explosive.png
%%DATADIR%%/gfx/powerup/glue.png
%%DATADIR%%/gfx/powerup/go-thru.png
%%DATADIR%%/gfx/powerup/gravity.png
%%DATADIR%%/gfx/powerup/growbat.png
%%DATADIR%%/gfx/powerup/gun.png
%%DATADIR%%/gfx/powerup/laser.png
%%DATADIR%%/gfx/powerup/life.png
%%DATADIR%%/gfx/powerup/multiball.png
%%DATADIR%%/gfx/powerup/nextlevel.png
%%DATADIR%%/gfx/powerup/normalball.png
%%DATADIR%%/gfx/powerup/shrinkbat.png
%%DATADIR%%/gfx/powerup/smallball.png
%%DATADIR%%/levels.txt
%%DATADIR%%/powerups.txt
@dirrm %%DATADIR%%/gfx/powerup
@dirrm %%DATADIR%%/gfx/paddle
@dirrm %%DATADIR%%/gfx/menu
@dirrm %%DATADIR%%/gfx/highscore
@dirrm %%DATADIR%%/gfx/brick
@dirrm %%DATADIR%%/gfx/ball
@dirrm %%DATADIR%%/gfx
@dirrm %%DATADIR%%/font
@dirrm %%DATADIR%%