git: c93407b0ccd4 - main - lang/algol68g: update Algol 68 Genie to version 3.4.6

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Mon, 15 Jan 2024 06:41:25 UTC
The branch main has been updated by danfe:

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

commit c93407b0ccd4024960ad14adcaaababe5aa8baef
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2024-01-15 06:40:22 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2024-01-15 06:40:22 +0000

    lang/algol68g: update Algol 68 Genie to version 3.4.6
    
    - Install documentation (except two useless files)
    - Modernize `post-patch' target recipe and comments
    
    Reported by:    portscout
---
 lang/algol68g/Makefile | 15 +++++++++------
 lang/algol68g/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/lang/algol68g/Makefile b/lang/algol68g/Makefile
index 9eba4fc8bda5..8f6f5a0ecf3c 100644
--- a/lang/algol68g/Makefile
+++ b/lang/algol68g/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	algol68g
-PORTVERSION=	3.4.4
+PORTVERSION=	3.4.6
 CATEGORIES=	lang
 MASTER_SITES=	https://jmvdveer.home.xs4all.nl/
 
@@ -13,7 +13,9 @@ USES=		readline
 GNU_CONFIGURE=	yes
 TEST_TARGET=	check
 
-OPTIONS_DEFINE=	CURL GSL PGSQL PLOTUTILS RMATH
+PORTDOCS=	AUTHORS NEWS README
+
+OPTIONS_DEFINE=	CURL DOCS GSL PGSQL PLOTUTILS RMATH
 OPTIONS_DEFAULT=	CURL GSL PGSQL PLOTUTILS RMATH
 
 CURL_LIB_DEPENDS=	libcurl.so:ftp/curl
@@ -35,10 +37,11 @@ RMATH_LIB_DEPENDS=	libRmath.so:math/libRmath
 RMATH_CONFIGURE_ENABLE=	mathlib
 
 post-patch:
-#	Skip broken check, assume our $CC works
-	@${REINPLACE_CMD} -Ee 's/.*(\*-freebsd)/\1/' \
-		-e 's|"xgcc"|"x${CC}"|; s/-ldl //' ${WRKSRC}/configure
-	@${REINPLACE_CMD} -e '/^install-data-am/s/install-docDATA//' \
+# Trim architecture constraints from the target triple to allow building
+# on every platform FreeBSD supports (now or in the future)
+	@${REINPLACE_CMD} -e 's/.*\(\*-freebsd\)/\1/' ${WRKSRC}/configure
+# Do not install GPLv3 boilerplate and ChangeLog which redirects to NEWS
+	@${REINPLACE_CMD} -e '/^doc_DATA/s/ COPYING ChangeLog//' \
 		${WRKSRC}/Makefile.in
 
 .include <bsd.port.mk>
diff --git a/lang/algol68g/distinfo b/lang/algol68g/distinfo
index 448c3fcce7f6..691ddbeb326a 100644
--- a/lang/algol68g/distinfo
+++ b/lang/algol68g/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1698439043
-SHA256 (algol68g-3.4.4.tar.gz) = ce05c4e45e2e7638fb382fa54516f114000147abee349e5b028ba076c9476cb9
-SIZE (algol68g-3.4.4.tar.gz) = 661980
+TIMESTAMP = 1705244862
+SHA256 (algol68g-3.4.6.tar.gz) = f1e9e8d5aa2f970b1be93fbf6977aaaefc25782bfb1e3daed796df60311c5eb5
+SIZE (algol68g-3.4.6.tar.gz) = 661358