git: b42056e27450 - main - games/freecol: update to 1.1.0

From: Alex Dupre <ale_at_FreeBSD.org>
Date: Fri, 17 May 2024 10:10:51 UTC
The branch main has been updated by ale:

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

commit b42056e274500ab64968f5cb9b265473d3a7f410
Author:     Alex Dupre <ale@FreeBSD.org>
AuthorDate: 2024-05-17 10:09:42 +0000
Commit:     Alex Dupre <ale@FreeBSD.org>
CommitDate: 2024-05-17 10:10:48 +0000

    games/freecol: update to 1.1.0
    
    PR:             279047
    Submitted by:   wen <wenheping2000@hotmail.com>
---
 games/freecol/Makefile         | 12 +++++++-----
 games/freecol/distinfo         |  5 +++--
 games/freecol/files/freecol.in |  2 +-
 3 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/games/freecol/Makefile b/games/freecol/Makefile
index 05acdd808fa2..fe8e208f14b3 100644
--- a/games/freecol/Makefile
+++ b/games/freecol/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	freecol
-PORTVERSION=	0.11.6
+PORTVERSION=	1.1.0
 CATEGORIES=	games java
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
@@ -9,12 +9,14 @@ WWW=		https://freecol.org/
 
 LICENSE=	GPLv2
 
+USES=		cpe zip
+
 OPTIONS_DEFINE=	DOCS
 
-USES=		cpe zip
 NO_BUILD=	yes
+NO_ARCH=	yes
 SUB_FILES=	freecol
-USE_JAVA=	yes
+USE_JAVA=	11+
 
 PLIST_FILES=	bin/freecol \
 		${DESKTOPDIR:S,^${PREFIX}/,,}/freecol.desktop
@@ -31,10 +33,10 @@ do-install:
 	${INSTALL_SCRIPT} ${WRKDIR}/freecol ${STAGEDIR}${PREFIX}/bin/
 	${INSTALL_DATA} ${WRKSRC}/freecol.desktop ${STAGEDIR}${DESKTOPDIR}/
 	@${MKDIR} ${STAGEDIR}${DATADIR}
-	@${INSTALL_DATA} ${WRKSRC}/FreeCol.jar ${STAGEDIR}${DATADIR}/
+	${INSTALL_DATA} ${WRKSRC}/FreeCol.jar ${STAGEDIR}${DATADIR}/
 	@(cd ${WRKSRC} && ${COPYTREE_SHARE} data ${STAGEDIR}${DATADIR}/)
 	@(cd ${WRKSRC} && ${COPYTREE_SHARE} jars ${STAGEDIR}${DATADIR}/)
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/FreeCol.pdf ${STAGEDIR}${DOCSDIR}/
+	${INSTALL_DATA} ${WRKSRC}/FreeCol.pdf ${STAGEDIR}${DOCSDIR}/
 
 .include <bsd.port.mk>
diff --git a/games/freecol/distinfo b/games/freecol/distinfo
index a7116ea4f0d9..fc3b943d82ea 100644
--- a/games/freecol/distinfo
+++ b/games/freecol/distinfo
@@ -1,2 +1,3 @@
-SHA256 (freecol-0.11.6.zip) = 5f545278caf518ef51bae0b8141966cdfc3ca24f3f4446af5be693942f3d8e6b
-SIZE (freecol-0.11.6.zip) = 38642198
+TIMESTAMP = 1715935738
+SHA256 (freecol-1.1.0.zip) = 19afd5161f85638edb2943539a840c09dec8be57fb75825d2f8fdc9fdd246158
+SIZE (freecol-1.1.0.zip) = 194579961
diff --git a/games/freecol/files/freecol.in b/games/freecol/files/freecol.in
index 6561b3d346d8..59c97dce3be0 100644
--- a/games/freecol/files/freecol.in
+++ b/games/freecol/files/freecol.in
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-java -Xmx512M -jar %%DATADIR%%/FreeCol.jar --freecol-data %%DATADIR%%/data "$@"
+java -Xmx2G -jar %%DATADIR%%/FreeCol.jar --freecol-data %%DATADIR%%/data "$@"