diff options
author | mnag <mnag@FreeBSD.org> | 2005-11-11 22:16:58 +0800 |
---|---|---|
committer | mnag <mnag@FreeBSD.org> | 2005-11-11 22:16:58 +0800 |
commit | f7e3a09512594ee99d2d3d1fe1c6204e0582d02a (patch) | |
tree | 06ae095bdac937cd56f491f050b5abc0e9bfe04a /games | |
parent | 5dcc9658d94096672d8f82d6889513e4b9591762 (diff) | |
download | freebsd-ports-gnome-f7e3a09512594ee99d2d3d1fe1c6204e0582d02a.tar.gz freebsd-ports-gnome-f7e3a09512594ee99d2d3d1fe1c6204e0582d02a.tar.zst freebsd-ports-gnome-f7e3a09512594ee99d2d3d1fe1c6204e0582d02a.zip |
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
PR: 88766
Submitted by: Dmitry Marakasov <amdmi3@mail.ru>
Diffstat (limited to 'games')
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/concentration/Makefile | 32 | ||||
-rw-r--r-- | games/concentration/distinfo | 3 | ||||
-rw-r--r-- | games/concentration/files/patch-src__sound.c | 17 | ||||
-rw-r--r-- | games/concentration/pkg-descr | 5 | ||||
-rw-r--r-- | games/concentration/pkg-plist | 127 |
6 files changed, 185 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index 3ededb485a57..56f80b43c679 100644 --- a/games/Makefile +++ b/games/Makefile @@ -90,6 +90,7 @@ SUBDIR += civ2demo SUBDIR += clanbomber SUBDIR += columns + SUBDIR += concentration SUBDIR += connect4 SUBDIR += connectfive SUBDIR += conquest diff --git a/games/concentration/Makefile b/games/concentration/Makefile new file mode 100644 index 000000000000..bd9bed272515 --- /dev/null +++ b/games/concentration/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: concentration +# Date created: 10 Nov 2005 +# Whom: Dmitry Marakasov <amdmi3@mail.ru> +# +# $FreeBSD$ +# + +PORTNAME= concentration +PORTVERSION= 1.2 +CATEGORIES= games +MASTER_SITES= http://www.shiftygames.com/concentration/ + +MAINTAINER= amdmi3@mail.ru +COMMENT= Find all matching pairs of icons as fast as possible + +GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_REINPLACE= yes +USE_SDL= sdl mixer image ttf + +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ENV= LDFLAGS="`${SDL_CONFIG} --libs`" \ + CPPFLAGS="`${SDL_CONFIG} --cflags`" \ + SDL_CONFIG="${SDL_CONFIG}" + +MAN6= concentration.6 + +post-patch: + @${REINPLACE_CMD} -e 's|SDL/|SDL11/|g' ${WRKSRC}/configure ${WRKSRC}/src/sound.c + @${REINPLACE_CMD} -e 's|-std=gnu99 ||g' ${WRKSRC}/configure + +.include <bsd.port.mk> diff --git a/games/concentration/distinfo b/games/concentration/distinfo new file mode 100644 index 000000000000..a6e756d0c78d --- /dev/null +++ b/games/concentration/distinfo @@ -0,0 +1,3 @@ +MD5 (concentration-1.2.tar.gz) = f761f0cffcfbfcbe3b4f4a88904adb7c +SHA256 (concentration-1.2.tar.gz) = f247fa694c03bc0a2be91bf85fed8c0f44447d0e7216b2d22259713453596ce8 +SIZE (concentration-1.2.tar.gz) = 1044563 diff --git a/games/concentration/files/patch-src__sound.c b/games/concentration/files/patch-src__sound.c new file mode 100644 index 000000000000..52e4196c9eca --- /dev/null +++ b/games/concentration/files/patch-src__sound.c @@ -0,0 +1,17 @@ +--- src/sound.c.orig Tue Sep 21 05:08:59 2004 ++++ src/sound.c Thu Nov 10 05:06:02 2005 +@@ -47,12 +47,13 @@ + Mix_Chunk * loadSound(const char * name) + { + Mix_Chunk * temp; ++ char * newname; + int len1 = strlen(sg_data_path), len2 = strlen(name); + + if(disabled) + return NULL; + +- char * newname = (char*)malloc(len1 + len2 + 1); ++ newname = (char*)malloc(len1 + len2 + 1); + if(newname == NULL) { + fprintf(stderr, "Out of memory!\n"); + exit(1); diff --git a/games/concentration/pkg-descr b/games/concentration/pkg-descr new file mode 100644 index 000000000000..445c8c8fd2ee --- /dev/null +++ b/games/concentration/pkg-descr @@ -0,0 +1,5 @@ +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 diff --git a/games/concentration/pkg-plist b/games/concentration/pkg-plist new file mode 100644 index 000000000000..f36c17465cc3 --- /dev/null +++ b/games/concentration/pkg-plist @@ -0,0 +1,127 @@ +bin/concentration +%%DATADIR%%/fonts/bluestone.ttf +%%DATADIR%%/pics/background.png +%%DATADIR%%/pics/cover.png +%%DATADIR%%/pics/eight.png +%%DATADIR%%/pics/five.png +%%DATADIR%%/pics/four.png +%%DATADIR%%/pics/nine.png +%%DATADIR%%/pics/one.png +%%DATADIR%%/pics/set1/1.png +%%DATADIR%%/pics/set1/10.png +%%DATADIR%%/pics/set1/11.png +%%DATADIR%%/pics/set1/12.png +%%DATADIR%%/pics/set1/13.png +%%DATADIR%%/pics/set1/14.png +%%DATADIR%%/pics/set1/15.png +%%DATADIR%%/pics/set1/16.png +%%DATADIR%%/pics/set1/17.png +%%DATADIR%%/pics/set1/18.png +%%DATADIR%%/pics/set1/19.png +%%DATADIR%%/pics/set1/2.png +%%DATADIR%%/pics/set1/20.png +%%DATADIR%%/pics/set1/21.png +%%DATADIR%%/pics/set1/22.png +%%DATADIR%%/pics/set1/23.png +%%DATADIR%%/pics/set1/24.png +%%DATADIR%%/pics/set1/25.png +%%DATADIR%%/pics/set1/26.png +%%DATADIR%%/pics/set1/27.png +%%DATADIR%%/pics/set1/28.png +%%DATADIR%%/pics/set1/29.png +%%DATADIR%%/pics/set1/3.png +%%DATADIR%%/pics/set1/30.png +%%DATADIR%%/pics/set1/4.png +%%DATADIR%%/pics/set1/5.png +%%DATADIR%%/pics/set1/6.png +%%DATADIR%%/pics/set1/7.png +%%DATADIR%%/pics/set1/8.png +%%DATADIR%%/pics/set1/9.png +%%DATADIR%%/pics/set2/1.png +%%DATADIR%%/pics/set2/10.png +%%DATADIR%%/pics/set2/11.png +%%DATADIR%%/pics/set2/12.png +%%DATADIR%%/pics/set2/13.png +%%DATADIR%%/pics/set2/14.png +%%DATADIR%%/pics/set2/15.png +%%DATADIR%%/pics/set2/16.png +%%DATADIR%%/pics/set2/17.png +%%DATADIR%%/pics/set2/18.png +%%DATADIR%%/pics/set2/19.png +%%DATADIR%%/pics/set2/2.png +%%DATADIR%%/pics/set2/20.png +%%DATADIR%%/pics/set2/21.png +%%DATADIR%%/pics/set2/22.png +%%DATADIR%%/pics/set2/23.png +%%DATADIR%%/pics/set2/24.png +%%DATADIR%%/pics/set2/25.png +%%DATADIR%%/pics/set2/26.png +%%DATADIR%%/pics/set2/27.png +%%DATADIR%%/pics/set2/28.png +%%DATADIR%%/pics/set2/29.png +%%DATADIR%%/pics/set2/3.png +%%DATADIR%%/pics/set2/30.png +%%DATADIR%%/pics/set2/4.png +%%DATADIR%%/pics/set2/5.png +%%DATADIR%%/pics/set2/6.png +%%DATADIR%%/pics/set2/7.png +%%DATADIR%%/pics/set2/8.png +%%DATADIR%%/pics/set2/9.png +%%DATADIR%%/pics/set3/1.png +%%DATADIR%%/pics/set3/10.png +%%DATADIR%%/pics/set3/11.png +%%DATADIR%%/pics/set3/12.png +%%DATADIR%%/pics/set3/13.png +%%DATADIR%%/pics/set3/14.png +%%DATADIR%%/pics/set3/15.png +%%DATADIR%%/pics/set3/16.png +%%DATADIR%%/pics/set3/17.png +%%DATADIR%%/pics/set3/18.png +%%DATADIR%%/pics/set3/19.png +%%DATADIR%%/pics/set3/2.png +%%DATADIR%%/pics/set3/20.png +%%DATADIR%%/pics/set3/21.png +%%DATADIR%%/pics/set3/22.png +%%DATADIR%%/pics/set3/23.png +%%DATADIR%%/pics/set3/24.png +%%DATADIR%%/pics/set3/25.png +%%DATADIR%%/pics/set3/26.png +%%DATADIR%%/pics/set3/27.png +%%DATADIR%%/pics/set3/28.png +%%DATADIR%%/pics/set3/29.png +%%DATADIR%%/pics/set3/3.png +%%DATADIR%%/pics/set3/30.png +%%DATADIR%%/pics/set3/4.png +%%DATADIR%%/pics/set3/5.png +%%DATADIR%%/pics/set3/6.png +%%DATADIR%%/pics/set3/7.png +%%DATADIR%%/pics/set3/8.png +%%DATADIR%%/pics/set3/9.png +%%DATADIR%%/pics/seven.png +%%DATADIR%%/pics/sg_icon.png +%%DATADIR%%/pics/shiftygames.png +%%DATADIR%%/pics/six.png +%%DATADIR%%/pics/sound_high.png +%%DATADIR%%/pics/sound_low.png +%%DATADIR%%/pics/sound_medium.png +%%DATADIR%%/pics/three.png +%%DATADIR%%/pics/two.png +%%DATADIR%%/pics/zero.png +%%DATADIR%%/sounds/cheering.ogg +%%DATADIR%%/sounds/click.ogg +%%DATADIR%%/sounds/click2.ogg +%%DATADIR%%/sounds/flip-piece.ogg +%%DATADIR%%/sounds/hit.ogg +%%DATADIR%%/sounds/hit2.ogg +%%DATADIR%%/sounds/hit3.ogg +%%DATADIR%%/sounds/miss.ogg +%%DATADIR%%/sounds/miss2.ogg +%%DATADIR%%/sounds/miss3.ogg +%%DATADIR%%/sounds/tick.ogg +@dirrm %%DATADIR%%/fonts +@dirrm %%DATADIR%%/pics/set1 +@dirrm %%DATADIR%%/pics/set2 +@dirrm %%DATADIR%%/pics/set3 +@dirrm %%DATADIR%%/pics +@dirrm %%DATADIR%%/sounds +@dirrm %%DATADIR%% |