git: d71016baf945 - main - devel/astah-community: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Tue, 11 Feb 2025 19:46:58 UTC
The branch main has been updated by rene:

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

commit d71016baf945724a60dbdbee8b17a185d29476fc
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2025-02-11 19:46:54 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2025-02-11 19:46:54 +0000

    devel/astah-community: Remove expired port
    
    2025-02-11 devel/astah-community: Upstream no longer provides community edition
---
 MOVED                                              |  1 +
 devel/Makefile                                     |  1 -
 devel/astah-community/Makefile                     | 84 ----------------------
 devel/astah-community/distinfo                     |  2 -
 devel/astah-community/files/patch-astah            | 21 ------
 devel/astah-community/files/patch-astah-command.sh | 17 -----
 devel/astah-community/pkg-descr                    | 17 -----
 7 files changed, 1 insertion(+), 142 deletions(-)

diff --git a/MOVED b/MOVED
index 82f0788edd6c..845c0cb29b0e 100644
--- a/MOVED
+++ b/MOVED
@@ -4144,3 +4144,4 @@ devel/lattice-ice40-examples-hx1k||2025-02-08|Listed as BROKEN for months in tre
 devel/lattice-ice40-examples-hx8k||2025-02-08|Listed as BROKEN for months in tree and unmaintained
 devel/lattice-ice40-tools||2025-02-08|Listed as BROKEN for months in tree and unmaintained
 devel/py-yandex-money-sdk||2025-02-11|Has expired: Dead project. Yandex.Money is no more
+devel/astah-community||2025-02-11|Has expired: Upstream no longer provides community edition
diff --git a/devel/Makefile b/devel/Makefile
index bc4eb5e26eed..b1f00aed9879 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -242,7 +242,6 @@
     SUBDIR += asmjit
     SUBDIR += asmutils
     SUBDIR += asmx
-    SUBDIR += astah-community
     SUBDIR += astyle
     SUBDIR += asyncplusplus
     SUBDIR += atf
diff --git a/devel/astah-community/Makefile b/devel/astah-community/Makefile
deleted file mode 100644
index 3a3c8e44bc88..000000000000
--- a/devel/astah-community/Makefile
+++ /dev/null
@@ -1,84 +0,0 @@
-PORTNAME=	astah
-PORTVERSION=	6.9.0
-PORTREVISION=	1
-CATEGORIES=	devel java
-MASTER_SITES=	#
-PKGNAMESUFFIX=	-community
-DISTNAME=	${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION:S!.!_!g}-${REVISION}
-
-MAINTAINER=	tota@FreeBSD.org
-COMMENT=	Java/UML Object-Oriented Design Tool
-WWW=		https://astah.net/editions/community
-
-LICENSE=	EULA
-LICENSE_NAME=	End User License Agreement
-LICENSE_TEXT=	License restrictions -- See http://astah.net/faq/community/enduser-license-agreement
-LICENSE_PERMS=	no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell no-auto-accept
-
-DEPRECATED=	Upstream no longer provides community edition
-EXPIRATION_DATE=	2025-02-11
-
-USES=		java zip
-REVISION=	b4c6e9
-
-WRKSRC=		${WRKDIR}/${PORTNAME}${PKGNAMESUFFIX:S!-!_!}
-
-PORTDOCS=	API_sample_program_license_agreement.txt \
-		API_sample_program_license_agreement_ja.txt \
-		CommandRunner.html CommandRunner_ja.html \
-		ProductInformation.txt \
-		api
-PORTEXAMPLES=	astah-key.properties_org Sample.asta
-PORTDATA=	astah-community.jar astah-api.jar astah-gui_en.properties_org \
-		astah.ico astah-doc.ico \
-		lib template
-
-NO_BUILD=	yes
-
-PLIST_FILES=	bin/astah bin/astah-command.sh
-
-DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
-EXAMPLESDIR=	${PREFIX}/share/examples/${PORTNAME}${PKGNAMESUFFIX}
-DATADIR=	${JAVASHAREDIR}/${PORTNAME}${PKGNAMESUFFIX}
-
-REINPLACE_ARGS=	-i ""
-
-OPTIONS_DEFINE=	DOCS EXAMPLES
-
-.include <bsd.port.pre.mk>
-
-.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
-DOWNLOAD_URL=	http://members.change-vision.com/files/${PORTNAME}${PKGNAMESUFFIX:S!-!_!}/${PORTVERSION:S!.!_!g}/${DISTFILES}
-IGNORE=		needs you to fetch manually the distribution file\
-		from ${DOWNLOAD_URL}, \
-		then place it in ${DISTDIR} and run make again
-.endif
-
-post-patch:
-.for script in ${PLIST_FILES:S!bin/!!}
-	@${REINPLACE_CMD} -e "s!%%JAVA_HOME%%!${JAVA_HOME}!g; \
-	                     s!%%DATADIR%%!${DATADIR}!" \
-		 ${WRKSRC}/${script}
-.endfor
-.if ${PORT_OPTIONS:MDOCS}
-	@${REINPLACE_CMD} 's/png\\/png\//' ${WRKSRC}/api/en/doc/astahAPI_reference.html
-.endif
-
-do-install:
-.for script in ${PLIST_FILES:S!bin/!!}
-	${INSTALL_SCRIPT} ${WRKSRC}/${script} ${STAGEDIR}${PREFIX}/bin
-.endfor
-	@${MKDIR} ${STAGEDIR}${DATADIR}
-	(cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" ${STAGEDIR}${DATADIR})
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for docfile in ${PORTDOCS:Napi}
-	${INSTALL_DATA} ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR}
-.endfor
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}/api
-	(cd ${WRKSRC}/api && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}/api)
-	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-.for examplefile in ${PORTEXAMPLES}
-	${INSTALL_DATA} ${WRKSRC}/${examplefile} ${STAGEDIR}${EXAMPLESDIR}
-.endfor
-
-.include <bsd.port.post.mk>
diff --git a/devel/astah-community/distinfo b/devel/astah-community/distinfo
deleted file mode 100644
index cf760f371a53..000000000000
--- a/devel/astah-community/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (astah-community-6_9_0-b4c6e9.zip) = d742429959ca325077fd649f644d83f379cbc5afb4d4a030a007debee7a5a2fd
-SIZE (astah-community-6_9_0-b4c6e9.zip) = 27339223
diff --git a/devel/astah-community/files/patch-astah b/devel/astah-community/files/patch-astah
deleted file mode 100644
index 1774fa3c855d..000000000000
--- a/devel/astah-community/files/patch-astah
+++ /dev/null
@@ -1,21 +0,0 @@
---- astah.orig	2013-03-08 06:02:20.000000000 +0900
-+++ astah	2013-03-15 10:47:26.000000000 +0900
-@@ -3,9 +3,10 @@
- #Remove "#" from following two lines, if you'd like to use j2sdk.
- #JAVA_HOME=/usr/lib/j2sdk1.4/;export JAVA_HOME
- #PATH=$JAVA_HOME/bin:$PATH; export PATH
-+PATH=%%DATADIR%%:$PATH
- 
--#ASTAH_HOME=/usr/local/share/astah_community
--ASTAH_HOME=`dirname "$0"`
-+ASTAH_HOME=%%DATADIR%%
-+#ASTAH_HOME=`dirname "$0"`
- ASTAH_JAR=astah-community.jar
- 
- CLASSPATH=$ASTAH_HOME/$ASTAH_JAR
-@@ -13,4 +14,4 @@
- JAVA_OPTS="-Xms16m -Xmx384m"
- #JAVA_OPTS="\$JAVA_OPTS -DrootLevel=DEBUG"
- 
--java $JAVA_OPTS -jar $ASTAH_HOME/$ASTAH_JAR  "$1" $2 $3
-+%%JAVA_HOME%%/bin/java $JAVA_OPTS -jar $ASTAH_HOME/$ASTAH_JAR "$1" $2 $3
diff --git a/devel/astah-community/files/patch-astah-command.sh b/devel/astah-community/files/patch-astah-command.sh
deleted file mode 100644
index ceee7e423459..000000000000
--- a/devel/astah-community/files/patch-astah-command.sh
+++ /dev/null
@@ -1,17 +0,0 @@
---- astah-command.sh.orig	2013-03-08 06:02:20.000000000 +0900
-+++ astah-command.sh	2013-03-15 10:50:23.000000000 +0900
-@@ -22,7 +22,7 @@
- #export PATH=$PATH:$JAVA_HOME/bin
- 
- #ASTAH_HOME=/usr/lib/astah_community
--ASTAH_HOME=`dirname "$0"`
-+ASTAH_HOME=%%DATADIR%%
- 
- INITIAL_HEAP_SIZE=64m
- MAXIMUM_HEAP_SIZE=1024m
-@@ -30,4 +30,4 @@
- JAVA_OPTS="-Xms$INITIAL_HEAP_SIZE -Xmx$MAXIMUM_HEAP_SIZE"
- #JAVA_OPTS="\$JAVA_OPTS -DrootLevel=DEBUG"
- 
--java $JAVA_OPTS -cp "$ASTAH_HOME/astah-community.jar" com.change_vision.jude.cmdline.JudeCommandRunner "$@"
-+%%JAVA_HOME%%/bin/java $JAVA_OPTS -cp "$ASTAH_HOME/astah-community.jar" com.change_vision.jude.cmdline.JudeCommandRunner "$@"
diff --git a/devel/astah-community/pkg-descr b/devel/astah-community/pkg-descr
deleted file mode 100644
index 745360c53f84..000000000000
--- a/devel/astah-community/pkg-descr
+++ /dev/null
@@ -1,17 +0,0 @@
-astah* community is a simple and user-friendly UML modeling tool.
-
-astah* community features:
-- UML 2.x (Class, UseCase, Sequence, Activity, Communication, Statemachine,
-  Component, Deployment, Composite Structure, Object and Package Diagrams)
-- Suggest Feature
-- Alignment Guide
-- Customizing Keybinds
-- Oval, TextBox, Filled Rectangle, Corner-rounded Rectangle and Texts
-- Alignment, Size adjustment
-- Print
-- Export diagram images (PNG, JPEG) *1
-- astah* API (Models of Class, UseCase, Activity, Sequence and Statemachine
-  Diagrames)
-- GUI Localization
-
-*1 The product name is displayed on the corner.