summaryrefslogtreecommitdiff
path: root/games/minecraft-server
diff options
context:
space:
mode:
authorAllan Jude <allanjude@FreeBSD.org>2016-06-29 20:32:57 +0000
committerAllan Jude <allanjude@FreeBSD.org>2016-06-29 20:32:57 +0000
commite69dd7d5d94d203a93989e4d3505465fad2a6389 (patch)
tree2640b8518cd5da964e4d438236d17ca140121ec5 /games/minecraft-server
parentf6c5ab8d553c0f0bade9d0e5d0d453ea7c25184b (diff)
downloadfreebsd-ports-e69dd7d5d94d203a93989e4d3505465fad2a6389.zip
Create a symlink minecraft-server/minecraft_server.jar pointing to the
latest version of the jar (minecraft_server.1.9.4.jar) Update the LICENSE text PR: 210097 Submitted by: Jonathan Price (maintainer) Approved by: matthew
Diffstat (limited to 'games/minecraft-server')
-rw-r--r--games/minecraft-server/Makefile7
-rw-r--r--games/minecraft-server/pkg-plist1
2 files changed, 8 insertions, 0 deletions
diff --git a/games/minecraft-server/Makefile b/games/minecraft-server/Makefile
index c7fb4a00ade7..55881fbb8905 100644
--- a/games/minecraft-server/Makefile
+++ b/games/minecraft-server/Makefile
@@ -2,6 +2,7 @@
PORTNAME= minecraft-server
PORTVERSION= 1.9.4
+PORTREVISION= 1
CATEGORIES= games java
MASTER_SITES= https://s3.amazonaws.com/Minecraft.Download/versions/${PORTVERSION}/
DISTFILES= minecraft_server.${PORTVERSION}.jar
@@ -10,6 +11,11 @@ EXTRACT_ONLY=
MAINTAINER= freebsd@jonathanprice.org
COMMENT= Dedicated server for the game Minecraft
+LICENSE= minecraft
+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
@@ -53,6 +59,7 @@ 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/pkg-plist b/games/minecraft-server/pkg-plist
index 875811b65112..45a4dcb61cb2 100644
--- a/games/minecraft-server/pkg-plist
+++ b/games/minecraft-server/pkg-plist
@@ -7,6 +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/ops.json
minecraft-server/server.properties