Date: Thu, 10 Nov 2005 05:41:29 +0300 (MSK) From: Dmitry Marakasov <amdmi3@mail.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/88766: New port: games/concentration Find all matching pairs of icons as fast as possible Message-ID: <20051110024129.D7C2011FD@hades.panopticon> Resent-Message-ID: <200511100240.jAA2eIFv075332@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 88766 >Category: ports >Synopsis: New port: games/concentration Find all matching pairs of icons as fast as possible >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: Thu Nov 10 02:40:18 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Dmitry Marakasov >Release: FreeBSD 6.0-RELEASE i386 >Organization: >Environment: System: FreeBSD hades.panopticon 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Tue Nov 8 08:55:44 MSK 2005 amdmi3@hades.panopticon:/usr/obj/usr/src/sys/HADES i386 >Description: The classic memory game has some new life in this recreation for the Linux platform. Your object is to find all matching pairs of icons in the fastest time possible. WWW: http://www.shiftygames.com/concentration/concentration.html >How-To-Repeat: >Fix: --- concentration-1.2.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: # # concentration # concentration/files # concentration/files/patch-src-sound.c # concentration/Makefile # concentration/distinfo # concentration/pkg-descr # concentration/pkg-plist # echo c - concentration mkdir -p concentration > /dev/null 2>&1 echo c - concentration/files mkdir -p concentration/files > /dev/null 2>&1 echo x - concentration/files/patch-src-sound.c sed 's/^X//' >concentration/files/patch-src-sound.c << 'END-of-concentration/files/patch-src-sound.c' X--- src/sound.c.orig Tue Sep 21 05:08:59 2004 X+++ src/sound.c Thu Nov 10 05:06:02 2005 X@@ -47,12 +47,13 @@ X Mix_Chunk * loadSound(const char * name) X { X Mix_Chunk * temp; X+ char * newname; X int len1 = strlen(sg_data_path), len2 = strlen(name); X X if(disabled) X return NULL; X X- char * newname = (char*)malloc(len1 + len2 + 1); X+ newname = (char*)malloc(len1 + len2 + 1); X if(newname == NULL) { X fprintf(stderr, "Out of memory!\n"); X exit(1); END-of-concentration/files/patch-src-sound.c echo x - concentration/Makefile sed 's/^X//' >concentration/Makefile << 'END-of-concentration/Makefile' X# New ports collection makefile for: concentration X# Date created: 10 Nov 2005 X# Whom: Dmitry Marakasov <amdmi3@mail.ru> X# X# $FreeBSD$ X# X XPORTNAME= concentration XPORTVERSION= 1.2 XCATEGORIES= games XMASTER_SITES= http://www.shiftygames.com/concentration/ X XMAINTAINER= amdmi3@mail.ru XCOMMENT= Find all matching pairs of icons as fast as possible X XGNU_CONFIGURE= yes XUSE_GMAKE= yes XUSE_REINPLACE= yes XUSE_SDL= sdl mixer image ttf X XCONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} XCONFIGURE_ENV= LDFLAGS="`${SDL_CONFIG} --libs`" \ X CPPFLAGS="`${SDL_CONFIG} --cflags`" \ X SDL_CONFIG="${SDL_CONFIG}" X XMAN6= concentration.6 X Xpost-patch: X @${REINPLACE_CMD} -e 's|SDL/|SDL11/|g' ${WRKSRC}/configure ${WRKSRC}/src/sound.c X @${REINPLACE_CMD} -e 's|-std=gnu99 ||g' ${WRKSRC}/configure X X.include <bsd.port.mk> END-of-concentration/Makefile echo x - concentration/distinfo sed 's/^X//' >concentration/distinfo << 'END-of-concentration/distinfo' XMD5 (concentration-1.2.tar.gz) = f761f0cffcfbfcbe3b4f4a88904adb7c XSIZE (concentration-1.2.tar.gz) = 1044563 END-of-concentration/distinfo echo x - concentration/pkg-descr sed 's/^X//' >concentration/pkg-descr << 'END-of-concentration/pkg-descr' XThe classic memory game has some new life in this recreation for Xthe Linux platform. Your object is to find all matching pairs of Xicons in the fastest time possible. X XWWW: http://www.shiftygames.com/concentration/concentration.html END-of-concentration/pkg-descr echo x - concentration/pkg-plist sed 's/^X//' >concentration/pkg-plist << 'END-of-concentration/pkg-plist' Xbin/concentration X%%DATADIR%%/fonts/bluestone.ttf X%%DATADIR%%/pics/background.png X%%DATADIR%%/pics/cover.png X%%DATADIR%%/pics/eight.png X%%DATADIR%%/pics/five.png X%%DATADIR%%/pics/four.png X%%DATADIR%%/pics/nine.png X%%DATADIR%%/pics/one.png X%%DATADIR%%/pics/set1/1.png X%%DATADIR%%/pics/set1/10.png X%%DATADIR%%/pics/set1/11.png X%%DATADIR%%/pics/set1/12.png X%%DATADIR%%/pics/set1/13.png X%%DATADIR%%/pics/set1/14.png X%%DATADIR%%/pics/set1/15.png X%%DATADIR%%/pics/set1/16.png X%%DATADIR%%/pics/set1/17.png X%%DATADIR%%/pics/set1/18.png X%%DATADIR%%/pics/set1/19.png X%%DATADIR%%/pics/set1/2.png X%%DATADIR%%/pics/set1/20.png X%%DATADIR%%/pics/set1/21.png X%%DATADIR%%/pics/set1/22.png X%%DATADIR%%/pics/set1/23.png X%%DATADIR%%/pics/set1/24.png X%%DATADIR%%/pics/set1/25.png X%%DATADIR%%/pics/set1/26.png X%%DATADIR%%/pics/set1/27.png X%%DATADIR%%/pics/set1/28.png X%%DATADIR%%/pics/set1/29.png X%%DATADIR%%/pics/set1/3.png X%%DATADIR%%/pics/set1/30.png X%%DATADIR%%/pics/set1/4.png X%%DATADIR%%/pics/set1/5.png X%%DATADIR%%/pics/set1/6.png X%%DATADIR%%/pics/set1/7.png X%%DATADIR%%/pics/set1/8.png X%%DATADIR%%/pics/set1/9.png X%%DATADIR%%/pics/set2/1.png X%%DATADIR%%/pics/set2/10.png X%%DATADIR%%/pics/set2/11.png X%%DATADIR%%/pics/set2/12.png X%%DATADIR%%/pics/set2/13.png X%%DATADIR%%/pics/set2/14.png X%%DATADIR%%/pics/set2/15.png X%%DATADIR%%/pics/set2/16.png X%%DATADIR%%/pics/set2/17.png X%%DATADIR%%/pics/set2/18.png X%%DATADIR%%/pics/set2/19.png X%%DATADIR%%/pics/set2/2.png X%%DATADIR%%/pics/set2/20.png X%%DATADIR%%/pics/set2/21.png X%%DATADIR%%/pics/set2/22.png X%%DATADIR%%/pics/set2/23.png X%%DATADIR%%/pics/set2/24.png X%%DATADIR%%/pics/set2/25.png X%%DATADIR%%/pics/set2/26.png X%%DATADIR%%/pics/set2/27.png X%%DATADIR%%/pics/set2/28.png X%%DATADIR%%/pics/set2/29.png X%%DATADIR%%/pics/set2/3.png X%%DATADIR%%/pics/set2/30.png X%%DATADIR%%/pics/set2/4.png X%%DATADIR%%/pics/set2/5.png X%%DATADIR%%/pics/set2/6.png X%%DATADIR%%/pics/set2/7.png X%%DATADIR%%/pics/set2/8.png X%%DATADIR%%/pics/set2/9.png X%%DATADIR%%/pics/set3/1.png X%%DATADIR%%/pics/set3/10.png X%%DATADIR%%/pics/set3/11.png X%%DATADIR%%/pics/set3/12.png X%%DATADIR%%/pics/set3/13.png X%%DATADIR%%/pics/set3/14.png X%%DATADIR%%/pics/set3/15.png X%%DATADIR%%/pics/set3/16.png X%%DATADIR%%/pics/set3/17.png X%%DATADIR%%/pics/set3/18.png X%%DATADIR%%/pics/set3/19.png X%%DATADIR%%/pics/set3/2.png X%%DATADIR%%/pics/set3/20.png X%%DATADIR%%/pics/set3/21.png X%%DATADIR%%/pics/set3/22.png X%%DATADIR%%/pics/set3/23.png X%%DATADIR%%/pics/set3/24.png X%%DATADIR%%/pics/set3/25.png X%%DATADIR%%/pics/set3/26.png X%%DATADIR%%/pics/set3/27.png X%%DATADIR%%/pics/set3/28.png X%%DATADIR%%/pics/set3/29.png X%%DATADIR%%/pics/set3/3.png X%%DATADIR%%/pics/set3/30.png X%%DATADIR%%/pics/set3/4.png X%%DATADIR%%/pics/set3/5.png X%%DATADIR%%/pics/set3/6.png X%%DATADIR%%/pics/set3/7.png X%%DATADIR%%/pics/set3/8.png X%%DATADIR%%/pics/set3/9.png X%%DATADIR%%/pics/seven.png X%%DATADIR%%/pics/sg_icon.png X%%DATADIR%%/pics/shiftygames.png X%%DATADIR%%/pics/six.png X%%DATADIR%%/pics/sound_high.png X%%DATADIR%%/pics/sound_low.png X%%DATADIR%%/pics/sound_medium.png X%%DATADIR%%/pics/three.png X%%DATADIR%%/pics/two.png X%%DATADIR%%/pics/zero.png X%%DATADIR%%/sounds/cheering.ogg X%%DATADIR%%/sounds/click.ogg X%%DATADIR%%/sounds/click2.ogg X%%DATADIR%%/sounds/flip-piece.ogg X%%DATADIR%%/sounds/hit.ogg X%%DATADIR%%/sounds/hit2.ogg X%%DATADIR%%/sounds/hit3.ogg X%%DATADIR%%/sounds/miss.ogg X%%DATADIR%%/sounds/miss2.ogg X%%DATADIR%%/sounds/miss3.ogg X%%DATADIR%%/sounds/tick.ogg X@dirrm %%DATADIR%%/fonts X@dirrm %%DATADIR%%/pics/set1 X@dirrm %%DATADIR%%/pics/set2 X@dirrm %%DATADIR%%/pics/set3 X@dirrm %%DATADIR%%/pics X@dirrm %%DATADIR%%/sounds X@dirrm %%DATADIR%% END-of-concentration/pkg-plist exit --- concentration-1.2.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?20051110024129.D7C2011FD>