Tsito plays XiangQi (Chinese Chess) against the user or it referees two

players. It can be used on the console (or an xterm) or can communicate through
pipes to a GUI frontend. If used in a console it uses ASCII characters to
display the board on the screen.

PR:		ports/72705
Submitted by:	Kuang-che Wu <kcwu@csie.org>
This commit is contained in:
Pav Lucistnik 2004-10-15 23:49:06 +00:00
parent 4f15f0b1f7
commit 9ecfab52b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=119542
6 changed files with 51 additions and 0 deletions

View file

@ -462,6 +462,7 @@
SUBDIR += traindirector
SUBDIR += trojka
SUBDIR += trophy
SUBDIR += tsito
SUBDIR += tt
SUBDIR += ttraffic
SUBDIR += tux-aqfh

23
games/tsito/Makefile Normal file
View file

@ -0,0 +1,23 @@
# New ports collection makefile for: tsito
# Date created: 14 Oct 2004
# Whom: Kuang-che Wu <kcwu@csie.org>
#
# $FreeBSD$
#
PORTNAME= tsito
PORTVERSION= 0.8.4
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= xiangqi-engine
MAINTAINER= ports@FreeBSD.org
COMMENT= A Chinese chess (Xiangqi) program
HAS_CONFIGURE= yes
CONFIGURE_ENV= LIBS="-lcompat"
CONFIGURE_ARGS= --prefix="${PREFIX}"
MAN1= tsito.1
.include <bsd.port.mk>

2
games/tsito/distinfo Normal file
View file

@ -0,0 +1,2 @@
MD5 (tsito-0.8.4.tar.gz) = 198b7313067959f7530d569ca9b48a1e
SIZE (tsito-0.8.4.tar.gz) = 184809

View file

@ -0,0 +1,11 @@
--- src/Interface.cpp.orig Mon Jun 9 21:07:05 2003
+++ src/Interface.cpp Sat Oct 16 01:43:23 2004
@@ -5,6 +5,8 @@
#include <windows.h>
#include <conio.h>
#else
+#include <sys/types.h>
+#include <sys/time.h>
#include <sys/select.h>
#include <unistd.h>
#endif

11
games/tsito/pkg-descr Normal file
View file

@ -0,0 +1,11 @@
Tsito plays XiangQi (Chinese Chess) against the user or it referees two
players. It can be used on the console (or an xterm) or can communicate through
pipes to a GUI frontend. If used in a console it uses ASCII characters to
display the board on the screen.
'tsito', stands for "The Secret Inside The Orange".
WWW: http://xiangqi-engine.sourceforge.net/
- Kuang-che Wu
kcwu@csie.org

3
games/tsito/pkg-plist Normal file
View file

@ -0,0 +1,3 @@
bin/tsito
%%DATADIR%%/book.dat
@dirrm share/tsito