Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jun 2016 20:32:58 +0000 (UTC)
From:      Allan Jude <allanjude@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r417794 - head/games/minecraft-server
Message-ID:  <201606292032.u5TKWwrP083159@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: allanjude (src,doc committer)
Date: Wed Jun 29 20:32:57 2016
New Revision: 417794
URL: https://svnweb.freebsd.org/changeset/ports/417794

Log:
  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

Modified:
  head/games/minecraft-server/Makefile
  head/games/minecraft-server/pkg-plist

Modified: head/games/minecraft-server/Makefile
==============================================================================
--- head/games/minecraft-server/Makefile	Wed Jun 29 20:29:27 2016	(r417793)
+++ head/games/minecraft-server/Makefile	Wed Jun 29 20:32:57 2016	(r417794)
@@ -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

Modified: head/games/minecraft-server/pkg-plist
==============================================================================
--- head/games/minecraft-server/pkg-plist	Wed Jun 29 20:29:27 2016	(r417793)
+++ head/games/minecraft-server/pkg-plist	Wed Jun 29 20:32:57 2016	(r417794)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606292032.u5TKWwrP083159>