git: fe5a77594ce8 - main - lang/gawk: update GNU awk to version 5.4.1

Alexey Dokuchaev <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by danfe:

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

commit fe5a77594ce8e35348e34bad2a0f4f5cc54bf059
Author:     Alexey Dokuchaev <[email protected]>
AuthorDate: 2026-07-31 17:02:20 +0000
Commit:     Alexey Dokuchaev <[email protected]>
CommitDate: 2026-07-31 17:02:20 +0000

    lang/gawk: update GNU awk to version 5.4.1
    
    - Move options block below the common knobs
    - Install some standard documentation files
    
    Reported by:    portscout
---
 lang/gawk/Makefile  | 28 +++++++++++++++++-----------
 lang/gawk/distinfo  |  6 +++---
 lang/gawk/pkg-plist |  2 ++
 3 files changed, 22 insertions(+), 14 deletions(-)

diff --git a/lang/gawk/Makefile b/lang/gawk/Makefile
index f0557b600e5b..434881a32cff 100644
--- a/lang/gawk/Makefile
+++ b/lang/gawk/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	gawk
-PORTVERSION=	5.4.0
+PORTVERSION=	5.4.1
 CATEGORIES=	lang
 MASTER_SITES=	GNU
 
@@ -12,16 +12,6 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 CONFLICTS_INSTALL=	ja-gawk # bin/gawk
 
-OPTIONS_DEFINE=		NLS MPFR
-OPTIONS_SUB=		yes
-NLS_USES=		gettext
-NLS_CONFIGURE_OFF=	--disable-nls
-MPFR_DESC?=		Support multiple-precision floating-point computation
-MPFR_LIB_DEPENDS=	libgmp.so:math/gmp libmpfr.so:math/mpfr
-MPFR_CONFIGURE_OFF=	--without-gmp --without-mpfr
-
-INFO=		gawk gawkinet gawkworkflow notes pm-gawk
-
 USES=		gmake iconv libtool readline tar:lz
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	${ICONV_CONFIGURE_ARG} \
@@ -30,6 +20,22 @@ CONFIGURE_ARGS=	${ICONV_CONFIGURE_ARG} \
 INSTALL_TARGET=	install-strip
 TEST_TARGET=	check
 
+INFO=		gawk gawkinet gawknotes gawkworkflow pm-gawk
 PLIST_SUB+=	VERSION=${PORTVERSION}
+PORTDOCS=	AUTHORS ChangeLog* NEWS* POSIX.STD README TODO
+
+OPTIONS_DEFINE=	DOCS MPFR NLS
+OPTIONS_SUB=	yes
+
+MPFR_DESC=	Multiple-precision floating-point support
+MPFR_LIB_DEPENDS=	libgmp.so:math/gmp libmpfr.so:math/mpfr
+MPFR_CONFIGURE_OFF=	--without-gmp --without-mpfr
+
+NLS_USES=	gettext
+NLS_CONFIGURE_OFF=	--disable-nls
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>
diff --git a/lang/gawk/distinfo b/lang/gawk/distinfo
index 416162123514..163b5a97e5bc 100644
--- a/lang/gawk/distinfo
+++ b/lang/gawk/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1771772006
-SHA256 (gawk-5.4.0.tar.lz) = e9dd0f64ca203be9942e4b39dffdf946384018ab8de57a4ab1576e363c54555f
-SIZE (gawk-5.4.0.tar.lz) = 3611641
+TIMESTAMP = 1783616180
+SHA256 (gawk-5.4.1.tar.lz) = e5cf1994979ccee99a4e97223c687b67be27015b2f8f368c62250fe81109813b
+SIZE (gawk-5.4.1.tar.lz) = 3644362
diff --git a/lang/gawk/pkg-plist b/lang/gawk/pkg-plist
index 149f1e47869f..8c8d8ea3450d 100644
--- a/lang/gawk/pkg-plist
+++ b/lang/gawk/pkg-plist
@@ -62,6 +62,7 @@ share/info/gawk_statist.jpg
 %%NLS%%share/locale/he/LC_MESSAGES/gawk.mo
 %%NLS%%share/locale/id/LC_MESSAGES/gawk.mo
 %%NLS%%share/locale/it/LC_MESSAGES/gawk.mo
+%%NLS%%share/locale/ka/LC_MESSAGES/gawk.mo
 %%NLS%%share/locale/ko/LC_MESSAGES/gawk.mo
 %%NLS%%share/locale/nl/LC_MESSAGES/gawk.mo
 %%NLS%%share/locale/pl/LC_MESSAGES/gawk.mo
@@ -80,6 +81,7 @@ share/man/man3/filefuncs.3am.gz
 share/man/man3/fnmatch.3am.gz
 share/man/man3/fork.3am.gz
 share/man/man3/inplace.3am.gz
+share/man/man3/intdiv.3am.gz
 share/man/man3/ordchr.3am.gz
 share/man/man3/readdir.3am.gz
 share/man/man3/readfile.3am.gz
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.