Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2013 16:17:33 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r331711 - head/games/stockfish
Message-ID:  <201310261617.r9QGHXxj034740@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Sat Oct 26 16:17:33 2013
New Revision: 331711
URL: http://svnweb.freebsd.org/changeset/ports/331711

Log:
  games/stockfish: update to 4
  
  - Update to 4 [1]
  - Allow staging
  
  PR:		ports/182769 [1]
  Submitted by:	Gautam Mani <execve gmail.com> (maintainer)

Modified:
  head/games/stockfish/Makefile
  head/games/stockfish/distinfo

Modified: head/games/stockfish/Makefile
==============================================================================
--- head/games/stockfish/Makefile	Sat Oct 26 16:14:04 2013	(r331710)
+++ head/games/stockfish/Makefile	Sat Oct 26 16:17:33 2013	(r331711)
@@ -2,14 +2,14 @@
 # $FreeBSD$
 
 PORTNAME=	stockfish
-PORTVERSION=	3
+PORTVERSION=	4
 CATEGORIES=	games
-MASTER_SITES=	http://cl.ly/2n1O3h2d3u2W/download/:src \
+MASTER_SITES=	https://s3.amazonaws.com/stockfish/:src \
 		http://www.execve.net/sf/:src \
 		http://cl.ly/3x333m0G173F/download/:book \
 		http://www.execve.net/sf/:book
-DISTNAME=	stockfish-${PORTVERSION:S/.//g}-linux
-DISTFILES=	stockfish-${PORTVERSION:S/.//g}-linux.zip:src \
+DISTNAME=	stockfish-${PORTVERSION:S/.//g}-win
+DISTFILES=	stockfish-${PORTVERSION:S/.//g}-win.zip:src \
 		stockfish-231-book.zip:book
 
 MAINTAINER=	execve@gmail.com
@@ -22,7 +22,7 @@ WRKSRC=		${WRKDIR}/${DISTNAME}/src
 USES=		gmake
 MYARCH=		${ARCH}
 BOOKDIR=	.
-PORTDOCS=	Readme.txt polyglot.ini
+PORTDOCS=	Readme.md polyglot.ini
 PORTDATA=	Book.bin
 FETCH_ARGS=	-Fpr
 
@@ -39,7 +39,6 @@ OPTIONS_DEFINE=	DOCS POPCNT_ENABLED PROF
 POPCNT_ENABLED_DESC=	Use the POPCNT instruction
 PROFILE_BUILD_DESC=	Make a Profile build
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MPROFILE_BUILD}
@@ -78,17 +77,14 @@ post-patch:
 	@${REINPLACE_CMD} -e "s/^PREFIX =/PREFIX ?=/" ${WRKSRC}/Makefile
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/stockfish ${PREFIX}/bin/stockfish
+	${INSTALL_PROGRAM} ${WRKSRC}/stockfish ${STAGEDIR}${PREFIX}/bin/stockfish
 
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/Readme.txt ${DOCSDIR}
-	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/polyglot.ini ${DOCSDIR}
-.endif
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/Readme.md ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/polyglot.ini ${STAGEDIR}${DOCSDIR}
 .if !defined(NOPORTDATA)
-	${MKDIR} ${DATADIR}
-	${INSTALL_DATA} ${WRKDIR}/${BOOKDIR}/${PORTDATA} ${DATADIR}
+	${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKDIR}/${BOOKDIR}/${PORTDATA} ${STAGEDIR}${DATADIR}/
 .endif
 
 .include <bsd.port.post.mk>

Modified: head/games/stockfish/distinfo
==============================================================================
--- head/games/stockfish/distinfo	Sat Oct 26 16:14:04 2013	(r331710)
+++ head/games/stockfish/distinfo	Sat Oct 26 16:17:33 2013	(r331711)
@@ -1,4 +1,4 @@
-SHA256 (stockfish-3-linux.zip) = ccae1ae491eba86f02e10891f4b110007bd97f5e2a71871ca895f309d5031019
-SIZE (stockfish-3-linux.zip) = 807403
+SHA256 (stockfish-4-win.zip) = dcd66a81c21380f18623d54f966fc69476a86c8d5ab667e2b138aa2e4ebb3487
+SIZE (stockfish-4-win.zip) = 1839577
 SHA256 (stockfish-231-book.zip) = 07ee06bcd3fe1c5e0d90a2d0aede8bac2dd31d52fb4e1c9bc477bb5a8939e414
 SIZE (stockfish-231-book.zip) = 3479786



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310261617.r9QGHXxj034740>