aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-09-21 00:50:31 +0800
committerpawel <pawel@FreeBSD.org>2014-09-21 00:50:31 +0800
commit5f8856eaf199e133f5bc3527218ff1e48cbd092f (patch)
treeb85b7784590d5ae3048073094b68636bc1f71594 /games
parentc66de5bfd5ff154dcb6b9645b4e94c9ead4143c2 (diff)
downloadfreebsd-ports-gnome-5f8856eaf199e133f5bc3527218ff1e48cbd092f.tar.gz
freebsd-ports-gnome-5f8856eaf199e133f5bc3527218ff1e48cbd092f.tar.zst
freebsd-ports-gnome-5f8856eaf199e133f5bc3527218ff1e48cbd092f.zip
- Update to version 4.8T
- Add DOCS option PR: ports/193544 Submitted by: maintainer
Diffstat (limited to 'games')
-rw-r--r--games/fairymax/Makefile20
-rw-r--r--games/fairymax/distinfo4
-rw-r--r--games/fairymax/pkg-descr2
3 files changed, 18 insertions, 8 deletions
diff --git a/games/fairymax/Makefile b/games/fairymax/Makefile
index 93d958d16d51..39a0a896cbe0 100644
--- a/games/fairymax/Makefile
+++ b/games/fairymax/Makefile
@@ -2,20 +2,26 @@
# $FreeBSD$
PORTNAME= fairymax
-PORTVERSION= 4.8S.6
+PORTVERSION= 4.8T
CATEGORIES= games
MASTER_SITES= http://freeheimdall.spdns.org/files/
-DISTNAME= ${PORTNAME}-0e4813b
-# http://hgm.nubati.net/cgi-bin/gitweb.cgi?p=fairymax.git;a=snapshot;h=0e4813b1b6dbb8a2a85c5b6a42486cfa52724d68;sf=tgz
+# http://hgm.nubati.net/cgi-bin/gitweb.cgi?p=fairymax.git;a=snapshot;h=${COMMIT_HASH};sf=tgz
+# http://hgm.nubati.net/cgi-bin/gitweb.cgi/fairymax.git/snapshot/${COMMIT_HASH}
+# but sha256 changes, as creation date of *.tar inside *.tar.gz changes.
+DISTNAME= ${PORTNAME}-${COMMIT_HASH}
MAINTAINER= kalten@gmx.at
COMMENT= Chess engine for shatranj, courier chess, and others
-CONFLICTS= fairymax-4.8Q.*
+CONFLICTS= fairymax-4.8[QS].*
-OPTIONS_DEFINE= OPTIMIZED_CFLAGS
+COMMIT_HASH= 7d6f28c
+
+OPTIONS_DEFINE= OPTIMIZED_CFLAGS DOCS
OPTIONS_DEFAULT= OPTIMIZED_CFLAGS
+PORTDOCS= changelog copyright CVfairy.html README
+
DIST_SUBDIR= ${PORTNAME}
PLIST_FILES= bin/${PORTNAME} \
@@ -51,4 +57,8 @@ do-install:
${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}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
.include <bsd.port.mk>
diff --git a/games/fairymax/distinfo b/games/fairymax/distinfo
index ae732c338422..78cef9c8e738 100644
--- a/games/fairymax/distinfo
+++ b/games/fairymax/distinfo
@@ -1,2 +1,2 @@
-SHA256 (fairymax/fairymax-0e4813b.tar.gz) = b76e91bc08b01ec6e2fcd1641c835c313261826a649d69dc132e9b74746e6a1b
-SIZE (fairymax/fairymax-0e4813b.tar.gz) = 44430
+SHA256 (fairymax/fairymax-7d6f28c.tar.gz) = e34c08891855dae16dfa5c32171ef8265eb84389c340a565d94088610bb9281e
+SIZE (fairymax/fairymax-7d6f28c.tar.gz) = 44641
diff --git a/games/fairymax/pkg-descr b/games/fairymax/pkg-descr
index 6a65df4c76b8..a2aa277b1040 100644
--- a/games/fairymax/pkg-descr
+++ b/games/fairymax/pkg-descr
@@ -6,5 +6,5 @@ ted. This version supports up to 15 piece types, and board sizes upto
You can use it e.g. with games/xboard/:
e.g.: xboard -boardSize Middling -variant courier -fcp fairymax
-GIT: http://hgm.nubati.net/cgi-bin/gitweb.cgi?p=fairymax.git
+GIT: http://hgm.nubati.net/cgi-bin/gitweb.cgi/fairymax.git
WWW: http://www.chessvariants.org/index/msdisplay.php?itemid=MSfairy-max