git: 21cea368930f - main - math/geonext: Mark DEPRECATED

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 05 Nov 2023 23:38:36 UTC
The branch main has been updated by bofh:

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

commit 21cea368930f4a0d10c5bc5fca1bfc7efec13ea1
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-11-05 23:25:01 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-11-05 23:38:13 +0000

    math/geonext: Mark DEPRECATED
    
    - Last upstream release was in 2014
    - Current WWW redirects to a cloud based application
    - Set EXPIRATION_DATE 2023-12-05
    
    Approved by:    portmgr (blanket)
---
 math/geonext/Makefile | 27 ++++++++++++++++-----------
 1 file changed, 16 insertions(+), 11 deletions(-)

diff --git a/math/geonext/Makefile b/math/geonext/Makefile
index 6a8a359284c6..82f5761e258f 100644
--- a/math/geonext/Makefile
+++ b/math/geonext/Makefile
@@ -2,6 +2,11 @@ PORTNAME=	geonext
 PORTVERSION=	1.74
 CATEGORIES+=	math education graphics java
 MASTER_SITES=	http://geonext.uni-bayreuth.de/data/download/${PORTVERSION}/
+# For the slave ports
+.if ${WITH_LANG} != "en"
+PKGNAMEPREFIX=	${WITH_LANG}-
+.endif
+
 DISTNAME=	geonext.${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
@@ -11,11 +16,20 @@ WWW=		http://www.geonext.de
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/license.txt
 
-WRKSRC=		${WRKDIR}/geonext_install
-NO_BUILD=	yes
+DEPRECATED=	Last upstream release was in 2014
+EXPIRATION_DATE=	2023-12-05
+
 USES=		zip
 USE_JAVA=	yes
 
+NO_BUILD=	yes
+SUB_FILES=	geonext
+SUB_LIST+=	JAVA="${LOCALBASE}/bin/java" LANG=${WITH_LANG}
+
+WRKSRC=		${WRKDIR}/geonext_install
+
+PLIST_SUB+=	LANG=${WITH_LANG}
+
 DATA=	cacerts didmat.crt geonext-batik.jar geonext.html geonext.jar \
 	help.jar help_de.jar help_fr.jar help_gr.jar help_it.jar \
 	help_uk.jar index.html license.txt
@@ -36,15 +50,6 @@ WITH_LANG=	en
 PLIST_SUB+=	MASTER="@comment "
 .endif
 
-# For the slave ports
-.if ${WITH_LANG} != "en"
-PKGNAMEPREFIX=	${WITH_LANG}-
-.endif
-
-PLIST_SUB+=	LANG=${WITH_LANG}
-SUB_FILES=	geonext
-SUB_LIST+=	JAVA="${LOCALBASE}/bin/java" LANG=${WITH_LANG}
-
 .include <bsd.port.pre.mk>
 
 .if defined(MASTER)