svn commit: r368663 - head/games/fairymax

Pawel Pekala pawel at FreeBSD.org
Sat Sep 20 16:50:32 UTC 2014


Author: pawel
Date: Sat Sep 20 16:50:31 2014
New Revision: 368663
URL: http://svnweb.freebsd.org/changeset/ports/368663
QAT: https://qat.redports.org/buildarchive/r368663/

Log:
  - Update to version 4.8T
  - Add DOCS option
  
  PR:		ports/193544
  Submitted by:	maintainer

Modified:
  head/games/fairymax/Makefile
  head/games/fairymax/distinfo
  head/games/fairymax/pkg-descr

Modified: head/games/fairymax/Makefile
==============================================================================
--- head/games/fairymax/Makefile	Sat Sep 20 16:42:04 2014	(r368662)
+++ head/games/fairymax/Makefile	Sat Sep 20 16:50:31 2014	(r368663)
@@ -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 at 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>

Modified: head/games/fairymax/distinfo
==============================================================================
--- head/games/fairymax/distinfo	Sat Sep 20 16:42:04 2014	(r368662)
+++ head/games/fairymax/distinfo	Sat Sep 20 16:50:31 2014	(r368663)
@@ -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

Modified: head/games/fairymax/pkg-descr
==============================================================================
--- head/games/fairymax/pkg-descr	Sat Sep 20 16:42:04 2014	(r368662)
+++ head/games/fairymax/pkg-descr	Sat Sep 20 16:50:31 2014	(r368663)
@@ -6,5 +6,5 @@ ted. This version supports up to 15 piec
 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


More information about the svn-ports-all mailing list