mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
- Client for block building game minecraft
PR: ports/162516 Submitted by: Martin Kropfinger <freebsd@rakor-net.de> Approved by: gabor (mentor)
This commit is contained in:
parent
0c214f449c
commit
ffe498b5ab
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=287812
@ -524,6 +524,7 @@
|
||||
SUBDIR += meritous
|
||||
SUBDIR += mindfocus
|
||||
SUBDIR += mindguard
|
||||
SUBDIR += minecraft-client
|
||||
SUBDIR += minecraft-server
|
||||
SUBDIR += minetest
|
||||
SUBDIR += mirrormagic
|
||||
|
38
games/minecraft-client/Makefile
Normal file
38
games/minecraft-client/Makefile
Normal file
@ -0,0 +1,38 @@
|
||||
# New ports collection makefile for: minecraft-client
|
||||
# Date created: 12 November 2011
|
||||
# Whom: Martin Kropfinger
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= minecraft-client
|
||||
PORTVERSION= 1.0.0
|
||||
CATEGORIES= games java
|
||||
MASTER_SITES= http://s3.amazonaws.com/MinecraftDownload/launcher/:minecraft \
|
||||
http://www.minecraftwiki.net/images/c/c5/:icon
|
||||
DISTNAME= minecraft
|
||||
DISTFILES= minecraft.jar:minecraft \
|
||||
Grass.png:icon
|
||||
EXTRACT_ONLY=
|
||||
|
||||
MAINTAINER= freebsd@rakor-net.de
|
||||
COMMENT= Client for the block building game
|
||||
|
||||
WRKSRC= ${WRKDIR}
|
||||
NO_BUILD= yes
|
||||
USE_JAVA= yes
|
||||
JAVA_VERSION= 1.6
|
||||
JAVA_OS= linux
|
||||
JAVA_VENDOR= sun
|
||||
DESKTOP_ENTRIES= "Minecraft" "Block building game" "${DATADIR}/Grass.png" "minecraft-client" "Application;Game;" false
|
||||
|
||||
do-install:
|
||||
echo "#!/bin/sh" > ${WRKDIR}/minecraft-client
|
||||
echo "export JAVA_HOME=${JAVA_HOME}" >> ${WRKDIR}/minecraft-client
|
||||
echo "exec java -Xmx1024M -Xms1024M -jar ${DATADIR}/minecraft.jar" >> ${WRKDIR}/minecraft-client
|
||||
${MKDIR} ${DATADIR}
|
||||
(${INSTALL_DATA} "${DISTDIR}/minecraft.jar" ${DATADIR}/)
|
||||
(${INSTALL_DATA} "${DISTDIR}/Grass.png" ${DATADIR}/)
|
||||
(${INSTALL_SCRIPT} "${WRKDIR}/minecraft-client" ${PREFIX}/bin/)
|
||||
|
||||
.include <bsd.port.mk>
|
4
games/minecraft-client/distinfo
Normal file
4
games/minecraft-client/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
SHA256 (minecraft.jar) = d275a1895b5d18e5a913d637d941cc1df83097add76103c2e02e4e513ceb982a
|
||||
SIZE (minecraft.jar) = 89406
|
||||
SHA256 (Grass.png) = 438c0f63e379e92af1b5b2e06cc5e3365ee272810af65ebc102304bce4fa8c4b
|
||||
SIZE (Grass.png) = 12586
|
3
games/minecraft-client/pkg-descr
Normal file
3
games/minecraft-client/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
This is the popular block building game Minecraft.
|
||||
|
||||
WWW: http://www.minecraft.net/
|
4
games/minecraft-client/pkg-plist
Normal file
4
games/minecraft-client/pkg-plist
Normal file
@ -0,0 +1,4 @@
|
||||
share/minecraft-client/minecraft.jar
|
||||
share/minecraft-client/Grass.png
|
||||
bin/minecraft-client
|
||||
@dirrm share/minecraft-client
|
Loading…
Reference in New Issue
Block a user