git: b0541360b8b2 - main - games/minecraft-client: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Mon, 31 Mar 2025 15:48:11 UTC
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b0541360b8b2c497857ea903b4a4117f6c5c47ee

commit b0541360b8b2c497857ea903b4a4117f6c5c47ee
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2025-03-31 15:48:06 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2025-03-31 15:48:06 +0000

    games/minecraft-client: Remove expired port
    
    2025-03-31 games/minecraft-client: dead upstream, no longer functional
---
 MOVED                                          |  1 +
 games/Makefile                                 |  1 -
 games/minecraft-client/Makefile                | 53 --------------------------
 games/minecraft-client/distinfo                |  5 ---
 games/minecraft-client/files/Notifier.java     | 40 -------------------
 games/minecraft-client/files/minecraft-client  | 19 ---------
 games/minecraft-client/files/minecraft-runtime | 44 ---------------------
 games/minecraft-client/pkg-descr               |  1 -
 games/minecraft-client/pkg-plist               |  5 ---
 9 files changed, 1 insertion(+), 168 deletions(-)

diff --git a/MOVED b/MOVED
index 39c599de3c39..3fecff4e790e 100644
--- a/MOVED
+++ b/MOVED
@@ -4268,3 +4268,4 @@ net-im/sayaka||2025-03-31|Has expired: Depends on expired security/mbedtls2
 finance/odoo17||2025-03-31|Has expired: Depends on expired print/py-pypdf2
 databases/grass7|databases/grass8|2025-03-31|Has expired: Please use databases/grass8
 multimedia/tcmplex-panteltje||2025-03-31|Has expired: Abandonware, upstream is gone and no consumers in tree
+games/minecraft-client||2025-03-31|Has expired: dead upstream, no longer functional
diff --git a/games/Makefile b/games/Makefile
index 2c13aec1255b..95977cfa1868 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -628,7 +628,6 @@
     SUBDIR += meqcc
     SUBDIR += meritous
     SUBDIR += mindfocus
-    SUBDIR += minecraft-client
     SUBDIR += minecraft-server
     SUBDIR += minerbold
     SUBDIR += minetest_game
diff --git a/games/minecraft-client/Makefile b/games/minecraft-client/Makefile
deleted file mode 100644
index a1704e24d6ab..000000000000
--- a/games/minecraft-client/Makefile
+++ /dev/null
@@ -1,53 +0,0 @@
-PORTNAME=	minecraft-client
-PORTVERSION=	1.7.9
-PORTREVISION=	7
-CATEGORIES=	games java
-MASTER_SITES=	https://homura.magzu.net/games/ \
-		LOCAL/tagattie/${PORTNAME}/${PORTVERSION}
-DISTFILES=	Minecraft.jar \
-		Grass.png
-DIST_SUBDIR=	${PORTNAME}/${PORTVERSION}
-EXTRACT_ONLY=
-
-DEPRECATED=	dead upstream, no longer functional
-EXPIRATION_DATE=	2025-03-31
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Client for the block building game
-WWW=		https://minecraft.net/
-
-RUN_DEPENDS=	${JAVALIBDIR}/lwjgl/lwjgl.jar:games/lwjgl \
-		xrandr:x11/xrandr
-
-USES=		java openal
-JAVA_OS=	native
-JAVA_VENDOR=	openjdk
-
-DESKTOP_ENTRIES="Minecraft" \
-		"Block building game" \
-		"${PREFIX}/share/pixmaps/minecraft-client.png" \
-		"${PORTNAME}" \
-		"Game;Java;" \
-		false
-
-NO_ARCH=	yes
-NO_BUILD=	yes
-NO_WRKSUBDIR=	yes
-
-do-install:
-	@${MKDIR} ${STAGEDIR}${DATADIR}
-	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/Minecraft.jar \
-		${STAGEDIR}${DATADIR}/Minecraft.jar
-	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/Grass.png \
-		${STAGEDIR}${PREFIX}/share/pixmaps/minecraft-client.png
-	${SED}  -e 's|=JAVA_HOME|=${JAVA_HOME}|' \
-		-e 's|PREFIX|${PREFIX}|' \
-		-e 's|JAVA_CMD|${JAVA}|' ${FILESDIR}/minecraft-client \
-		> ${WRKDIR}/minecraft-client
-	${SED} -e 's|%%PREFIX%%|${PREFIX}|' ${FILESDIR}/Notifier.java \
-		> ${WRKDIR}/Notifier.java
-	${INSTALL_SCRIPT} ${WRKDIR}/minecraft-client ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_SCRIPT} ${FILESDIR}/minecraft-runtime ${STAGEDIR}${DATADIR}
-	${INSTALL_DATA} ${WRKDIR}/Notifier.java ${STAGEDIR}${DATADIR}
-
-.include <bsd.port.mk>
diff --git a/games/minecraft-client/distinfo b/games/minecraft-client/distinfo
deleted file mode 100644
index 990a20584bdb..000000000000
--- a/games/minecraft-client/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-TIMESTAMP = 1580044441
-SHA256 (minecraft-client/1.7.9/Minecraft.jar) = e8d90b2637b141b556670d8460d317aadb6e4f2e644e519995c428800b25f212
-SIZE (minecraft-client/1.7.9/Minecraft.jar) = 280212
-SHA256 (minecraft-client/1.7.9/Grass.png) = 5927b41c7fb768888721cc9e64edaabc831ce51620e783cf66dbf83116e21775
-SIZE (minecraft-client/1.7.9/Grass.png) = 5388
diff --git a/games/minecraft-client/files/Notifier.java b/games/minecraft-client/files/Notifier.java
deleted file mode 100644
index 416896678207..000000000000
--- a/games/minecraft-client/files/Notifier.java
+++ /dev/null
@@ -1,40 +0,0 @@
-import javax.swing.JFrame;
-import javax.swing.JOptionPane;
-import javax.swing.UIManager;
-import javax.swing.Icon;
-import java.awt.EventQueue;
-
-public class Notifier extends JFrame{
-    
-    //Using a standard Java icon
-    private Icon optionIcon = UIManager.getIcon("FileView.computerIcon");
-    
-    public static void main(String[] args) {
-     
-     EventQueue.invokeLater(new Runnable()
-     {
-         public void run()
-         {
-             //create GUI frame
-             new Notifier().setVisible(true);          
-         }
-     });
-              
-    }
-    
-    public Notifier()
-    {
-        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
-        //setTitle("Simple Dialog Box Example");
-        //setSize(500,500);
-        
-        setLocationRelativeTo(null); 
-        
-        // Show our warning to first time users
-        JOptionPane.showMessageDialog(this, "Before starting MineCraft, be sure to open your Profile and set the Java Executable to: '%%PREFIX%%/share/minecraft-client/minecraft-runtime'" 
-                ,"Important Notification", JOptionPane.PLAIN_MESSAGE);
-
-	System.exit(0);
-        
-    }
-}
diff --git a/games/minecraft-client/files/minecraft-client b/games/minecraft-client/files/minecraft-client
deleted file mode 100644
index b66391b5f1eb..000000000000
--- a/games/minecraft-client/files/minecraft-client
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-export JAVA_HOME=JAVA_HOME
-
-# The first time warn the user to set the runtime executable in place of java
-if [ ! -e "${HOME}/.minecraft/notified-runtime" ] ; then
-   if [ ! -d "${HOME}/.minecraft" ] ; then
-      mkdir ${HOME}/.minecraft
-   fi
-   touch ${HOME}/.minecraft/notified-runtime 2>/dev/null
-
-   # No .minecraft dir, lets display the first time notification
-   javac -d /tmp /usr/local/share/minecraft-client/Notifier.java
-   cd /tmp
-   # Run this as a background task, so that it appears over the launcher
-   ( sleep 3; java Notifier ; rm Notifier*.class ) &
-fi
-
-exec ${JAVA_HOME}/bin/java -Djava.nio.file.spi.DefaultFileSystemProvider=sun.nio.fs.BsdFileSystemProvider \
- -Dos.name=Linux -jar /usr/local/share/minecraft-client/Minecraft.jar
diff --git a/games/minecraft-client/files/minecraft-runtime b/games/minecraft-client/files/minecraft-runtime
deleted file mode 100644
index 9517128a51a2..000000000000
--- a/games/minecraft-client/files/minecraft-runtime
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/sh
-
-LWJGL_JLP_OVRD="/usr/local/lib/lwjgl"
-LWJGL_OVRD="/usr/local/share/java/classes/lwjgl/lwjgl.jar"
-LWJGL_UTIL_OVRD="/usr/local/share/java/classes/lwjgl/lwjgl_util.jar"
-
-export JAVA_HOME=/usr/local/openjdk8
-
-build_classpath() {
-    local IFS=":"
-    for p in ${1}
-    do
-        case "${p}" in
-        *lwjgl-*)
-            cp="${cp}:${LWJGL_OVRD}"
-            ;;
-        *lwjgl_util*)
-            cp="${cp}:${LWJGL_UTIL_OVRD}"
-            ;;
-        *)
-            cp="${cp}:${p}"
-            ;;
-        esac
-    done
-    cp=${cp#?}
-}
-
-for var in "${@}"
-do
-    case "${var}" in
-    -Djava.library*)
-        args="${args} -Djava.library.path=${LWJGL_JLP_OVRD}"
-        ;;
-    *lwjgl_util*)
-        build_classpath "${var}"
-        args="${args} ${cp}"
-        ;;
-    *)
-        args="${args} ${var}"
-        ;;
-    esac
-done
-
-${JAVA_HOME}/jre/bin/java ${args}
diff --git a/games/minecraft-client/pkg-descr b/games/minecraft-client/pkg-descr
deleted file mode 100644
index 60761b181250..000000000000
--- a/games/minecraft-client/pkg-descr
+++ /dev/null
@@ -1 +0,0 @@
-This is the popular block building game Minecraft.
diff --git a/games/minecraft-client/pkg-plist b/games/minecraft-client/pkg-plist
deleted file mode 100644
index b84c0fc856e0..000000000000
--- a/games/minecraft-client/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-bin/minecraft-client
-%%DATADIR%%/Minecraft.jar
-%%DATADIR%%/minecraft-runtime
-%%DATADIR%%/Notifier.java
-share/pixmaps/minecraft-client.png