svn commit: r503871 - in head/games: . lizzie
Yuri Victorovich
yuri at FreeBSD.org
Mon Jun 10 01:43:08 UTC 2019
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 at 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 <bsd.port.mk>
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
More information about the svn-ports-all
mailing list