FreeBSD Bugzilla – Attachment 64068 Details for
Bug 95385
New port: games/solarconquest Space 2D action game with plenty of shooting
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
solarconquest-0.2.shar
solarconquest-0.2.shar (text/plain), 6.43 KB, created by
Dmitry Marakasov
on 2006-04-06 01:30:19 UTC
(
hide
)
Description:
solarconquest-0.2.shar
Filename:
MIME Type:
Creator:
Dmitry Marakasov
Created:
2006-04-06 01:30:19 UTC
Size:
6.43 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: ># ># solarconquest ># solarconquest/distinfo ># solarconquest/Makefile ># solarconquest/pkg-plist ># solarconquest/files ># solarconquest/files/patch-makefile ># solarconquest/files/patch-source-MenuScreen.h ># solarconquest/files/patch-source-main.cpp ># solarconquest/pkg-descr ># >echo c - solarconquest >mkdir -p solarconquest > /dev/null 2>&1 >echo x - solarconquest/distinfo >sed 's/^X//' >solarconquest/distinfo << 'END-of-solarconquest/distinfo' >XMD5 (SolarConquest.tar.gz) = 107c89fe58feb2d8f4044c4280f98b08 >XSHA256 (SolarConquest.tar.gz) = 4282c12c01d02990ca6f7e4ba1d068964a633ec86df06b4c7723bb089ec4b38a >XSIZE (SolarConquest.tar.gz) = 181241 >END-of-solarconquest/distinfo >echo x - solarconquest/Makefile >sed 's/^X//' >solarconquest/Makefile << 'END-of-solarconquest/Makefile' >X# New ports collection makefile for: solarconquest >X# Date created: 06 Apr 2006 >X# Whom: Dmitry Marakasov <amdmi3@mail.ru> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= solarconquest >XPORTVERSION= 0.2 >XCATEGORIES= games >XMASTER_SITES= http://games.sajthelper.com/ >XDISTNAME= SolarConquest >X >XMAINTAINER= amdmi3@mail.ru >XCOMMENT= Space 2D action game with plenty of shooting >X >XUSE_SDL= sdl mixer image >XUSE_GL= yes >XUSE_DOS2UNIX= yes >X >XMAKEFILE= makefile >XMAKE_ENV= CXX="${CXX}" >X >Xpost-patch: >X @${REINPLACE_CMD} -e 's|images/|${DATADIR}/images/|' ${WRKSRC}/source/main.cpp >X @${REINPLACE_CMD} -e 's|shapes/|${DATADIR}/shapes/|' ${WRKSRC}/source/main.cpp >X @${REINPLACE_CMD} -e 's|settings.dat|.solarconquest.rc|' ${WRKSRC}/source/Common.h >X >Xdo-install: >X ${INSTALL_PROGRAM} ${WRKSRC}/solar ${PREFIX}/bin/${PORTNAME} >X ${MKDIR} ${DATADIR}/shapes >X ${INSTALL_DATA} ${WRKSRC}/shapes/* ${DATADIR}/shapes >X ${MKDIR} ${DATADIR}/images/fonts >X ${INSTALL_DATA} ${WRKSRC}/images/*.png ${DATADIR}/images >X ${INSTALL_DATA} ${WRKSRC}/images/fonts/* ${DATADIR}/images/fonts >X >X.include <bsd.port.mk> >END-of-solarconquest/Makefile >echo x - solarconquest/pkg-plist >sed 's/^X//' >solarconquest/pkg-plist << 'END-of-solarconquest/pkg-plist' >Xbin/solarconquest >X%%DATADIR%%/images/explosion.png >X%%DATADIR%%/images/explosion_detailed.png >X%%DATADIR%%/images/fonts/glowfont_template.bmp >X%%DATADIR%%/images/fonts/smallfont.bmp >X%%DATADIR%%/shapes/advancedbomber.txt >X%%DATADIR%%/shapes/advancedbomber_source.txt >X%%DATADIR%%/shapes/advancedfighter.txt >X%%DATADIR%%/shapes/advancedfighter_source.txt >X%%DATADIR%%/shapes/aircraftcarrier.txt >X%%DATADIR%%/shapes/aircraftcarrier_source.txt >X%%DATADIR%%/shapes/destroyer.txt >X%%DATADIR%%/shapes/destroyer_source.txt >X%%DATADIR%%/shapes/laserturret.txt >X%%DATADIR%%/shapes/laserturret_source.txt >X%%DATADIR%%/shapes/spacestation.txt >X%%DATADIR%%/shapes/spacestation_source.txt >X%%DATADIR%%/shapes/turretstation.txt >X%%DATADIR%%/shapes/turretstation_source.txt >X@dirrm %%DATADIR%%/images/fonts >X@dirrm %%DATADIR%%/images >X@dirrm %%DATADIR%%/shapes >X@dirrm %%DATADIR%% >END-of-solarconquest/pkg-plist >echo c - solarconquest/files >mkdir -p solarconquest/files > /dev/null 2>&1 >echo x - solarconquest/files/patch-makefile >sed 's/^X//' >solarconquest/files/patch-makefile << 'END-of-solarconquest/files/patch-makefile' >X--- makefile.orig Sun Mar 6 16:36:47 2005 >X+++ makefile Thu Apr 6 02:54:20 2006 >X@@ -1,5 +1,5 @@ >X-LIBRARIES = `sdl-config --libs` -L/usr/X11R6/lib -lSDL_mixer -lSDL_image -lGL -lGLU -lpng -ljpeg >X-CFLAGS = -w -O3 -I/usr/include/GL `sdl-config --cflags` >X+LIBRARIES = `${SDL_CONFIG} --libs` -L${X11BASE}/lib -lSDL_mixer -lSDL_image -lGL -lGLU -lpng -ljpeg >X+CXXFLAGS += `${SDL_CONFIG} --cflags` -I${X11BASE}/include >X >X all: >X- g++ $(CFLAGS) -o solar ./source/main.cpp $(LIBRARIES) >X+ ${CXX} ${CXXFLAGS} -o solar ./source/main.cpp ${LIBRARIES} >END-of-solarconquest/files/patch-makefile >echo x - solarconquest/files/patch-source-MenuScreen.h >sed 's/^X//' >solarconquest/files/patch-source-MenuScreen.h << 'END-of-solarconquest/files/patch-source-MenuScreen.h' >X--- source/MenuScreen.h.orig Thu Apr 6 03:11:27 2006 >X+++ source/MenuScreen.h Thu Apr 6 03:11:27 2006 >X@@ -646,10 +646,7 @@ >X if (text) >X { >X char txt[MAX_STRING_SIZE]; >X- char num[MAX_STRING_SIZE]; >X- gcvt(g_gameSpeed,2,num); >X- strcpy(txt,"Speed: "); >X- strncat(txt,num,3); >X+ sprintf(txt, "Speed: %.2f", g_gameSpeed); >X text->SetText(txt); >X } >X } >X@@ -751,10 +748,7 @@ >X g_gameSpeed = 0.1; >X >X char txt[MAX_STRING_SIZE]; >X- char num[MAX_STRING_SIZE]; >X- gcvt(g_gameSpeed,2,num); >X- strcpy(txt,"Speed: "); >X- strncat(txt,num,3); >X+ sprintf(txt, "Speed: %.2f", g_gameSpeed); >X >X CTextItem* text = (CTextItem*)g_optionsMenuScreen->FindItem(103); >X if (text) >X@@ -768,10 +762,7 @@ >X g_gameSpeed = 2.0; >X >X char txt[MAX_STRING_SIZE]; >X- char num[MAX_STRING_SIZE]; >X- gcvt(g_gameSpeed,2,num); >X- strcpy(txt,"Speed: "); >X- strncat(txt,num,3); >X+ sprintf(txt, "Speed: %.2f", g_gameSpeed); >X >X CTextItem* text = (CTextItem*)g_optionsMenuScreen->FindItem(103); >X if (text) >END-of-solarconquest/files/patch-source-MenuScreen.h >echo x - solarconquest/files/patch-source-main.cpp >sed 's/^X//' >solarconquest/files/patch-source-main.cpp << 'END-of-solarconquest/files/patch-source-main.cpp' >X--- source/main.cpp.orig Thu Apr 6 04:19:16 2006 >X+++ source/main.cpp Thu Apr 6 04:19:38 2006 >X@@ -19,6 +19,8 @@ >X >X //#include "stdafx.h" >X >X+#include <unistd.h> >X+#include <string.h> >X #include <SDL.h> >X #include <SDL_opengl.h> >X #include <vorbis/vorbisfile.h> >X@@ -1354,6 +1356,7 @@ >X >X int main(int argc, char **argv) >X { >X+ chdir(getenv("HOME")); >X #ifdef NO_SOUND >X if (SDL_Init(SDL_INIT_VIDEO) < 0) >X #else >END-of-solarconquest/files/patch-source-main.cpp >echo x - solarconquest/pkg-descr >sed 's/^X//' >solarconquest/pkg-descr << 'END-of-solarconquest/pkg-descr' >XAn expedition to another solar system was supposed to be the biggest >Xevent in mankind's history. While it achieved such glory, it also >Xcaused a corrupt Admrial to gain new territory. >X >XYou are part of a small rebel force. Your task is to keep Admrial >XMoretti's forces at bay, until the Earth Space Forces can send a >Xrescue team. >X >XSolar Conquest is a 2D action game that takes place in space. You >Xpilot a fighter and fight alongside dozens of allies. Battles can >Xrange from just a dozen a team, or up to all out war with hundreds >Xof ships per team. >X >XWWW: http://games.sajthelper.com/ >END-of-solarconquest/pkg-descr >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 95385
: 64068