From owner-svn-ports-all@freebsd.org Thu Mar 17 20:54:38 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6F351AD47BB; Thu, 17 Mar 2016 20:54:38 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4A4A8ACC; Thu, 17 Mar 2016 20:54:38 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u2HKsbCq057721; Thu, 17 Mar 2016 20:54:37 GMT (envelope-from feld@FreeBSD.org) Received: (from feld@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u2HKsbpG057718; Thu, 17 Mar 2016 20:54:37 GMT (envelope-from feld@FreeBSD.org) Message-Id: <201603172054.u2HKsbpG057718@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: feld set sender to feld@FreeBSD.org using -f From: Mark Felder Date: Thu, 17 Mar 2016 20:54:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r411314 - head/games/fairymax X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Mar 2016 20:54:38 -0000 Author: feld Date: Thu Mar 17 20:54:37 2016 New Revision: 411314 URL: https://svnweb.freebsd.org/changeset/ports/411314 Log: games/fairymax: Update to 5.0b PR: 207657 Modified: head/games/fairymax/Makefile head/games/fairymax/distinfo head/games/fairymax/pkg-plist Modified: head/games/fairymax/Makefile ============================================================================== --- head/games/fairymax/Makefile Thu Mar 17 20:43:27 2016 (r411313) +++ head/games/fairymax/Makefile Thu Mar 17 20:54:37 2016 (r411314) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= fairymax -PORTVERSION= 4.8V.9 +PORTVERSION= 5.0b CATEGORIES= games MASTER_SITES= http://freeheimdall.spdns.org/files/ # http://hgm.nubati.net/cgi-bin/gitweb.cgi?p=fairymax.git;a=snapshot;h=${COMMIT_HASH};sf=tgz @@ -13,46 +13,35 @@ DISTNAME= ${PORTNAME}-${COMMIT_HASH} MAINTAINER= kalten@gmx.at COMMENT= Chess engine for shatranj, courier chess, and others -CONFLICTS= fairymax-4.8[QST].* +CONFLICTS= fairymax-4.* -COMMIT_HASH= 12bd72f +COMMIT_HASH= f7a7847 -OPTIONS_DEFINE= OPTIMIZED_CFLAGS DOCS -OPTIONS_DEFAULT= OPTIMIZED_CFLAGS +OPTIONS_DEFINE= DOCS PORTDOCS= changelog copyright CVfairy.html README -PLUGINSDIR= ${PREFIX}/share/games/plugins - USES= gmake perl5 USE_PERL5= build -MAKE_ARGS+= INI_F=${DATADIR}/fmax.ini \ - INI_Q=${DATADIR}/qmax.ini - -OPTIMIZED_CFLAGS_CFLAGS= -O2 +MAKE_ARGS+= prefix= \ + bindir=${PREFIX}/bin \ + mandir=${PREFIX}/man \ + datadir= \ + plugindir=${PREFIX}/share/games/plugins \ + fairydir=${DATADIR} \ + VERSION=${PORTVERSION} post-patch: - @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ - -e 's|%%DATADIR%%|${DATADIR}|g' \ - ${WRKSRC}/fairymax.pod - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/fairymax ${STAGEDIR}${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/shamax ${STAGEDIR}${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/maxqi ${STAGEDIR}${PREFIX}/bin - @${MKDIR} ${STAGEDIR}${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/data/fmax.ini ${STAGEDIR}${DATADIR}/fmax.ini - ${INSTALL_DATA} ${WRKSRC}/data/qmax.ini ${STAGEDIR}${DATADIR}/qmax.ini - ${INSTALL_MAN} ${WRKSRC}/fairymax.6.gz ${STAGEDIR}${MAN6PREFIX}/man/man6/ - ${LN} -s ${MAN6PREFIX}/man/man6/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/shamax.6 - ${LN} -s ${MAN6PREFIX}/man/man6/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/maxqi.6 - @${MKDIR} ${STAGEDIR}${PLUGINSDIR} - @${MKDIR} ${STAGEDIR}${PLUGINSDIR}/logos - @${MKDIR} ${STAGEDIR}${PLUGINSDIR}/xboard - ${INSTALL_DATA} ${WRKSRC}/data/logo.png ${STAGEDIR}${PLUGINSDIR}/logos/fairymax.png - ${LN} -s ${PLUGINSDIR}/logos/fairymax.png ${STAGEDIR}${PLUGINSDIR}/logos/shamax.png - ${LN} -s ${PLUGINSDIR}/logos/fairymax.png ${STAGEDIR}${PLUGINSDIR}/logos/maxqi.png - ${INSTALL_DATA} ${WRKSRC}/data/*.eng ${STAGEDIR}${PLUGINSDIR}/xboard/ + @${REINPLACE_CMD} -E 's|(#define VERSION ")[^"]+(".*)|\1${PORTVERSION}\2|' \ + ${WRKSRC}/fairymax.c + @${REINPLACE_CMD} -E 's|^(prefix\|bindir\|mandir\|datadir\|plugindir\|fairydir) =|\1 ?=|' \ + ${WRKSRC}/Makefile + @${REINPLACE_CMD} -E 's|^ cp (.{srcdir}/fairymax .{srcdir}/shamax .{srcdir}/maxqi .\(DESTDIR\).\(bindir\))| ${INSTALL_PROGRAM} \1|' \ + ${WRKSRC}/Makefile + @${REINPLACE_CMD} -E 's|^ cp (.{srcdir}/data/)| ${INSTALL_DATA} \1|' \ + ${WRKSRC}/Makefile + @${REINPLACE_CMD} -E 's|^ cp (.{srcdir}/fairymax.6.gz)| ${INSTALL_MAN} \1|' \ + ${WRKSRC}/Makefile post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} Modified: head/games/fairymax/distinfo ============================================================================== --- head/games/fairymax/distinfo Thu Mar 17 20:43:27 2016 (r411313) +++ head/games/fairymax/distinfo Thu Mar 17 20:54:37 2016 (r411314) @@ -1,2 +1,2 @@ -SHA256 (fairymax-12bd72f.tar.gz) = d83444d67a9303bd1a7c7af8d5285a95e02cc9a3efd3dee6c63ec9f54a2a5768 -SIZE (fairymax-12bd72f.tar.gz) = 60492 +SHA256 (fairymax-f7a7847.tar.gz) = 1afedf536bdf29ae249e34222f47c703b1700031c603a238be6ca5ef0ab46696 +SIZE (fairymax-f7a7847.tar.gz) = 67418 Modified: head/games/fairymax/pkg-plist ============================================================================== --- head/games/fairymax/pkg-plist Thu Mar 17 20:43:27 2016 (r411313) +++ head/games/fairymax/pkg-plist Thu Mar 17 20:54:37 2016 (r411314) @@ -2,10 +2,9 @@ bin/fairymax bin/maxqi bin/shamax man/man6/fairymax.6.gz -man/man6/maxqi.6.gz -man/man6/shamax.6.gz %%DATADIR%%/fmax.ini %%DATADIR%%/qmax.ini +%%DATADIR%%/makruk.hash share/games/plugins/logos/fairymax.png share/games/plugins/logos/maxqi.png share/games/plugins/logos/shamax.png