aboutsummaryrefslogtreecommitdiffstats
path: root/games/fairymax
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2015-10-21 22:16:55 +0800
committermat <mat@FreeBSD.org>2015-10-21 22:16:55 +0800
commit57586e24faeea04497b4118103b7349eb9f27c10 (patch)
tree3d3c5c9af6f4e9bd11b562f57d084e739a41af29 /games/fairymax
parent970602f0ebf06d20bcbaac3a5e0d3dc3763952ae (diff)
downloadfreebsd-ports-gnome-57586e24faeea04497b4118103b7349eb9f27c10.tar.gz
freebsd-ports-gnome-57586e24faeea04497b4118103b7349eb9f27c10.tar.zst
freebsd-ports-gnome-57586e24faeea04497b4118103b7349eb9f27c10.zip
Update to 4.8V.9.
PR: 203687 Submitted by: maintainer Sponsored by: Absolight
Diffstat (limited to 'games/fairymax')
-rw-r--r--games/fairymax/Makefile31
-rw-r--r--games/fairymax/distinfo4
-rw-r--r--games/fairymax/pkg-plist14
3 files changed, 30 insertions, 19 deletions
diff --git a/games/fairymax/Makefile b/games/fairymax/Makefile
index 39a0a896cbe0..7d5ac976a098 100644
--- a/games/fairymax/Makefile
+++ b/games/fairymax/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= fairymax
-PORTVERSION= 4.8T
+PORTVERSION= 4.8V.9
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,26 +13,16 @@ DISTNAME= ${PORTNAME}-${COMMIT_HASH}
MAINTAINER= kalten@gmx.at
COMMENT= Chess engine for shatranj, courier chess, and others
-CONFLICTS= fairymax-4.8[QS].*
+CONFLICTS= fairymax-4.8[QST].*
-COMMIT_HASH= 7d6f28c
+COMMIT_HASH= 12bd72f
OPTIONS_DEFINE= OPTIMIZED_CFLAGS DOCS
OPTIONS_DEFAULT= OPTIMIZED_CFLAGS
PORTDOCS= changelog copyright CVfairy.html README
-DIST_SUBDIR= ${PORTNAME}
-
-PLIST_FILES= bin/${PORTNAME} \
- bin/shamax \
- bin/maxqi \
- man/man6/fairymax.6.gz \
- man/man6/shamax.6.gz \
- man/man6/maxqi.6.gz \
- %%DATADIR%%/fmax.ini \
- %%DATADIR%%/qmax.ini
-PLIST_DIRS= %%DATADIR%%
+PLUGINSDIR= ${PREFIX}/share/games/plugins
USES= gmake perl5
USE_PERL5= build
@@ -53,11 +43,18 @@ do-install:
@${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}/fmax.man ${STAGEDIR}${MAN6PREFIX}/man/man6/${PORTNAME}.6
+ ${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
-
-post-install:
+ @${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/
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
diff --git a/games/fairymax/distinfo b/games/fairymax/distinfo
index 78cef9c8e738..0dafdb4e3c07 100644
--- a/games/fairymax/distinfo
+++ b/games/fairymax/distinfo
@@ -1,2 +1,2 @@
-SHA256 (fairymax/fairymax-7d6f28c.tar.gz) = e34c08891855dae16dfa5c32171ef8265eb84389c340a565d94088610bb9281e
-SIZE (fairymax/fairymax-7d6f28c.tar.gz) = 44641
+SHA256 (fairymax-12bd72f.tar.gz) = d83444d67a9303bd1a7c7af8d5285a95e02cc9a3efd3dee6c63ec9f54a2a5768
+SIZE (fairymax-12bd72f.tar.gz) = 60492
diff --git a/games/fairymax/pkg-plist b/games/fairymax/pkg-plist
new file mode 100644
index 000000000000..d0654f1264c2
--- /dev/null
+++ b/games/fairymax/pkg-plist
@@ -0,0 +1,14 @@
+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
+share/games/plugins/logos/fairymax.png
+share/games/plugins/logos/maxqi.png
+share/games/plugins/logos/shamax.png
+share/games/plugins/xboard/fairymax.eng
+share/games/plugins/xboard/maxqi.eng
+share/games/plugins/xboard/shamax.eng