Date: Thu, 17 Mar 2016 20:54:37 +0000 (UTC) From: Mark Felder <feld@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r411314 - head/games/fairymax Message-ID: <201603172054.u2HKsbpG057718@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603172054.u2HKsbpG057718>