# 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/CVS # airrox/CVS/Root # airrox/CVS/Repository # airrox/CVS/Entries # airrox/CVS/Template # airrox/files # airrox/files/CVS # airrox/files/CVS/Root # airrox/files/CVS/Repository # airrox/files/CVS/Entries # airrox/files/patch-conexao.h # airrox/files/patch-jogo.cpp # airrox/files/pkg-message.in # airrox/files/readme.txt # airrox/files/patch-visual.h # airrox/files/patch-visual.cpp # airrox/Makefile # airrox/distinfo # airrox/pkg-descr # airrox/pkg-plist # echo c - airrox mkdir -p airrox > /dev/null 2>&1 echo c - airrox/CVS mkdir -p airrox/CVS > /dev/null 2>&1 echo x - airrox/CVS/Root sed 's/^X//' >airrox/CVS/Root << 'END-of-airrox/CVS/Root' Xalepulver@pcvs.FreeBSD.org:/home/pcvs END-of-airrox/CVS/Root echo x - airrox/CVS/Repository sed 's/^X//' >airrox/CVS/Repository << 'END-of-airrox/CVS/Repository' Xports/games/airrox END-of-airrox/CVS/Repository echo x - airrox/CVS/Entries sed 's/^X//' >airrox/CVS/Entries << 'END-of-airrox/CVS/Entries' X/Makefile/1.5/Wed Sep 20 11:20:50 2006// X/distinfo/1.2/Fri Nov 25 21:47:27 2005// X/pkg-descr/1.1/Wed Jul 13 19:40:14 2005// X/pkg-plist/1.1/Wed Jul 13 19:40:14 2005// XD/files//// END-of-airrox/CVS/Entries echo x - airrox/CVS/Template sed 's/^X//' >airrox/CVS/Template << 'END-of-airrox/CVS/Template' X XPR: XSubmitted by: XReviewed by: XApproved by: XObtained from: XMFC after: XSecurity: XCVS: ---------------------------------------------------------------------- XCVS: PR: Fill this in if a GNATS PR is affected by the change. XCVS: Submitted by: Fill this in if someone else sent in the change. XCVS: Reviewed by: Fill this in if someone else reviewed your modification. XCVS: Approved by: Fill this in if you needed approval for this commit. XCVS: Obtained from: Fill this in if the change is from third party software. XCVS: MFC after: N [day[s]|week[s]|month[s]] XCVS: Fill in to get MFC notification later. (days assumed unless specified) XCVS: Security: vulnerability reference or description XCVS: If the change is related to a security vulnerability, include one or XCVS: more references (e.g. CVE names, VuXML IDs, URLs) or a description XCVS: of the issue. Please use one `Security:' entry per reference. END-of-airrox/CVS/Template echo c - airrox/files mkdir -p airrox/files > /dev/null 2>&1 echo c - airrox/files/CVS mkdir -p airrox/files/CVS > /dev/null 2>&1 echo x - airrox/files/CVS/Root sed 's/^X//' >airrox/files/CVS/Root << 'END-of-airrox/files/CVS/Root' Xalepulver@pcvs.FreeBSD.org:/home/pcvs END-of-airrox/files/CVS/Root echo x - airrox/files/CVS/Repository sed 's/^X//' >airrox/files/CVS/Repository << 'END-of-airrox/files/CVS/Repository' Xports/games/airrox/files END-of-airrox/files/CVS/Repository echo x - airrox/files/CVS/Entries sed 's/^X//' >airrox/files/CVS/Entries << 'END-of-airrox/files/CVS/Entries' X/patch-jogo.cpp/1.1/Wed Jul 13 19:40:14 2005// X/pkg-message.in/1.1/Wed Jul 13 19:40:14 2005// X/readme.txt/1.1/Wed Jul 13 19:40:14 2005// XD END-of-airrox/files/CVS/Entries echo x - airrox/files/patch-conexao.h sed 's/^X//' >airrox/files/patch-conexao.h << 'END-of-airrox/files/patch-conexao.h' X--- ./conexao.h.orig Tue Sep 28 20:48:00 2004 X+++ ./conexao.h Tue Mar 27 14:57:10 2007 X@@ -46,7 +46,7 @@ X X X Conexao(Jogo *j); X- Conexao::~Conexao(); X+ ~Conexao(); X void servidor(int porta, void (*eventos) (void *,void*)); X void cliente(string enderecoservidor, int porta, void (*eventos) (void *,void *)); X void limparMsg(); END-of-airrox/files/patch-conexao.h 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/pkg-message.in sed 's/^X//' >airrox/files/pkg-message.in << 'END-of-airrox/files/pkg-message.in' XTo play airrox 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/files/pkg-message.in 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 XClient: airrox C XSpectator: airrox O XSingle Player: airrox P END-of-airrox/files/readme.txt echo x - airrox/files/patch-visual.h sed 's/^X//' >airrox/files/patch-visual.h << 'END-of-airrox/files/patch-visual.h' X--- ./visual.h.orig Tue Mar 27 14:57:10 2007 X+++ ./visual.h Tue Mar 27 15:00:26 2007 X@@ -70,7 +70,7 @@ X int setarTelaCheia(void); X int aumentarResolucao(void); X int diminuirResolucao(void); X- GLvoid matarJanela(GLvoid); X+ void matarJanela(void); X X void Escrita2D(void); X void EscreveString(float x, float y, void *font, const char *string); END-of-airrox/files/patch-visual.h echo x - airrox/files/patch-visual.cpp sed 's/^X//' >airrox/files/patch-visual.cpp << 'END-of-airrox/files/patch-visual.cpp' X--- ./visual.cpp.orig Tue Mar 27 14:57:10 2007 X+++ ./visual.cpp Tue Mar 27 15:10:12 2007 X@@ -219,7 +219,7 @@ X return 1; X } X X-GLvoid Visual::matarJanela(GLvoid) {} X+void Visual::matarJanela(void) {} X X /**************** Metodos auxiliares ***********************************/ X END-of-airrox/files/patch-visual.cpp 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 X# X# $FreeBSD: ports/games/airrox/Makefile,v 1.5 2006/09/20 11:20:50 stas Exp $ X# X XPORTNAME= airrox XPORTVERSION= 0.0.4 XPORTREVISION= 3 XCATEGORIES= games XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME} XDISTNAME= ${PORTNAME}-0.04 X XMAINTAINER= alepulver@FreeBSD.org XCOMMENT= An 3D Air Hockey, which uses SDL & OpenGL X XLIB_DEPENDS= glut.4:${PORTSDIR}/graphics/libglut X XUSE_GMAKE= yes XUSE_SDL= mixer net sdl XUSE_GL= yes XREINPLACE_ARGS= -i '' X XWRKSRC= ${WRKDIR}/${PORTNAME}/source X XOPTIONS= OPTIMIZED_CFLAGS "Enable compilation optimizations" on X XSUB_FILES= pkg-message X XALL_TARGET= linux X XDIRS= audio icones imagens meshs texturas X X.include X X.if ${OSVERSION} < 500000 XIGNORE= needs sscanf() interface in libc X.endif 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 ${DIRS} X @${REINPLACE_CMD} -e 's|../\(${d}/\)|${DATADIR}/\1|' \ X ${WRKSRC}/*.cpp ${WRKSRC}/*.h X.endfor X X# Enable/disable compilation optimizations. X.if defined(WITHOUT_OPTIMIZED_CFLAGS) X @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${MAKEFILE} X.endif 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 ${DIRS} 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 @${CAT} ${PKGMESSAGE} X @${ECHO_CMD} X X.include END-of-airrox/Makefile echo x - airrox/distinfo sed 's/^X//' >airrox/distinfo << 'END-of-airrox/distinfo' XMD5 (airrox-0.04.tar.gz) = aff01d8a559478185b2e1be19fda8ad2 XSHA256 (airrox-0.04.tar.gz) = 3d59033c0df3c21f2fdb5aeabae3e130d37fb327c563a9a1e85163e7ff96df6f 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 echo x - airrox/pkg-plist sed 's/^X//' >airrox/pkg-plist << 'END-of-airrox/pkg-plist' Xbin/airrox 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 exit