diff options
author | Mateusz Piotrowski <0mp@FreeBSD.org> | 2018-08-01 08:30:38 +0000 |
---|---|---|
committer | Mateusz Piotrowski <0mp@FreeBSD.org> | 2018-08-01 08:30:38 +0000 |
commit | d2f8d9911c57b05aee424f2625712e6788fe46c7 (patch) | |
tree | efce07bd72b75a871b78c26a956262e6d215cbb4 /games/minecraft-server | |
parent | 30db92564decefb6c66ffead5898c59bb1279b10 (diff) | |
download | freebsd-ports-d2f8d9911c57b05aee424f2625712e6788fe46c7.zip |
games/minecraft-server: Update to 1.13
PR: 229890
Submitted by: Jonathan Price <freebsd@jonathanprice.org> (maintainer)
Reviewed by: mat (mentor)
Approved by: mat (mentor)
Differential Revision: https://reviews.freebsd.org/D16364
Diffstat (limited to 'games/minecraft-server')
-rw-r--r-- | games/minecraft-server/Makefile | 8 | ||||
-rw-r--r-- | games/minecraft-server/distinfo | 6 | ||||
-rw-r--r-- | games/minecraft-server/files/minecraft-server.in | 2 | ||||
-rw-r--r-- | games/minecraft-server/files/minecraft.in | 2 | ||||
-rw-r--r-- | games/minecraft-server/pkg-plist | 3 |
5 files changed, 10 insertions, 11 deletions
diff --git a/games/minecraft-server/Makefile b/games/minecraft-server/Makefile index c41c392f1ecb..574e161d68ac 100644 --- a/games/minecraft-server/Makefile +++ b/games/minecraft-server/Makefile @@ -1,10 +1,11 @@ # $FreeBSD$ PORTNAME= minecraft-server -PORTVERSION= 1.12.2 +PORTVERSION= 1.13 CATEGORIES= games java -MASTER_SITES= https://s3.amazonaws.com/Minecraft.Download/versions/${PORTVERSION}/ -DISTFILES= minecraft_server.${PORTVERSION}.jar +MASTER_SITES= https://launcher.mojang.com/mc/game/1.13/server/d0caafb8438ebd206f99930cfaecfa6c9a13dca0/ +DISTFILES= server.jar +DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} EXTRACT_ONLY= MAINTAINER= freebsd@jonathanprice.org @@ -60,7 +61,6 @@ do-install: ${LN} -sf /var/log/minecraft-server ${STAGEDIR}${PREFIX}/${PORTNAME}/logs ${LN} -sf /var/log/minecraft-server/debug ${STAGEDIR}${PREFIX}/${PORTNAME}/debug ${LN} -sf /var/db/minecraft-server ${STAGEDIR}${PREFIX}/${PORTNAME}/world - ${LN} -sf ${PREFIX}/${PORTNAME}/${DISTFILES} ${STAGEDIR}${PREFIX}/${PORTNAME}/minecraft_server.jar post-install-STANDALONE-on: ${INSTALL_SCRIPT} ${WRKDIR}/minecraft-server ${STAGEDIR}${PREFIX}/bin diff --git a/games/minecraft-server/distinfo b/games/minecraft-server/distinfo index 5e43f571c63a..b6f6bc59a160 100644 --- a/games/minecraft-server/distinfo +++ b/games/minecraft-server/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1514732045 -SHA256 (minecraft_server.1.12.2.jar) = fe1f9274e6dad9191bf6e6e8e36ee6ebc737f373603df0946aafcded0d53167e -SIZE (minecraft_server.1.12.2.jar) = 30222121 +TIMESTAMP = 1533069013 +SHA256 (minecraft-server-1.13/server.jar) = e76f3927904d331c969a2c437d5661ac02f24be86062dd1c607bfd4ebdc550b9 +SIZE (minecraft-server-1.13/server.jar) = 32649675 diff --git a/games/minecraft-server/files/minecraft-server.in b/games/minecraft-server/files/minecraft-server.in index 570c7c57cc24..44e8dfab8f5a 100644 --- a/games/minecraft-server/files/minecraft-server.in +++ b/games/minecraft-server/files/minecraft-server.in @@ -6,4 +6,4 @@ if [ "$(id -u)" != "0" ]; then fi cd %%PREFIX%%/minecraft-server -su -m mcserver -c "java $(cat %%PREFIX%%/etc/minecraft-server/java-args.txt) -jar minecraft_server.%%VERSION%%.jar nogui" +su -m mcserver -c "java $(cat %%PREFIX%%/etc/minecraft-server/java-args.txt) -jar server.jar nogui" diff --git a/games/minecraft-server/files/minecraft.in b/games/minecraft-server/files/minecraft.in index 6e3d41d68cfd..273b2f2162b8 100644 --- a/games/minecraft-server/files/minecraft.in +++ b/games/minecraft-server/files/minecraft.in @@ -49,7 +49,7 @@ minecraft_start() fi echo "Starting ${name}." cd %%PREFIX%%/minecraft-server - su mcserver -c "%%LOCALBASE%%/bin/tmux new-session -s minecraft -d '%%LOCALBASE%%/bin/java -Xmx${minecraft_memx} -Xms${minecraft_mems} ${minecraft_args} -jar %%PREFIX%%/minecraft-server/minecraft_server.%%VERSION%%.jar nogui'" + su mcserver -c "%%LOCALBASE%%/bin/tmux new-session -s minecraft -d '%%LOCALBASE%%/bin/java -Xmx${minecraft_memx} -Xms${minecraft_mems} ${minecraft_args} -jar %%PREFIX%%/minecraft-server/server.jar nogui'" fi } diff --git a/games/minecraft-server/pkg-plist b/games/minecraft-server/pkg-plist index 45a4dcb61cb2..98953a4cc201 100644 --- a/games/minecraft-server/pkg-plist +++ b/games/minecraft-server/pkg-plist @@ -7,8 +7,7 @@ minecraft-server/banned-players.json minecraft-server/debug minecraft-server/eula.txt minecraft-server/logs -minecraft-server/minecraft_server.jar -minecraft-server/minecraft_server.%%VERSION%%.jar +minecraft-server/server.jar minecraft-server/ops.json minecraft-server/server.properties minecraft-server/usercache.json |