Index: head/games/minecraft-server/Makefile =================================================================== --- head/games/minecraft-server/Makefile (revision 409937) +++ head/games/minecraft-server/Makefile (revision 409938) @@ -1,61 +1,61 @@ # $FreeBSD$ PORTNAME= minecraft-server -PORTVERSION= 1.8.9 +PORTVERSION= 1.9 CATEGORIES= games java MASTER_SITES= https://s3.amazonaws.com/Minecraft.Download/versions/${PORTVERSION}/ DISTFILES= minecraft_server.${PORTVERSION}.jar EXTRACT_ONLY= MAINTAINER= freebsd@jonathanprice.org COMMENT= Dedicated server for the game Minecraft OPTIONS_SINGLE= RUN OPTIONS_SINGLE_RUN= DAEMON STANDALONE DAEMON_DESC= Run as a service STANDALONE_DESC= Run the .jar file directly OPTIONS_SUB= yes OPTIONS_DEFAULT= STANDALONE USERS= mcserver GROUPS= ${USERS} NO_BUILD= yes USE_JAVA= yes SUB_FILES= minecraft-server \ pkg-message \ pkg-deinstall 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:${PORTSDIR}/sysutils/tmux do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME} ${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${STAGEDIR}${PREFIX}/${PORTNAME} ${MKDIR} ${STAGEDIR}${ETCDIR} ${MKDIR} ${STAGEDIR}/var/db/minecraft-server ${MKDIR} ${STAGEDIR}/var/log/minecraft-server .for file in ${CONFIG_FILES} ${LN} -s ${ETCDIR}/${file} ${STAGEDIR}${PREFIX}/${PORTNAME}/${file} .endfor ${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 post-install-STANDALONE-on: ${INSTALL_SCRIPT} ${WRKDIR}/minecraft-server ${STAGEDIR}${PREFIX}/bin ${CP} ${FILESDIR}/java-args.txt ${STAGEDIR}${ETCDIR} .include Index: head/games/minecraft-server/distinfo =================================================================== --- head/games/minecraft-server/distinfo (revision 409937) +++ head/games/minecraft-server/distinfo (revision 409938) @@ -1,2 +1,2 @@ -SHA256 (minecraft_server.1.8.9.jar) = c18e4245073aaff580eb7359902f0251436568b1647a9e443a924cdb73fa8312 -SIZE (minecraft_server.1.8.9.jar) = 8320755 +SHA256 (minecraft_server.1.9.jar) = 38a797f50c71f55202e2135a30302cf3a5c8cb494c6d225b88599542957d3a7d +SIZE (minecraft_server.1.9.jar) = 8848015 Index: head/games/minecraft-server/files/pkg-deinstall.in =================================================================== --- head/games/minecraft-server/files/pkg-deinstall.in (revision 409937) +++ head/games/minecraft-server/files/pkg-deinstall.in (revision 409938) @@ -1,12 +1,12 @@ #!/bin/sh if [ "$2" != "POST-DEINSTALL" ]; then exit 0 fi echo echo "NOTE: The game world has not been deleted. It is still in" echo "/var/db/minecraft-server. If it is no longer required, it will" echo "need to be manually deleted." -echo "Also, you may wish to delete any remaining files in" +echo "Also, you may wish to delete any remaining files in" echo "%%PREFIX%%/minecraft-server and %%ETCDIR%%" Index: head/games/minecraft-server/files/pkg-message.in =================================================================== --- head/games/minecraft-server/files/pkg-message.in (revision 409937) +++ head/games/minecraft-server/files/pkg-message.in (revision 409938) @@ -1,27 +1,19 @@ When you first run minecraft-server, it will populate the file %%ETCDIR%%/eula.txt It is required to read the EULA, and then set eula=true - Configuration files can be found in %%ETCDIR%%/ - Log and debug output files can be found in /var/log/minecraft-server/ - World files can be found in /var/db/minecraft-server/ Without daemon option: - To run the server, run %%PREFIX%%/bin/minecraft-server - To edit java's parameters, edit %%ETCDIR%%/java-args.txt With daemon option: - The service has been installed with the name 'minecraft' - To adjust maximum memory usage (-Xmx), use minecraft_memx= in /etc/rc.conf - To adjust initial memory usage (-Xms), use minecraft_mems= in /etc/rc.conf - To add other java parameters, use minecraft_args= in /etc/rc.conf - To see the interactive console, type service minecraft console - -Users upgrading from version < 1.8 are advised to run the server to -generate new config files, and then modify them based on their existing -configuration, as most files are now JSON instead of txt. - -Users upgrading from from 1.8 will need to re-accept the EULA. They -may also wish to delete %%DATADIR%% as it is -no longer used.