FreeBSD Bugzilla – Attachment 86461 Details for
Bug 122896
[NEW PORT] games/stransball2: A sequel to Transball and Transball 2 THRUST-type games
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
stransball2-1.5.shar
stransball2-1.5.shar (text/plain), 6.60 KB, created by
Dmitry Marakasov
on 2008-04-19 01:00:02 UTC
(
hide
)
Description:
stransball2-1.5.shar
Filename:
MIME Type:
Creator:
Dmitry Marakasov
Created:
2008-04-19 01:00:02 UTC
Size:
6.60 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># stransball2 ># stransball2/Makefile ># stransball2/pkg-descr ># stransball2/pkg-plist ># stransball2/distinfo ># stransball2/files ># stransball2/files/patch-sources-Makefile ># stransball2/files/patch-sources-main.cpp ># >echo c - stransball2 >mkdir -p stransball2 > /dev/null 2>&1 >echo x - stransball2/Makefile >sed 's/^X//' >stransball2/Makefile << 'END-of-stransball2/Makefile' >X# New ports collection makefile for: stransball2 >X# Date created: 07 Apr 2008 >X# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= stransball2 >XPORTVERSION= 1.5 >XCATEGORIES= games >XMASTER_SITES= http://www.amdmi3.ru/distfiles/ \ >X http://braingames.bugreport.nl/stransball2/ >XDISTNAME= ${PORTNAME}-v${PORTVERSION:C/\.//}-linux >X >XMAINTAINER= amdmi3@amdmi3.ru >XCOMMENT= A sequel to Transball and Transball 2 THRUST-type games >X >XLIB_DEPENDS= SGE.0:${PORTSDIR}/devel/sdl_sge >X >XUSE_ZIP= yes >XUSE_GMAKE= yes >XUSE_SDL= sdl image mixer sound >XMAKE_ENV= CXX="${CXX}" >X >XBUILD_WRKSRC= ${WRKSRC}/sources >X >XPORTDOCS= readme.txt >X >Xpost-extract: >X @${RM} -f ${WRKSRC}/sound/WS_FTP.LOG >X >Xpost-patch: >X @${FIND} ${BUILD_WRKSRC} -name '*.cpp' | ${XARGS} ${REINPLACE_CMD} \ >X -e 's|demos/|${DATADIR}/&|g; s|graphics/|${DATADIR}/&|g; \ >X s|maps/|${DATADIR}/&|g; s|sound/|${DATADIR}/&|g; \ >X s|"maps"|"${DATADIR}/maps"|g' >X >Xdo-install: >X ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/stransball2 ${PREFIX}/bin >X ${MKDIR} ${DATADIR} >X cd ${WRKSRC} && ${COPYTREE_SHARE} 'graphics sound maps demos' ${DATADIR} >X >X.if !defined(NOPORTDOCS) >X ${MKDIR} ${DOCSDIR} >X.for f in ${PORTDOCS} >X ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} >X.endfor >X.endif >X >X.include <bsd.port.mk> >END-of-stransball2/Makefile >echo x - stransball2/pkg-descr >sed 's/^X//' >stransball2/pkg-descr << 'END-of-stransball2/pkg-descr' >X"Super Transball 2" is the sequel of "Transball" and "Transball 2", >XInspired in THRUST type of games (and concretely in ZARA THRUSTA >Xfor the Amiga 500). In each level of Transball, the goal is to find >Xthe SPHERE, capture it and carry it to the upper part of the level. >XThe main obstacle is the gravity, that impulses you towards the >Xground. But many other obstacles, canons, tanks, doors, etc. will >Xtry to make difficult your journey... >X >XWWW: http://www.braingames.getput.com/stransball2/default.asp >END-of-stransball2/pkg-descr >echo x - stransball2/pkg-plist >sed 's/^X//' >stransball2/pkg-plist << 'END-of-stransball2/pkg-plist' >Xbin/stransball2 >X%%DATADIR%%/demos/demo1.rpl >X%%DATADIR%%/demos/demo2.rpl >X%%DATADIR%%/demos/demo3.rpl >X%%DATADIR%%/demos/demo4.rpl >X%%DATADIR%%/graphics/brain.pcx >X%%DATADIR%%/graphics/font3.pcx >X%%DATADIR%%/graphics/tiles-mask.pcx >X%%DATADIR%%/graphics/tiles.pcx >X%%DATADIR%%/graphics/tittle.pcx >X%%DATADIR%%/maps/canons.map >X%%DATADIR%%/maps/map1.map >X%%DATADIR%%/maps/map10.map >X%%DATADIR%%/maps/map11.map >X%%DATADIR%%/maps/map12.map >X%%DATADIR%%/maps/map13.map >X%%DATADIR%%/maps/map14.map >X%%DATADIR%%/maps/map2.map >X%%DATADIR%%/maps/map3.map >X%%DATADIR%%/maps/map4.map >X%%DATADIR%%/maps/map5.map >X%%DATADIR%%/maps/map6.map >X%%DATADIR%%/maps/map7.map >X%%DATADIR%%/maps/map8.map >X%%DATADIR%%/maps/map9.map >X%%DATADIR%%/maps/sample-pack.lp >X%%DATADIR%%/maps/sample-pack/WS_FTP.LOG >X%%DATADIR%%/maps/sample-pack/directional.map >X%%DATADIR%%/maps/sample-pack/directional2.map >X%%DATADIR%%/maps/sample-pack/heavy-snow.map >X%%DATADIR%%/maps/second-assault.lp >X%%DATADIR%%/maps/second-assault/WS_FTP.LOG >X%%DATADIR%%/maps/second-assault/sa-map1.map >X%%DATADIR%%/maps/second-assault/sa-map2.map >X%%DATADIR%%/maps/second-assault/sa-map3.map >X%%DATADIR%%/maps/second-assault/sa-map4.map >X%%DATADIR%%/maps/second-assault/sa-map5.map >X%%DATADIR%%/maps/second-assault/sa-map6.map >X%%DATADIR%%/maps/second-assault/sa-map7.map >X%%DATADIR%%/maps/second-assault/sa-map8.map >X%%DATADIR%%/maps/transball.lp >X%%DATADIR%%/sound/enemyhit.wav >X%%DATADIR%%/sound/explosion.wav >X%%DATADIR%%/sound/fuel.wav >X%%DATADIR%%/sound/shipshot.wav >X%%DATADIR%%/sound/shot.wav >X%%DATADIR%%/sound/start.wav >X%%DATADIR%%/sound/switch.wav >X%%DATADIR%%/sound/takeball.wav >X%%DATADIR%%/sound/thrust.wav >X@dirrm %%DATADIR%%/sound >X@dirrm %%DATADIR%%/maps/second-assault >X@dirrm %%DATADIR%%/maps/sample-pack >X@dirrm %%DATADIR%%/maps >X@dirrm %%DATADIR%%/graphics >X@dirrm %%DATADIR%%/demos >X@dirrm %%DATADIR%% >END-of-stransball2/pkg-plist >echo x - stransball2/distinfo >sed 's/^X//' >stransball2/distinfo << 'END-of-stransball2/distinfo' >XMD5 (stransball2-v15-linux.zip) = 317325363253fc253d62d0df76fe0789 >XSHA256 (stransball2-v15-linux.zip) = 2552a18b4b59c1d39d7a1312e7efbebf5ac89bddc30f5e188693e841516276bc >XSIZE (stransball2-v15-linux.zip) = 302212 >END-of-stransball2/distinfo >echo c - stransball2/files >mkdir -p stransball2/files > /dev/null 2>&1 >echo x - stransball2/files/patch-sources-Makefile >sed 's/^X//' >stransball2/files/patch-sources-Makefile << 'END-of-stransball2/files/patch-sources-Makefile' >X--- sources/Makefile.orig 2005-04-16 21:16:54.000000000 +0400 >X+++ sources/Makefile 2008-04-07 01:10:16.000000000 +0400 >X@@ -12,12 +12,11 @@ >X all: stransball2 >X >X %.o: %.cpp >X- c++ -c -g3 -O3 $< -o $@ `sdl-config --cflags` -I/usr/local/include/SDL >X+ ${CXX} ${CXXFLAGS} -c $< -o $@ `${SDL_CONFIG} --cflags` >X >X # dynamically linked binary: >X stransball2: $(OBJS) >X- c++ $^ -o $@ `sdl-config --libs` -lSDL_image -lSDL_mixer -lSDL_sound -lSDL_sound -lSGE -I/usr/local/include/SDL >X- mv ./stransball2 .. >X+ ${CXX} $^ -o $@ `${SDL_CONFIG} --libs` -lSDL_image -lSDL_mixer -lSDL_sound -lSGE >X >X clean: >X rm -f stransball2 >END-of-stransball2/files/patch-sources-Makefile >echo x - stransball2/files/patch-sources-main.cpp >sed 's/^X//' >stransball2/files/patch-sources-main.cpp << 'END-of-stransball2/files/patch-sources-main.cpp' >X--- sources/main.cpp.orig 2005-04-16 21:16:54.000000000 +0400 >X+++ sources/main.cpp 2008-04-07 01:37:52.000000000 +0400 >X@@ -6,6 +6,8 @@ >X #include <time.h> >X #endif >X >X+#include <sys/types.h> >X+#include <sys/stat.h> >X #include <stdio.h> >X #include <stdlib.h> >X #include "SDL/SDL.h" >X@@ -126,6 +128,19 @@ >X setupTickCount(); >X #endif >X >X+ if (chdir(getenv("HOME")) != 0) >X+ return 0; >X+ >X+ struct stat sb; >X+ if (stat(".stransball2", &sb) != 0 && >X+ (mkdir(".stransball2", 0755) != 0 || >X+ mkdir(".stransball2/high", 0755) != 0 || >X+ mkdir(".stransball2/replays", 0755) != 0)) >X+ return 0; >X+ >X+ if (chdir(".stransball2") != 0) >X+ return 0; >X+ >X int time,act_time; >X SDL_Event event; >X bool quit = false; >END-of-stransball2/files/patch-sources-main.cpp >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 122896
: 86461