Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jun 2019 20:26:23 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r503853 - in head/games: . gogui
Message-ID:  <201906092026.x59KQN6f090101@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sun Jun  9 20:26:23 2019
New Revision: 503853
URL: https://svnweb.freebsd.org/changeset/ports/503853

Log:
  New port: games/gogui: GUI for programs that play Go through Go Text Protocol (GTP)

Added:
  head/games/gogui/
  head/games/gogui/Makefile   (contents, props changed)
  head/games/gogui/distinfo   (contents, props changed)
  head/games/gogui/pkg-descr   (contents, props changed)
Modified:
  head/games/Makefile

Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile	Sun Jun  9 20:14:57 2019	(r503852)
+++ head/games/Makefile	Sun Jun  9 20:26:23 2019	(r503853)
@@ -369,6 +369,7 @@
     SUBDIR += gnustep-ladder
     SUBDIR += gnustep-sudoku
     SUBDIR += gogrepo
+    SUBDIR += gogui
     SUBDIR += golddig
     SUBDIR += golly
     SUBDIR += gomoku

Added: head/games/gogui/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/gogui/Makefile	Sun Jun  9 20:26:23 2019	(r503853)
@@ -0,0 +1,53 @@
+# $FreeBSD$
+
+PORTNAME=	gogui
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.4.10
+CATEGORIES=	games java
+MASTER_SITES=	http://www.randelshofer.ch/quaqua/files/:quaqua
+DISTFILES=	quaqua-5.2.1.nested.zip:quaqua
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	GUI for programs that play Go through Go Text Protocol (GTP)
+
+LICENSE=	LGPL21 BSD3CLAUSE
+LICENSE_COMB=	multi
+
+BUILD_DEPENDS=	xsltproc:textproc/libxslt \
+		docbook-xsl>0:textproc/docbook-xsl
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	lemonsqueeze
+USE_JAVA=	yes
+USE_ANT=	yes
+
+MAKE_ARGS+=	-Ddocbook-xsl.dir=${LOCALBASE}/share/xsl/docbook
+
+NO_ARCH=	yes
+
+GOGUI_JARS=	gogui-adapter gogui-convert gogui-dummy gogui-server gogui-terminal gogui-twogtp \
+		gogui-client gogui-display gogui-regress gogui-statistics gogui-thumbnailer gogui
+
+PLIST_FILES=	${GOGUI_JARS:C/^/bin\//} ${GOGUI_JARS:C/^/${JAVAJARDIR}\//:C/$$/.jar/} ${JAVAJARDIR}/quaqua.jar
+
+post-extract:
+	@cd ${WRKDIR} && \
+		unzip quaqua-5.2.1.zip && \
+		${MKDIR} ${WRKSRC}/lib && \
+		${MV} Quaqua/dist/quaqua.jar ${WRKSRC}/lib
+
+post-patch:
+	@${REINPLACE_CMD} 's|/usr/share|${LOCALBASE}/share|' ${WRKSRC}/build.xml
+
+do-install:
+.for j in ${GOGUI_JARS}
+	${INSTALL_DATA} ${WRKSRC}/lib/${j}.jar ${STAGEDIR}${JAVAJARDIR}
+	@(echo "#!/bin/sh"; \
+	  echo ""; \
+	  echo "${JAVA} -jar ${JAVAJARDIR}/${j}.jar" \
+	) > ${STAGEDIR}${PREFIX}/bin/${j}
+	@${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/${j}
+.endfor
+	${INSTALL_DATA} ${WRKSRC}/lib/quaqua.jar ${STAGEDIR}${JAVAJARDIR}
+
+.include <bsd.port.mk>

Added: head/games/gogui/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/gogui/distinfo	Sun Jun  9 20:26:23 2019	(r503853)
@@ -0,0 +1,5 @@
+TIMESTAMP = 1560109987
+SHA256 (quaqua-5.2.1.nested.zip) = 5473653f8a153122e864137704db52cb02e04a24cbbba6c59df11d4f945f79d6
+SIZE (quaqua-5.2.1.nested.zip) = 5985193
+SHA256 (lemonsqueeze-gogui-v1.4.10_GH0.tar.gz) = a9a957e3e0b2eba9f39ad22197698b9343ea0054e769cb3f42620c7bbc3a1dba
+SIZE (lemonsqueeze-gogui-v1.4.10_GH0.tar.gz) = 723690

Added: head/games/gogui/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/gogui/pkg-descr	Sun Jun  9 20:26:23 2019	(r503853)
@@ -0,0 +1,5 @@
+GoGui is a graphical interface to programs that play the game of Go.
+
+This is a GitHib fork of a long-abandoned SourceForge project GoGui.
+
+WWW: https://github.com/lemonsqueeze/gogui



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906092026.x59KQN6f090101>