svn commit: r547764 - in head/games: . coronapoker coronapoker/files
Yuri Victorovich
yuri at FreeBSD.org
Sat Sep 5 23:41:23 UTC 2020
Author: yuri
Date: Sat Sep 5 23:41:22 2020
New Revision: 547764
URL: https://svnweb.freebsd.org/changeset/ports/547764
Log:
New port: games/coronapoker: Texas Holdem poker game
Added:
head/games/coronapoker/
head/games/coronapoker/Makefile (contents, props changed)
head/games/coronapoker/distinfo (contents, props changed)
head/games/coronapoker/files/
head/games/coronapoker/files/coronapoker.in (contents, props changed)
head/games/coronapoker/pkg-descr (contents, props changed)
Modified:
head/games/Makefile
Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile Sat Sep 5 23:25:10 2020 (r547763)
+++ head/games/Makefile Sat Sep 5 23:41:22 2020 (r547764)
@@ -153,6 +153,7 @@
SUBDIR += connectagram
SUBDIR += connectfive
SUBDIR += construo
+ SUBDIR += coronapoker
SUBDIR += corsix-th
SUBDIR += cosmo
SUBDIR += cosmosmash
Added: head/games/coronapoker/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/coronapoker/Makefile Sat Sep 5 23:41:22 2020 (r547764)
@@ -0,0 +1,59 @@
+# $FreeBSD$
+
+PORTNAME= coronapoker
+DISTVERSIONPREFIX= v
+DISTVERSION= 4.33
+CATEGORIES= games java
+
+MAINTAINER= yuri at FreeBSD.org
+COMMENT= Texas Holdem poker game
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= mvn:devel/maven
+
+USE_JAVA= 11+
+USE_GITHUB= yes
+GH_ACCOUNT= tonikelope
+
+NO_ARCH= yes
+
+SUB_FILES= ${PORTNAME}
+SUB_LIST= JAVA=${JAVA} PORTNAME=${PORTNAME} PORTVERSION=${PORTVERSION}
+
+PLIST_FILES= bin/${PORTNAME} \
+ ${JAVAJARDIR}/${PORTNAME}-${PORTVERSION}-jar-with-dependencies.jar
+
+# 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 deps archive: ${DISTDIR}/${PORTNAME}-${DISTVERSION}-deps${EXTRACT_SUFX}"
+.else
+MASTER_SITES+= LOCAL/yuri/:deps
+DISTFILES+= ${PORTNAME}-${DISTVERSION}-deps${EXTRACT_SUFX}:deps
+MVN_ARGS= --offline
+.endif
+
+do-build:
+ @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
+ JAVA_HOME=${JAVA_HOME} ${LOCALBASE}/bin/mvn ${MVN_ARGS} \
+ -fae install \
+ -Dmaven.test.skip=true \
+ -Duser.home=${WRKDIR} \
+ package
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/target/CoronaPoker-FINAL-*-jar-with-dependencies.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}-${PORTVERSION}-jar-with-dependencies.jar
+
+.include <bsd.port.mk>
Added: head/games/coronapoker/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/coronapoker/distinfo Sat Sep 5 23:41:22 2020 (r547764)
@@ -0,0 +1,5 @@
+TIMESTAMP = 1599346728
+SHA256 (coronapoker-4.33-deps.tar.gz) = 9636254e547a0f3c943cb5e91f7d2d4d018b5b747c4fb2ff4784891b93a88984
+SIZE (coronapoker-4.33-deps.tar.gz) = 192925093
+SHA256 (tonikelope-coronapoker-v4.33_GH0.tar.gz) = 157a51d430e00f63345f72083bc706b8bc04f670169bcb29ed12bb0eeec3205e
+SIZE (tonikelope-coronapoker-v4.33_GH0.tar.gz) = 92254916
Added: head/games/coronapoker/files/coronapoker.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/coronapoker/files/coronapoker.in Sat Sep 5 23:41:22 2020 (r547764)
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+export LC_ALL=en_US.UTF-8
+
+%%JAVA%% -jar %%JAVAJARDIR%%/%%PORTNAME%%-%%PORTVERSION%%-jar-with-dependencies.jar "$@"
Added: head/games/coronapoker/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/coronapoker/pkg-descr Sat Sep 5 23:41:22 2020 (r547764)
@@ -0,0 +1,3 @@
+Texas Holdem poker game written in Java.
+
+WWW: https://tonikelope.github.io/coronapoker/
More information about the svn-ports-all
mailing list