From owner-svn-ports-head@freebsd.org Mon Jun 10 01:43:08 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1FAFC15B0953; Mon, 10 Jun 2019 01:43:08 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B34F28D8EA; Mon, 10 Jun 2019 01:43:07 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 853AAB61B; Mon, 10 Jun 2019 01:43:07 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x5A1h7u6057085; Mon, 10 Jun 2019 01:43:07 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x5A1h6Bn057079; Mon, 10 Jun 2019 01:43:06 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201906100143.x5A1h6Bn057079@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Mon, 10 Jun 2019 01:43:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r503871 - in head/games: . lizzie X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/games: . lizzie X-SVN-Commit-Revision: 503871 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: B34F28D8EA X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.95)[-0.954,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2019 01:43:08 -0000 Author: yuri Date: Mon Jun 10 01:43:06 2019 New Revision: 503871 URL: https://svnweb.freebsd.org/changeset/ports/503871 Log: New port: games/lizzie: Leela Zero Interface: GUI for the Go game Added: head/games/lizzie/ head/games/lizzie/Makefile (contents, props changed) head/games/lizzie/distinfo (contents, props changed) head/games/lizzie/pkg-descr (contents, props changed) Modified: head/games/Makefile Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Mon Jun 10 01:34:59 2019 (r503870) +++ head/games/Makefile Mon Jun 10 01:43:06 2019 (r503871) @@ -553,6 +553,7 @@ SUBDIR += linux-worldofgoo-demo SUBDIR += linwarrior SUBDIR += liquidwar + SUBDIR += lizzie SUBDIR += lm-solve SUBDIR += lmarbles SUBDIR += lmpc Added: head/games/lizzie/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/lizzie/Makefile Mon Jun 10 01:43:06 2019 (r503871) @@ -0,0 +1,63 @@ +# $FreeBSD$ + +PORTNAME= lizzie +DISTVERSION= 0.6-105 +DISTVERSIONSUFFIX= -gd0e7040 +CATEGORIES= games java + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Leela Zero Interface: GUI for the Go game + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +BUILD_DEPENDS= mvn:devel/maven +RUN_DEPENDS= leelaz:games/leela-zero + +USE_JAVA= yes +USE_GITHUB= yes +GH_ACCOUNT= featurecat + +NO_ARCH= yes + +# to rebuild the deps archive: +# 1. set DEV_UPDATE_MODE=yes +# 2. make makesum build +# 3. upload the *-deps archive +# 4. set DEV_UPDATE_MODE=no +# 5. make clean makesum + +DEV_UPDATE_MODE= no + +.if (${DEV_UPDATE_MODE} == "yes") +post-build: + @cd ${WRKDIR} && ${TAR} czf ${DISTDIR}/${PORTNAME}-${DISTVERSION}-deps${EXTRACT_SUFX} .m2 + @${ECHO} "(!!!) Please upload the maven deps archive: ${DISTDIR}/${PORTNAME}-${DISTVERSION}-deps${EXTRACT_SUFX}" +.else +MASTER_SITES+= LOCAL/yuri/:maven +DISTFILES+= ${PORTNAME}-${DISTVERSION}-deps${EXTRACT_SUFX}:maven +MVN_ARGS= --offline +.endif + +DESKTOP_ENTRIES= "SGF Editor (Go)" "A GUI for Leela-Zero" "" "${PORTNAME}" "Game;" "" + +PLIST_FILES= bin/${PORTNAME} \ + ${JAVAJARDIR}/lizzie-${PORTVERSION:R}-shaded.jar + +do-build: + @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ + ${LOCALBASE}/bin/mvn ${MVN_ARGS} \ + -fae install \ + -Dmaven.test.skip=true \ + -Duser.home=${WRKDIR} \ + package +do-install: + ${INSTALL_DATA} ${WRKSRC}/target/${PORTNAME}-${PORTVERSION:R}-shaded.jar ${STAGEDIR}${JAVAJARDIR} + @(echo "#!/bin/sh"; \ + echo ""; \ + echo "mkdir -p ~/.local/share/lizzie &&"; \ + echo "cd ~/.local/share/lizzie && ${JAVA} -jar ${JAVAJARDIR}/${PORTNAME}-${PORTVERSION:R}-shaded.jar \""$$"@\"" \ + ) > ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + @${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +.include Added: head/games/lizzie/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/lizzie/distinfo Mon Jun 10 01:43:06 2019 (r503871) @@ -0,0 +1,5 @@ +TIMESTAMP = 1560123307 +SHA256 (lizzie-0.6-105-deps.tar.gz) = d9461feeb8ffccb74f2667c2669f9ccc4a364a2f15f8c2101254c901ea99405e +SIZE (lizzie-0.6-105-deps.tar.gz) = 30231127 +SHA256 (featurecat-lizzie-0.6-105-gd0e7040_GH0.tar.gz) = 3768c0f778b43fe8fd961eeede1e4a06b1be2db39848e31b5efea30e3ad34db1 +SIZE (featurecat-lizzie-0.6-105-gd0e7040_GH0.tar.gz) = 6638762 Added: head/games/lizzie/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/lizzie/pkg-descr Mon Jun 10 01:43:06 2019 (r503871) @@ -0,0 +1,4 @@ +Lizzie is a graphical interface allowing the user to analyze Go games in real +time using Leela Zero. + +WWW: https://github.com/featurecat/lizzie