diff options
-rw-r--r-- | games/fruit/DESCR | 12 | ||||
-rw-r--r-- | games/fruit/MESSAGE | 6 | ||||
-rw-r--r-- | games/fruit/Makefile | 20 | ||||
-rw-r--r-- | games/fruit/PLIST | 2 | ||||
-rw-r--r-- | games/fruit/distinfo | 6 | ||||
-rw-r--r-- | games/fruit/patches/patch-aa | 41 |
6 files changed, 87 insertions, 0 deletions
diff --git a/games/fruit/DESCR b/games/fruit/DESCR new file mode 100644 index 00000000000..0734723590f --- /dev/null +++ b/games/fruit/DESCR @@ -0,0 +1,12 @@ +Fruit is a chess engine. If you seek maximum playing strength, Fruit is +your choice! + +Fruit is vice world computer chess champion 2005 and one of the +strongest chess programs in the world. + +Fruit has a unique playing style, making it a good addition to any +chess-engine collection. + +Fruit comes with a customised opening book and has many features which +make it interesting especially for the engine enthusiast and serious +correspondence player. diff --git a/games/fruit/MESSAGE b/games/fruit/MESSAGE new file mode 100644 index 00000000000..ee983dc32e8 --- /dev/null +++ b/games/fruit/MESSAGE @@ -0,0 +1,6 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 2006/10/02 20:05:20 rillig Exp $ + +To use games/fruit with xboard, you need to install games/polyglot. + +=========================================================================== diff --git a/games/fruit/Makefile b/games/fruit/Makefile new file mode 100644 index 00000000000..288edab14e4 --- /dev/null +++ b/games/fruit/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/10/02 20:05:20 rillig Exp $ +# + +DISTNAME= fruit_21_linux +PKGNAME= fruit-2.1 +CATEGORIES= games +MASTER_SITES= http://arctrix.com/nas/fruit/ +EXTRACT_SUFX= .zip + +MAINTAINER= rillig@NetBSD.org +HOMEPAGE= http://arctrix.com/nas/fruit/ +COMMENT= Chess playing engine + +BUILD_DIRS= src +USE_LANGUAGES= c++ + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/fruit ${PREFIX}/bin/fruit + +.include "../../mk/bsd.pkg.mk" diff --git a/games/fruit/PLIST b/games/fruit/PLIST new file mode 100644 index 00000000000..6537eb69e3e --- /dev/null +++ b/games/fruit/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/10/02 20:05:20 rillig Exp $ +bin/fruit diff --git a/games/fruit/distinfo b/games/fruit/distinfo new file mode 100644 index 00000000000..387f6fa6b22 --- /dev/null +++ b/games/fruit/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/10/02 20:05:20 rillig Exp $ + +SHA1 (fruit_21_linux.zip) = 7bb23a7871ab3d6e152631dab86051dbba615c57 +RMD160 (fruit_21_linux.zip) = 05fb30041ee85540769c1d0ed6a439caac0d8698 +Size (fruit_21_linux.zip) = 716762 bytes +SHA1 (patch-aa) = b25d8bfa33c5bbb57a6016a255a089acb80f30bc diff --git a/games/fruit/patches/patch-aa b/games/fruit/patches/patch-aa new file mode 100644 index 00000000000..9168363b071 --- /dev/null +++ b/games/fruit/patches/patch-aa @@ -0,0 +1,41 @@ +$NetBSD: patch-aa,v 1.1.1.1 2006/10/02 20:05:20 rillig Exp $ + +--- src/Makefile.orig 2005-06-17 09:41:34.000000000 +0200 ++++ src/Makefile 2006-08-28 12:49:40.000000000 +0200 +@@ -11,7 +11,7 @@ OBJS = attack.o board.o book.o eval.o fe + + # rules + +-all: $(EXE) .depend ++all: $(EXE) + + clean: + $(RM) *.o .depend gmon.out +@@ -19,8 +19,7 @@ clean: + # general + + CXX = g++ +-CXXFLAGS = -pipe +-LDFLAGS = -lm ++LDFLAGS += -lm + + # C++ + +@@ -32,17 +31,7 @@ CXXFLAGS += -O3 -fstrict-aliasing + CXXFLAGS += -fomit-frame-pointer + # CXXFLAGS += -march=athlon-xp # SELECT ME + +-# strip +- +-LDFLAGS += -s +- + # dependencies + + $(EXE): $(OBJS) + $(CXX) $(LDFLAGS) -o $@ $(OBJS) +- +-.depend: +- $(CXX) -MM $(OBJS:.o=.cpp) > $@ +- +-include .depend +- |