From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Aug 7 07:00:20 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6A3F106564A for ; Sun, 7 Aug 2011 07:00:20 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C4A408FC15 for ; Sun, 7 Aug 2011 07:00:20 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p7770KaJ051976 for ; Sun, 7 Aug 2011 07:00:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p7770KsJ051968; Sun, 7 Aug 2011 07:00:20 GMT (envelope-from gnats) Resent-Date: Sun, 7 Aug 2011 07:00:20 GMT Resent-Message-Id: <201108070700.p7770KsJ051968@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Gautam Mani Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06798106566C for ; Sun, 7 Aug 2011 06:51:59 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id E08F68FC0C for ; Sun, 7 Aug 2011 06:51:58 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p776pw98017873 for ; Sun, 7 Aug 2011 06:51:58 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p776pwkd017872; Sun, 7 Aug 2011 06:51:58 GMT (envelope-from nobody) Message-Id: <201108070651.p776pwkd017872@red.freebsd.org> Date: Sun, 7 Aug 2011 06:51:58 GMT From: Gautam Mani To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/159575: Port submission: stockfish X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Aug 2011 07:00:21 -0000 >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 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 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 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: