FreeBSD Bugzilla – Attachment 55106 Details for
Bug 83342
New port: games/airrox - An 3D Air Hockey, which uses SDL & OpenGL
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
airrox.shar
airrox.shar (text/plain), 6.98 KB, created by
Alejandro Pulver
on 2005-07-12 19:50:14 UTC
(
hide
)
Description:
airrox.shar
Filename:
MIME Type:
Creator:
Alejandro Pulver
Created:
2005-07-12 19:50:14 UTC
Size:
6.98 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: ># ># airrox ># airrox/Makefile ># airrox/pkg-message ># airrox/pkg-plist ># airrox/files ># airrox/files/patch-jogo.cpp ># airrox/files/readme.txt ># airrox/distinfo ># airrox/pkg-descr ># >echo c - airrox >mkdir -p airrox > /dev/null 2>&1 >echo x - airrox/Makefile >sed 's/^X//' >airrox/Makefile << 'END-of-airrox/Makefile' >X# New ports collection makefile for: airrox >X# Date created: 12 Jul 2005 >X# Whom: Alejandro Pulver <alejandro@varnet.biz> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= airrox >XPORTVERSION= 0.0.4 >XCATEGORIES= games >XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} >XMASTER_SITE_SUBDIR= ${PORTNAME} >XDISTNAME= ${PORTNAME}-0.04 >X >XMAINTAINER= alejandro@varnet.biz >XCOMMENT= An 3D Air Hockey, which uses SDL & OpenGL >X >XUSE_GMAKE= yes >XUSE_SDL= mixer net sdl >XUSE_GL= yes >XUSE_REINPLACE= yes >XREINPLACE_ARGS= -i '' >X >XWRKSRC= ${WRKDIR}/${PORTNAME}/source >X >XOPTIONS= OPTIMIZED_CFLAGS "Enable compilation optimizations" on >X >XPLIST_SUB= PORTNAME="${PORTNAME}" >X >XALL_TARGET= linux >X >XDATADIRS= audio icones imagens meshs texturas >X >Xdo-install: >X# Program >X @${INSTALL_PROGRAM} ${WRKSRC}/air ${PREFIX}/bin/${PORTNAME} >X >X# Data >X @${MKDIR} ${DATADIR} >X >X# Data: directories >X.for d in ${DATADIRS} >X @${CP} -R ${WRKDIR}/${PORTNAME}/${d} ${DATADIR} >X.endfor >X >X# Data: config.txt >X @${INSTALL_DATA} ${WRKSRC}/config.txt ${DATADIR} >X >X# Remove CVS directories >X @${FIND} ${DATADIR} -type d -name "CVS" -print0 | \ >X ${XARGS} -0 ${RM} -rf >X >X# Documentation (optional) >X.if !defined(NOPORTDOCS) >X @${MKDIR} ${DOCSDIR} >X @${INSTALL_DATA} ${FILESDIR}/readme.txt ${DOCSDIR} >X.endif >X >Xpost-install: >X @${ECHO_CMD} >X @${SED} -e 's|%%PORTNAME%%|${PORTNAME}|g ; \ >X s|%%DATADIR%%|${DATADIR}|g' \ >X ${PKGMESSAGE} | ${FMT} >X @${ECHO_CMD} >X >X.include <bsd.port.pre.mk> >X >Xpost-patch: >X# Fix Makefile >X @${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g ; \ >X s|-lSDL ||g ; \ >X s|-lpthread||g ; \ >X s|sdl-config|${SDL_CONFIG}|g ; \ >X s|\(-O2\)|${CFLAGS} -I${X11BASE}/include \ >X `${SDL_CONFIG} --cflags` \1| ; \ >X s|$$(INCLUDEWIN)||g ; \ >X s|g++|${CXX}|g' \ >X ${WRKSRC}/${MAKEFILE} >X >X# Fix SDL include statement >X.for f in *.cpp *.h >X @${FIND} ${WRKSRC} -type f -name "${f}" -print0 | \ >X ${XARGS} -0 ${REINPLACE_CMD} -e \ >X 's|\(#include.*\)SDL/\(SDL.*\)|\1\2|' >X.endfor >X >X# Fix paths to ${DATADIR} >X.for d in ${DATADIRS} >X @${REINPLACE_CMD} -e 's|../\(${d}/\)|${DATADIR}/\1|' \ >X ${WRKSRC}/*.cpp ${WRKSRC}/*.h >X.endfor >X >X# Enable/disable compilation optimizations >X.if !defined(WITH_OPTIMIZED_CFLAGS) >X @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${MAKEFILE} >X.endif >X >X.include <bsd.port.post.mk> >END-of-airrox/Makefile >echo x - airrox/pkg-message >sed 's/^X//' >airrox/pkg-message << 'END-of-airrox/pkg-message' >XTo play %%PORTNAME%% you have to copy the file %%DATADIR%%/config.txt to your >Xhome directory, with the name ".airrox". >X >XExample: >X >Xcp %%DATADIR%%/config.txt ~/.airrox >END-of-airrox/pkg-message >echo x - airrox/pkg-plist >sed 's/^X//' >airrox/pkg-plist << 'END-of-airrox/pkg-plist' >Xbin/%%PORTNAME%% >X%%DATADIR%%/audio/fx/colisaodiscojogador.wav >X%%DATADIR%%/audio/fx/colisaodiscomesa.wav >X%%DATADIR%%/audio/fx/fxlist >X%%DATADIR%%/audio/fx/gol.wav >X%%DATADIR%%/audio/music/playlist >X%%DATADIR%%/audio/music/soumn_-_now_is_the_time_to_try_something_new.ogg >X%%DATADIR%%/icones/airrox.bmp >X%%DATADIR%%/imagens/mjogar.bmp >X%%DATADIR%%/imagens/mjogar1.bmp >X%%DATADIR%%/imagens/mjogar1h.bmp >X%%DATADIR%%/imagens/mjogar2.bmp >X%%DATADIR%%/imagens/mjogar2h.bmp >X%%DATADIR%%/imagens/mjogar3.bmp >X%%DATADIR%%/imagens/mjogar3h.bmp >X%%DATADIR%%/imagens/mjogarh.bmp >X%%DATADIR%%/imagens/mobs.bmp >X%%DATADIR%%/imagens/mobsh.bmp >X%%DATADIR%%/imagens/msair.bmp >X%%DATADIR%%/imagens/msairh.bmp >X%%DATADIR%%/meshs/mallet.3ds >X%%DATADIR%%/meshs/mesa.3ds >X%%DATADIR%%/meshs/placar.3ds >X%%DATADIR%%/meshs/puck.3ds >X%%DATADIR%%/texturas/display0.bmp >X%%DATADIR%%/texturas/display1.bmp >X%%DATADIR%%/texturas/display2.bmp >X%%DATADIR%%/texturas/display3.bmp >X%%DATADIR%%/texturas/display4.bmp >X%%DATADIR%%/texturas/display5.bmp >X%%DATADIR%%/texturas/display6.bmp >X%%DATADIR%%/texturas/display7.bmp >X%%DATADIR%%/texturas/display8.bmp >X%%DATADIR%%/texturas/display9.bmp >X%%DATADIR%%/texturas/logomesa.bmp >X%%DATADIR%%/texturas/mallet.bmp >X%%DATADIR%%/texturas/mesa.bmp >X%%DATADIR%%/texturas/placar.bmp >X%%DATADIR%%/texturas/puck.bmp >X%%DATADIR%%/config.txt >X%%PORTDOCS%%%%DOCSDIR%%/readme.txt >X@dirrm %%DATADIR%%/texturas >X@dirrm %%DATADIR%%/meshs >X@dirrm %%DATADIR%%/imagens >X@dirrm %%DATADIR%%/icones >X@dirrm %%DATADIR%%/audio/music >X@dirrm %%DATADIR%%/audio/fx >X@dirrm %%DATADIR%%/audio >X@dirrm %%DATADIR%% >X@dirrm %%DOCSDIR%% >END-of-airrox/pkg-plist >echo c - airrox/files >mkdir -p airrox/files > /dev/null 2>&1 >echo x - airrox/files/patch-jogo.cpp >sed 's/^X//' >airrox/files/patch-jogo.cpp << 'END-of-airrox/files/patch-jogo.cpp' >X--- jogo.cpp.orig Sat Oct 9 10:35:22 2004 >X+++ jogo.cpp Tue Jul 12 15:28:30 2005 >X@@ -45,7 +45,16 @@ >X >X void Jogo::inicializacao() >X { >X- config = new Config("config.txt"); >X+ char *home, *pathtocfg, *cfgname = ".airrox"; >X+ int len1, len2; >X+ >X+ home = getenv("HOME"); >X+ len1 = strlen(home); >X+ len2 = strlen(cfgname); >X+ pathtocfg = new char[len1 + len2]; >X+ sprintf(pathtocfg, "%s/%s", home, cfgname); >X+ >X+ config = new Config(pathtocfg); >X // parametros de configuracao >X config->cria("TelaLargura", INT); >X config->cria("TelaAltura", INT); >END-of-airrox/files/patch-jogo.cpp >echo x - airrox/files/readme.txt >sed 's/^X//' >airrox/files/readme.txt << 'END-of-airrox/files/readme.txt' >XMatch options: >X >XKey Esc - Exit game >X >XVisualization options: >X >XKey F11 - Decrease video resolution >XKey F12 - Increase video resolution >XKey Ctrl F - Toggle Full Screen >X >XControl options: >X >XKey F9 - Decrease mouse sensibility >XKey F10 - Increase mouse sensibility >X >XPlayer movement: >X >XMouse >X >XCamera options: >X >XKey Up - Increase Zoom >XKey Down - Decrease Zoom >XKey Right - Rotate Right >XKey Left - Rotate Left >XKey F5 - Stop Camera >XKey F6 - Complete turn around the table >XKey F7 - TV Camera Mode >XMouse Wheel - Move camera vertically >X >XSound options: >X >XKey + - Increase music volume >XKey - - Decrease music volume >X >XCommand-line options: >X >XServer: airrox S <port> >XClient: airrox C <host> <port> >XSpectator: airrox O <host> <port> >XSingle Player: airrox P >END-of-airrox/files/readme.txt >echo x - airrox/distinfo >sed 's/^X//' >airrox/distinfo << 'END-of-airrox/distinfo' >XMD5 (airrox-0.04.tar.gz) = aff01d8a559478185b2e1be19fda8ad2 >XSIZE (airrox-0.04.tar.gz) = 2750961 >END-of-airrox/distinfo >echo x - airrox/pkg-descr >sed 's/^X//' >airrox/pkg-descr << 'END-of-airrox/pkg-descr' >XAn 3D Air Hockey, which uses SDL & OpenGL with some features like single, and >Xmultiplayer mode, sound fx, music, camera control, etc. >X >XWWW: http://twiki.im.ufba.br/bin/view/Indigente/AirroX >X >X- Alejandro Pulver >Xalejandro@varnet.biz >END-of-airrox/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 83342
: 55106