svn commit: r329626 - in head/games: . hoichess
Johan van Selst
johans at FreeBSD.org
Sun Oct 6 19:43:15 UTC 2013
Author: johans
Date: Sun Oct 6 19:43:13 2013
New Revision: 329626
URL: http://svnweb.freebsd.org/changeset/ports/329626
Log:
HoiChess is an xboard compatible chess engine. HoiChess plays
at easier levels than most modern engines, making chess games
actually winnable for regular human beings.
WWW: http://www.hoicher.de/hoichess
Added:
head/games/hoichess/
head/games/hoichess/Makefile (contents, props changed)
head/games/hoichess/distinfo (contents, props changed)
head/games/hoichess/pkg-descr (contents, props changed)
head/games/hoichess/pkg-plist (contents, props changed)
Modified:
head/games/Makefile
Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile Sun Oct 6 19:02:37 2013 (r329625)
+++ head/games/Makefile Sun Oct 6 19:43:13 2013 (r329626)
@@ -387,6 +387,7 @@
SUBDIR += hlstats
SUBDIR += hlstatsx
SUBDIR += hohlin
+ SUBDIR += hoichess
SUBDIR += holotz-castle
SUBDIR += icbm3d
SUBDIR += icebreaker
Added: head/games/hoichess/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/hoichess/Makefile Sun Oct 6 19:43:13 2013 (r329626)
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+PORTNAME= hoichess
+PORTVERSION= 0.12.1
+CATEGORIES= games
+MASTER_SITES= http://www.hoicher.de/hoichess/download/ \
+ ftp://ftp.stack.nl/pub/users/johans/hoichess/
+DISTNAME= ${PORTNAME}-${PORTVERSION}-src
+
+MAINTAINER= johans at FreeBSD.org
+COMMENT= Not-so-very-strong chess engine
+
+USES= gmake perl5
+USE_PERL5= build
+MAKE_JOBS_UNSAFE=yes
+MAKE_ENV= HAVE_GETOPT=1
+
+post-patch:
+ @${RM} ${WRKSRC}/src/lib/getopt.h
+ @${REINPLACE_CMD} -e '1,/^LDFLAG/d' ${WRKSRC}/src/Makefile.config
+ @${ECHO} 'INSTALL = ${INSTALL}' >> ${WRKSRC}/src/Makefile.config
+ @${REINPLACE_CMD} -Ee '/INSTALL|install/s/ -D / /' \
+ ${WRKSRC}/src/Makefile ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e '1,/^####/d' ${WRKSRC}/src/Makefile
+ @${REINPLACE_CMD} -e '/^prefix/s|= .*|= ${STAGEDIR}$${PREFIX}|' \
+ -e '/bindir/s/games/bin/; /mandir/s/share//' ${WRKSRC}/Makefile
+
+.include <bsd.port.mk>
+
Added: head/games/hoichess/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/hoichess/distinfo Sun Oct 6 19:43:13 2013 (r329626)
@@ -0,0 +1,2 @@
+SHA256 (hoichess-0.12.1-src.tar.gz) = bbef42a275afde9be76bbb6c2bb3743ea5a8bba2b5fe6231187ea25c2e294291
+SIZE (hoichess-0.12.1-src.tar.gz) = 145321
Added: head/games/hoichess/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/hoichess/pkg-descr Sun Oct 6 19:43:13 2013 (r329626)
@@ -0,0 +1,5 @@
+HoiChess is an xboard compatible chess engine. HoiChess plays
+at easier levels than most modern engines, making chess games
+actually winnable for regular human beings.
+
+WWW: http://www.hoicher.de/hoichess
Added: head/games/hoichess/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/hoichess/pkg-plist Sun Oct 6 19:43:13 2013 (r329626)
@@ -0,0 +1,10 @@
+bin/hoichess
+bin/hoixiangqi
+man/man6/hoichess.6.gz
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/BUGS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/hoichess.6.html
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
More information about the svn-ports-all
mailing list