summaryrefslogtreecommitdiff
path: root/games/minecraft-server
diff options
context:
space:
mode:
authorJonathan Price <freebsd@jonathanprice.org>2022-06-09 10:43:50 +0200
committerJuraj Lutter <otis@FreeBSD.org>2022-07-08 00:11:30 +0200
commite4195d5f2c84612811df18b8c5d3d72d0f7f676d (patch)
tree23c1a424aa4ff56c1b8ca6f52d225492ed2ba134 /games/minecraft-server
parent7945adb0aa027a8f6c7b760d373b9ff04d400f04 (diff)
downloadfreebsd-ports-e4195d5f2c84612811df18b8c5d3d72d0f7f676d.zip
games/minecraft-server: Update to 1.19
Update to 1.19 and while here, also portclippy and portfmt a bit. PR: 264773
Diffstat (limited to 'games/minecraft-server')
-rw-r--r--games/minecraft-server/Makefile33
-rw-r--r--games/minecraft-server/distinfo6
2 files changed, 19 insertions, 20 deletions
diff --git a/games/minecraft-server/Makefile b/games/minecraft-server/Makefile
index 580585f60577..10be790644c3 100644
--- a/games/minecraft-server/Makefile
+++ b/games/minecraft-server/Makefile
@@ -1,7 +1,7 @@
PORTNAME= minecraft-server
-PORTVERSION= 1.18.1
+PORTVERSION= 1.19
CATEGORIES= games java
-MASTER_SITES= https://launcher.mojang.com/v1/objects/125e5adf40c659fd3bce3e66e67a16bb49ecc1b9/
+MASTER_SITES= https://launcher.mojang.com/v1/objects/e00c4052dac1d59a1188b2aa9d5a87113aaf1122/
DISTNAME= server
EXTRACT_SUFX= .jar
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
@@ -15,32 +15,31 @@ LICENSE_NAME= Minecraft End User License Agreement
LICENSE_TEXT= The license can be viewed at: https://account.mojang.com/documents/minecraft_eula
LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell
-OPTIONS_SINGLE= RUN
-OPTIONS_SINGLE_RUN= DAEMON STANDALONE
-
-DAEMON_DESC= Run as a service
-STANDALONE_DESC= Run the .jar file directly
-OPTIONS_SUB= yes
+USE_JAVA= yes
+JAVA_VERSION= 17
-OPTIONS_DEFAULT= STANDALONE
+NO_ARCH= yes
+NO_BUILD= yes
+SUB_FILES= minecraft-server pkg-deinstall pkg-message
+SUB_LIST= VERSION=${PORTVERSION}
USERS= mcserver
GROUPS= ${USERS}
-NO_BUILD= yes
-USE_JAVA= yes
-JAVA_VERSION= 17
-SUB_FILES= minecraft-server pkg-deinstall pkg-message
-SUB_LIST= VERSION=${PORTVERSION}
PLIST_SUB= VERSION=${PORTVERSION}
CONFIG_FILES= banned-ips.json banned-players.json eula.txt ops.json \
server.properties usercache.json whitelist.json
-DAEMON_VARS= USE_RC_SUBR=minecraft
-DAEMON_RUN_DEPENDS= tmux:sysutils/tmux
+OPTIONS_DEFAULT= STANDALONE
+OPTIONS_SINGLE= RUN
+OPTIONS_SINGLE_RUN= DAEMON STANDALONE
+OPTIONS_SUB= yes
-NO_ARCH= yes
+DAEMON_DESC= Run as a service
+STANDALONE_DESC= Run the .jar file directly
+DAEMON_RUN_DEPENDS= tmux:sysutils/tmux
+DAEMON_VARS= USE_RC_SUBR=minecraft
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}
diff --git a/games/minecraft-server/distinfo b/games/minecraft-server/distinfo
index 4bdaff9f1088..0d139f8dcc98 100644
--- a/games/minecraft-server/distinfo
+++ b/games/minecraft-server/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1639124790
-SHA256 (minecraft-server-1.18.1/server.jar) = ebcd120ad81480b968a548df6ffb83b88075e95195c8ff63d461c9df4df5dbdf
-SIZE (minecraft-server-1.18.1/server.jar) = 46324407
+TIMESTAMP = 1654715624
+SHA256 (minecraft-server-1.19/server.jar) = deefd056f0cf89c3d7fd48d03f56a8a73943586e8c061fdabd0fd92d32ced2b2
+SIZE (minecraft-server-1.19/server.jar) = 45538778