Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  3 Oct 2005 04:05:55 +0400 (MSD)
From:      Dmitry Marakasov <amdmi3@mail.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/86846: New port: games/biloba A strategy board game for 2 to 4 players
Message-ID:  <20051003000555.5EF5D31B8@hades.panopticon>
Resent-Message-ID: <200510030010.j930AGec086765@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         86846
>Category:       ports
>Synopsis:       New port: games/biloba A strategy board game for 2 to 4 players
>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:   Mon Oct 03 00:10:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 5.4-RELEASE-p7 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 5.4-RELEASE-p7 FreeBSD 5.4-RELEASE-p7 #4: Mon Sep 12 01:19:38 MSD 2005 amdmi3@hades.panopticon:/usr/obj/usr/src/sys/HADES i386

>Description:
Biloba is a turn-based game for 2 to 4 players. Each player moves
pawns on a hexagonal board and attempts to eliminate opponents'
pawns. Biloba includes an AI opponent, and supports local or network
play.

WWW: http://sourceforge.net/projects/biloba

Biloba homepage, in French:
WWW: http://perso.wanadoo.fr/biloba

- Dmitry Marakasov <amdmi3@mail.ru>

>How-To-Repeat:
>Fix:

--- biloba-0.3.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:
#
#	biloba
#	biloba/Makefile
#	biloba/pkg-plist
#	biloba/distinfo
#	biloba/pkg-descr
#	biloba/files
#	biloba/files/patch-src::util.c
#	biloba/files/patch-src::keyboard.c
#	biloba/files/patch-src::player.c
#
echo c - biloba
mkdir -p biloba > /dev/null 2>&1
echo x - biloba/Makefile
sed 's/^X//' >biloba/Makefile << 'END-of-biloba/Makefile'
X# New ports collection makefile for:	biloba
X# Date created:		02 Oct 2005
X# Whom:			Dmitry Marakasov <amdmi3@mail.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	biloba
XPORTVERSION=	0.3
XCATEGORIES=	games
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	biloba
X
XMAINTAINER=	amdmi3@mail.ru
XCOMMENT=	A strategy board game for 2 to 4 players
X
XUSE_SDL=	image sdl
XUSE_GMAKE=	yes
XGNU_CONFIGURE=	yes
X
X.include <bsd.port.mk>
END-of-biloba/Makefile
echo x - biloba/pkg-plist
sed 's/^X//' >biloba/pkg-plist << 'END-of-biloba/pkg-plist'
Xbin/biloba
X%%DATADIR%%/en/2play.png
X%%DATADIR%%/en/3play.png
X%%DATADIR%%/en/4play.png
X%%DATADIR%%/en/aide1.png
X%%DATADIR%%/en/aide2.png
X%%DATADIR%%/en/aide3.png
X%%DATADIR%%/en/aide4.png
X%%DATADIR%%/en/aide5.png
X%%DATADIR%%/en/aide6.png
X%%DATADIR%%/en/arrow-down-left.png
X%%DATADIR%%/en/arrow-down.png
X%%DATADIR%%/en/arrow-down-right.png
X%%DATADIR%%/en/arrow-left.png
X%%DATADIR%%/en/arrow-right.png
X%%DATADIR%%/en/arrow-up-left.png
X%%DATADIR%%/en/arrow-up.png
X%%DATADIR%%/en/arrow-up-right.png
X%%DATADIR%%/en/biloba-title.png
X%%DATADIR%%/en/black-highlighter.png
X%%DATADIR%%/en/border.png
X%%DATADIR%%/en/fr.png
X%%DATADIR%%/en/computer.png
X%%DATADIR%%/en/create-game.png
X%%DATADIR%%/en/cursor.png
X%%DATADIR%%/en/demo.png
X%%DATADIR%%/en/empty_200_40.png
X%%DATADIR%%/en/empty_200_50.png
X%%DATADIR%%/en/empty_40_40.png
X%%DATADIR%%/en/font.png
X%%DATADIR%%/en/game-name.png
X%%DATADIR%%/en/help.png
X%%DATADIR%%/en/highlighter.png
X%%DATADIR%%/en/join-game.png
X%%DATADIR%%/en/local.png
X%%DATADIR%%/en/network-games.png
X%%DATADIR%%/en/nplay.png
X%%DATADIR%%/en/pawn-blue.png
X%%DATADIR%%/en/pawn-green.png
X%%DATADIR%%/en/pawn-highlighter.png
X%%DATADIR%%/en/pawn-orange.png
X%%DATADIR%%/en/pawn-red.png
X%%DATADIR%%/en/player.png
X%%DATADIR%%/en/en.png
X%%DATADIR%%/en/reseau.png
X%%DATADIR%%/en/start.png
X%%DATADIR%%/en/tile-center.png
X%%DATADIR%%/en/tile-down-left.png
X%%DATADIR%%/en/tile-down-right.png
X%%DATADIR%%/en/tile-no-tile.png
X%%DATADIR%%/en/tile.png
X%%DATADIR%%/en/tile-up-left.png
X%%DATADIR%%/en/tile-up-right.png
X%%DATADIR%%/fr/2play.png
X%%DATADIR%%/fr/3play.png
X%%DATADIR%%/fr/4play.png
X%%DATADIR%%/fr/aide1.png
X%%DATADIR%%/fr/aide2.png
X%%DATADIR%%/fr/aide3.png
X%%DATADIR%%/fr/aide4.png
X%%DATADIR%%/fr/aide5.png
X%%DATADIR%%/fr/aide6.png
X%%DATADIR%%/fr/arrow-down-left.png
X%%DATADIR%%/fr/arrow-down.png
X%%DATADIR%%/fr/arrow-down-right.png
X%%DATADIR%%/fr/arrow-left.png
X%%DATADIR%%/fr/arrow-right.png
X%%DATADIR%%/fr/arrow-up-left.png
X%%DATADIR%%/fr/arrow-up.png
X%%DATADIR%%/fr/arrow-up-right.png
X%%DATADIR%%/fr/biloba-title.png
X%%DATADIR%%/fr/black-highlighter.png
X%%DATADIR%%/fr/border.png
X%%DATADIR%%/fr/fr.png
X%%DATADIR%%/fr/computer.png
X%%DATADIR%%/fr/create-game.png
X%%DATADIR%%/fr/cursor.png
X%%DATADIR%%/fr/demo.png
X%%DATADIR%%/fr/empty_200_40.png
X%%DATADIR%%/fr/empty_200_50.png
X%%DATADIR%%/fr/empty_40_40.png
X%%DATADIR%%/fr/font.png
X%%DATADIR%%/fr/game-name.png
X%%DATADIR%%/fr/help.png
X%%DATADIR%%/fr/highlighter.png
X%%DATADIR%%/fr/join-game.png
X%%DATADIR%%/fr/local.png
X%%DATADIR%%/fr/network-games.png
X%%DATADIR%%/fr/nplay.png
X%%DATADIR%%/fr/pawn-blue.png
X%%DATADIR%%/fr/pawn-green.png
X%%DATADIR%%/fr/pawn-highlighter.png
X%%DATADIR%%/fr/pawn-orange.png
X%%DATADIR%%/fr/pawn-red.png
X%%DATADIR%%/fr/player.png
X%%DATADIR%%/fr/en.png
X%%DATADIR%%/fr/reseau.png
X%%DATADIR%%/fr/start.png
X%%DATADIR%%/fr/tile-center.png
X%%DATADIR%%/fr/tile-down-left.png
X%%DATADIR%%/fr/tile-down-right.png
X%%DATADIR%%/fr/tile-no-tile.png
X%%DATADIR%%/fr/tile.png
X%%DATADIR%%/fr/tile-up-left.png
X%%DATADIR%%/fr/tile-up-right.png
X@dirrm %%DATADIR%%/en
X@dirrm %%DATADIR%%/fr
X@dirrm %%DATADIR%%
END-of-biloba/pkg-plist
echo x - biloba/distinfo
sed 's/^X//' >biloba/distinfo << 'END-of-biloba/distinfo'
XMD5 (biloba-0.3.tar.gz) = a2d1d989b8de7d430fc0d0db0ce51df4
XSIZE (biloba-0.3.tar.gz) = 1406467
END-of-biloba/distinfo
echo x - biloba/pkg-descr
sed 's/^X//' >biloba/pkg-descr << 'END-of-biloba/pkg-descr'
XBiloba is a turn-based game for 2 to 4 players. Each player moves
Xpawns on a hexagonal board and attempts to eliminate opponents'
Xpawns. Biloba includes an AI opponent, and supports local or network
Xplay.
X
XWWW: http://sourceforge.net/projects/biloba
X
XBiloba homepage, in French:
XWWW: http://perso.wanadoo.fr/biloba
X
X- Dmitry Marakasov <amdmi3@mail.ru>
END-of-biloba/pkg-descr
echo c - biloba/files
mkdir -p biloba/files > /dev/null 2>&1
echo x - biloba/files/patch-src::util.c
sed 's/^X//' >biloba/files/patch-src::util.c << 'END-of-biloba/files/patch-src::util.c'
X--- src/utils.c.orig	Sat Sep 24 23:02:41 2005
X+++ src/utils.c	Sun Oct  2 23:53:53 2005
X@@ -239,7 +239,6 @@
X }
X #endif
X 
X-#define DEBUG_IMG_LOAD
X static SDL_Surface *load_image_prefix(const char *prefix, const char *name)
X {
X 	SDL_Surface *surface = NULL;
END-of-biloba/files/patch-src::util.c
echo x - biloba/files/patch-src::keyboard.c
sed 's/^X//' >biloba/files/patch-src::keyboard.c << 'END-of-biloba/files/patch-src::keyboard.c'
X--- src/keyboard.c.orig	Fri Sep 23 15:45:22 2005
X+++ src/keyboard.c	Mon Oct  3 03:52:28 2005
X@@ -60,8 +60,8 @@
X 	int mcode = 0;
X 	SDL_LockMutex(keyb_mutex);
X 	if (event_list) {
X-		mcode = (int)event_list->data;
X 		LList *next = event_list->next;
X+		mcode = (int)event_list->data;
X 		free(event_list);
X 		event_list = next;
X #ifdef DEBUG
END-of-biloba/files/patch-src::keyboard.c
echo x - biloba/files/patch-src::player.c
sed 's/^X//' >biloba/files/patch-src::player.c << 'END-of-biloba/files/patch-src::player.c'
X--- src/player.c.orig	Fri Sep 23 19:09:02 2005
X+++ src/player.c	Mon Oct  3 03:53:01 2005
X@@ -259,6 +259,7 @@
X {
X 	int i;
X 	char *msg;
X+	char num[2] = {((int)player->color)+1+'0', 0};
X 	for (i = 0; i < game_num_players(); i++) {
X 		LList *pawns = pawn_get_all((PawnColor)i);
X 		for (; pawns; pawns = pawns->next) {
X@@ -268,7 +269,6 @@
X 		}
X 		pawn_show_eaten();
X 	}
X-	char num[2] = {((int)player->color)+1+'0', 0};
X 	if (player->name == NULL) {
X 		msg = malloc(strlen(get_msg(M_PLAYER_LEAVES))+1);
X 		strcpy(msg, get_msg(M_PLAYER));
END-of-biloba/files/patch-src::player.c
exit
--- biloba-0.3.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?20051003000555.5EF5D31B8>