Date: Fri, 23 Nov 2012 21:37:30 +0100 From: nemysis <nemysis@gmx.ch> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/173878: [NEW PORT] games/tong: Tetris and Pong in the same place at the same time Message-ID: <20121123203734.78ADBB32@hub.freebsd.org> Resent-Message-ID: <201211232040.qANKe2LE095223@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 173878 >Category: ports >Synopsis: [NEW PORT] games/tong: Tetris and Pong in the same place at the same time >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Nov 23 20:40:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: nemysis >Release: FreeBSD 9.0-RELEASE amd64 >Organization: >Environment: System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC >Description: Tetris meets Pong, with more twists than a contortionist club's secret handshake Sometimes, the total is greater than the sum of the parts. Tetris and Pong are classics, addictive and unshakable from their places in gaming history. TONG is the result of mixing the two, capitalizing on the essential qualities of each classic and adding new twists of its own to make an explosive chemical reaction out of it all. WWW: http://www.nongnu.org/tong/ Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: new) >How-To-Repeat: portlint -A looks fine. port test: clean Can't give build log, because RedPorts not works at the time. >Fix: --- .shar begins here --- # 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: # # tong # tong/Makefile # tong/pkg-descr # tong/distinfo # tong/files # tong/files/patch-tong.cpp # tong/pkg-plist # echo c - tong mkdir -p tong > /dev/null 2>&1 echo x - tong/Makefile sed 's/^X//' >tong/Makefile << '6b9aaa2dde921458a614e96dceeb4aeb' X# Created by: nemysis@gmx.ch X# X# $FreeBSD$ X# X XPORTNAME= tong XPORTVERSION= 1.2 XCATEGORIES= games XMASTER_SITES= http://www.nongnu.org/tong/ X XMAINTAINER= nemysis@gmx.ch XCOMMENT= Tetris and Pong in the same place at the same time X XLICENSE= GPLv3 X XWRKSRC= ${WRKDIR}/${PORTNAME} X XUSE_SDL= image mixer sdl XUSE_GMAKE= yes XMAKE_JOBS_SAFE= yes X XPORTDOCS= CHANGELOG README making-of.txt notes.txt X XDESKTOP_ENTRIES="TONG!" "${COMMENT}" "${PORTNAME}" \ X "${PORTNAME}" "Game;ArcadeGame;" ${FALSE} X X.include <bsd.port.options.mk> X Xpost-patch: X @${REINPLACE_CMD} -e 's|GAME_DATA_DIR := .|GAME_DATA_DIR := ${DATADIR}|' \ X -e 's|CC = g++ -O3 -Wall |CC = g++ -Wall |' \ X ${WRKSRC}/Makefile X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin X @cd ${WRKSRC} && ${COPYTREE_SHARE} "*.png" ${DATADIR} X ${MKDIR} ${DATADIR}/media X @cd ${WRKSRC}/media && ${COPYTREE_SHARE} "*.png *.xcf *.ogg *.ico" ${DATADIR}/media X ${LN} -sf ${DATADIR}/media/icon.png ${PREFIX}/share/pixmaps/${PORTNAME}.png X X.if ${PORT_OPTIONS:MDOCS} X ${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} X.endif X X.include <bsd.port.mk> 6b9aaa2dde921458a614e96dceeb4aeb echo x - tong/pkg-descr sed 's/^X//' >tong/pkg-descr << '5e53963130162554020a40ecbae31930' XTetris meets Pong, with more twists than a contortionist club's secret handshake X XSometimes, the total is greater than the sum of the parts. XTetris and Pong are classics, addictive and unshakable from their places in Xgaming history. TONG is the result of mixing the two, capitalizing on the Xessential qualities of each classic and adding new twists of its own to make Xan explosive chemical reaction out of it all. X XWWW: http://www.nongnu.org/tong/ 5e53963130162554020a40ecbae31930 echo x - tong/distinfo sed 's/^X//' >tong/distinfo << 'd4fa819fab25801cdf9abf4c5dfb077e' XSHA256 (tong-1.2.tar.gz) = 7514bf0c1c1a9a8d6985d0fbe83486b83f665d9a202beed2ae91e3f45e90942b XSIZE (tong-1.2.tar.gz) = 88028070 d4fa819fab25801cdf9abf4c5dfb077e echo c - tong/files mkdir -p tong/files > /dev/null 2>&1 echo x - tong/files/patch-tong.cpp sed 's/^X//' >tong/files/patch-tong.cpp << 'f7d47997a4978d69a0c6d4711cdbb1d4' X--- tong.cpp.orig 2012-10-31 18:18:19.000000000 +0100 X+++ tong.cpp 2012-11-15 13:27:09.000000000 +0100 X@@ -63,6 +63,7 @@ X #define SCREEN_CREDITS 8 X X #define DEMO_TIME 8000 X+#define MIN_TIME 45 X X #define GP2X_BUTTON_UP 0 X #define GP2X_BUTTON_UPLEFT 1 X@@ -1854,6 +1855,13 @@ X SDL_Flip(screen); X lastlastupdate=lastupdate; X lastupdate=SDL_GetTicks(); X+ X+ // limit to 1000/MIN_TIME fps X+ if (lastupdate-lastlastupdate < MIN_TIME) { X+ SDL_Delay(MIN_TIME - (lastupdate - lastlastupdate)); X+ } X+ lastupdate = SDL_GetTicks(); X+ X } //main game loop X X Mix_FreeMusic(music); f7d47997a4978d69a0c6d4711cdbb1d4 echo x - tong/pkg-plist sed 's/^X//' >tong/pkg-plist << '4e28f9c8d235cf47ec7658168ab05f7d' Xbin/tong Xshare/pixmaps/tong.png X%%DATADIR%%/background.png X%%DATADIR%%/darkblot.png X%%DATADIR%%/media/background-8bit.png X%%DATADIR%%/media/background-clean.png X%%DATADIR%%/media/background-new.png X%%DATADIR%%/media/background-new.xcf X%%DATADIR%%/media/background-old.png X%%DATADIR%%/media/background-shiny.png X%%DATADIR%%/media/background-space.png X%%DATADIR%%/media/background-test.xcf X%%DATADIR%%/media/background-xmas.png X%%DATADIR%%/media/background.png X%%DATADIR%%/media/ball-bounce.png X%%DATADIR%%/media/ball-die.png X%%DATADIR%%/media/ball-ignore.png X%%DATADIR%%/media/ball-join.png X%%DATADIR%%/media/behind.png X%%DATADIR%%/media/beyond2000.ogg X%%DATADIR%%/media/black.png X%%DATADIR%%/media/bounce1.ogg X%%DATADIR%%/media/bounce2.ogg X%%DATADIR%%/media/controls.png X%%DATADIR%%/media/donkeyrhubarb.ogg X%%DATADIR%%/media/fanfare.ogg X%%DATADIR%%/media/flock.ogg X%%DATADIR%%/media/gameover.png X%%DATADIR%%/media/gittegitte.ogg X%%DATADIR%%/media/i12bpvd.ogg X%%DATADIR%%/media/icon.png X%%DATADIR%%/media/newrule.ogg X%%DATADIR%%/media/next.png X%%DATADIR%%/media/one-liner.ogg X%%DATADIR%%/media/oneliner.ogg X%%DATADIR%%/media/penduincode.png X%%DATADIR%%/media/penduincode.xcf X%%DATADIR%%/media/pieces-8bit.png X%%DATADIR%%/media/pieces-clean.png X%%DATADIR%%/media/pieces-default.png X%%DATADIR%%/media/pieces-shiny.png X%%DATADIR%%/media/pieces-space.png X%%DATADIR%%/media/pieces-xmas.png X%%DATADIR%%/media/pieces.png X%%DATADIR%%/media/playzone-8bit.png X%%DATADIR%%/media/playzone-clean.png X%%DATADIR%%/media/playzone-shiny.png X%%DATADIR%%/media/playzone-space.png X%%DATADIR%%/media/playzone-xmas.png X%%DATADIR%%/media/playzone.png X%%DATADIR%%/media/plop1.ogg X%%DATADIR%%/media/reach_reach.ogg X%%DATADIR%%/media/reachreach.ogg X%%DATADIR%%/media/ruleblot.png X%%DATADIR%%/media/rulespark.png X%%DATADIR%%/media/score.png X%%DATADIR%%/media/squeekers.ogg X%%DATADIR%%/media/squib.ogg X%%DATADIR%%/media/stack-break.png X%%DATADIR%%/media/stack-die.png X%%DATADIR%%/media/stack-ignore.png X%%DATADIR%%/media/stack-join.png X%%DATADIR%%/media/stack-linebreak.png X%%DATADIR%%/media/stuck-in-a-mailbox.ogg X%%DATADIR%%/media/swish1.ogg X%%DATADIR%%/media/swish2.ogg X%%DATADIR%%/media/tetrad-break.png X%%DATADIR%%/media/tetrad-die.png X%%DATADIR%%/media/tetrad-drop.png X%%DATADIR%%/media/tetrad-ignore.png X%%DATADIR%%/media/tetrad-join.png X%%DATADIR%%/media/tetrad-move.png X%%DATADIR%%/media/tetrad-rotate.png X%%DATADIR%%/media/text.png X%%DATADIR%%/media/textbox.png X%%DATADIR%%/media/the-diplomat.ogg X%%DATADIR%%/media/tick.ogg X%%DATADIR%%/media/time.png X%%DATADIR%%/media/timeup.png X%%DATADIR%%/media/toing.ogg X%%DATADIR%%/media/tong.ico X%%DATADIR%%/media/tong.ogg X%%DATADIR%%/media/tong.png X%%DATADIR%%/media/twobits.ogg X%%DATADIR%%/media/wee1.ogg X%%DATADIR%%/media/wtfgames.png X%%DATADIR%%/media/youlose.png X%%DATADIR%%/pieces.png X%%DATADIR%%/play.png X%%DATADIR%%/pongbits.png X%%DATADIR%%/tetrisbits.png X@dirrm %%DATADIR%%/media X@dirrm %%DATADIR%% 4e28f9c8d235cf47ec7658168ab05f7d exit --- .shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121123203734.78ADBB32>