Date: Sun, 7 Aug 2011 06:51:58 GMT From: Gautam Mani <execve@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/159575: Port submission: stockfish Message-ID: <201108070651.p776pwkd017872@red.freebsd.org> Resent-Message-ID: <201108070700.p7770KsJ051968@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 159575 >Category: ports >Synopsis: Port submission: stockfish >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Aug 07 07:00:20 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Gautam Mani >Release: FreeBSD 8.2-RELEASE i386 >Organization: NA >Environment: FreeBSD mybox.localdomain 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: Hi, I request you to add the stockfish chess engine to the ports/games tree. Stockfish has become a very popular open source UCI Chess engine in recent years, and a freebsd port would be useful for more persons to start using them. This is my first ports submission; I have gone through all the steps documented in the Porters Handbook and also made multiple tests on my system, so I dont think there should be a problem. If there is, please let me know and I will try to fix it ASAP. I am including the .shar file as required. Looking forward to hearing from you soon. Cheers Gautam >How-To-Repeat: NA >Fix: NA Patch attached with submission follows: # 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: # # stockfish # stockfish/Makefile # stockfish/distinfo # stockfish/pkg-descr # stockfish/pkg-plist # echo c - stockfish mkdir -p stockfish > /dev/null 2>&1 echo x - stockfish/Makefile sed 's/^X//' >stockfish/Makefile << 'addb2075504fc24f814ddf5724d70d19' X# New ports collection makefile for: stockfish X# Date created: Apr 21 2011 X# Whom: execve X# X# $FreeBSD$ X# X XPORTNAME= stockfish XPORTVERSION= 2.1.1 XCATEGORIES= games XMASTER_SITES= http://f.cl.ly/items/3E1y252w3q0R3C050k01/:src XDISTFILES= stockfish-211-ja.zip:src XDIST_SUBDIR= stockfish-211-ja XEXTRACT_ONLY= stockfish-211-ja.zip X XMAINTAINER= execve@gmail.com XCOMMENT= Stockfish - Open source chess engine X XUSE_ZIP= yes XWRKSRC= ${WRKDIR}/${DIST_SUBDIR}/src XUSE_GMAKE= yes XMYARCH= ${ARCH} X XALL_TARGET= build ARCH=${MYARCH} X X.include <bsd.port.pre.mk> X X# workaround the ARCH usage in the stockfish Makefile X.if ${MYARCH} == "i386" XMYARCH= x86-32 XALL_TARGET= build ARCH=${MYARCH} X.endif X X.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64" XBROKEN= Does not compile on ia64, powerpc, or sparc64 X.endif X Xpost-extract: X Xpost-build: X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/stockfish ${PREFIX}/bin/stockfish X ${CHOWN} root:nogroup ${PREFIX}/bin/stockfish X ${MKDIR} ${PREFIX}/share/doc/stockfish X ${CHOWN} root:nogroup ${PREFIX}/share/doc/stockfish X ${CHMOD} 775 ${PREFIX}/share/doc/stockfish X ${INSTALL_DATA} ${WRKDIR}/${DIST_SUBDIR}/Readme.txt ${PREFIX}/share/doc/stockfish/Readme.txt X ${INSTALL_DATA} ${WRKDIR}/${DIST_SUBDIR}/polyglot.ini ${PREFIX}/share/doc/stockfish/polyglot.ini X Xpost-install: X X.include <bsd.port.post.mk> addb2075504fc24f814ddf5724d70d19 echo x - stockfish/distinfo sed 's/^X//' >stockfish/distinfo << '115dabcfb9e4404790a92e8e33845d66' XSHA256 (stockfish-211-ja/stockfish-211-ja.zip) = bbc01a873183d213903260e4262fbee3cc79f51c62a601fce6b66a405b13d93a XSIZE (stockfish-211-ja/stockfish-211-ja.zip) = 2623630 115dabcfb9e4404790a92e8e33845d66 echo x - stockfish/pkg-descr sed 's/^X//' >stockfish/pkg-descr << '4608d7a6d9e994e4e3ef5f11d75a85dc' XStockfish is an open-source UCI chess engine based on Glaurung. XStockfish is an alpha-beta searcher and uses a bitboard representation. X XStockfish is free and uses the GPL license. You can download, read, Xand modify the source code. X XWWW: http://www.stockfishchess.com/ XMaintainer: Gautam Mani <execve@gmail.com> 4608d7a6d9e994e4e3ef5f11d75a85dc echo x - stockfish/pkg-plist sed 's/^X//' >stockfish/pkg-plist << 'ada00544935c7b3826c38df6660abf41' Xbin/stockfish Xshare/doc/stockfish/Readme.txt Xshare/doc/stockfish/polyglot.ini ada00544935c7b3826c38df6660abf41 exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108070651.p776pwkd017872>