diff options
author | William Grzybowski <wg@FreeBSD.org> | 2013-10-26 16:17:33 +0000 |
---|---|---|
committer | William Grzybowski <wg@FreeBSD.org> | 2013-10-26 16:17:33 +0000 |
commit | 25d7a47c1b308accac9c3d4b960b42d92ad1e3e0 (patch) | |
tree | 741ed0dc9467d8f0842b4c3208a5b6c6340f5871 /games/stockfish | |
parent | dc4a2bb21c158a0f6740c1c65368a954ecb1f4c3 (diff) | |
download | ports-25d7a47c1b308accac9c3d4b960b42d92ad1e3e0.tar.gz ports-25d7a47c1b308accac9c3d4b960b42d92ad1e3e0.zip |
Notes
Diffstat (limited to 'games/stockfish')
-rw-r--r-- | games/stockfish/Makefile | 26 | ||||
-rw-r--r-- | games/stockfish/distinfo | 4 |
2 files changed, 13 insertions, 17 deletions
diff --git a/games/stockfish/Makefile b/games/stockfish/Makefile index b5a963bbb003..dd2575803458 100644 --- a/games/stockfish/Makefile +++ b/games/stockfish/Makefile @@ -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 PROFILE_BUILD 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> diff --git a/games/stockfish/distinfo b/games/stockfish/distinfo index 14e6922d718f..3d8d45fde858 100644 --- a/games/stockfish/distinfo +++ b/games/stockfish/distinfo @@ -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 |