New port: games/coronapoker: Texas Holdem poker game
This commit is contained in:
parent
35d9975f4d
commit
b0aa3fe906
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=547764
5 changed files with 73 additions and 0 deletions
|
@ -153,6 +153,7 @@
|
|||
SUBDIR += connectagram
|
||||
SUBDIR += connectfive
|
||||
SUBDIR += construo
|
||||
SUBDIR += coronapoker
|
||||
SUBDIR += corsix-th
|
||||
SUBDIR += cosmo
|
||||
SUBDIR += cosmosmash
|
||||
|
|
59
games/coronapoker/Makefile
Normal file
59
games/coronapoker/Makefile
Normal file
|
@ -0,0 +1,59 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= coronapoker
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 4.33
|
||||
CATEGORIES= games java
|
||||
|
||||
MAINTAINER= yuri@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>
|
5
games/coronapoker/distinfo
Normal file
5
games/coronapoker/distinfo
Normal file
|
@ -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
|
5
games/coronapoker/files/coronapoker.in
Normal file
5
games/coronapoker/files/coronapoker.in
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
export LC_ALL=en_US.UTF-8
|
||||
|
||||
%%JAVA%% -jar %%JAVAJARDIR%%/%%PORTNAME%%-%%PORTVERSION%%-jar-with-dependencies.jar "$@"
|
3
games/coronapoker/pkg-descr
Normal file
3
games/coronapoker/pkg-descr
Normal file
|
@ -0,0 +1,3 @@
|
|||
Texas Holdem poker game written in Java.
|
||||
|
||||
WWW: https://tonikelope.github.io/coronapoker/
|
Loading…
Reference in a new issue