diff --git a/lang/gawk/Makefile b/lang/gawk/Makefile index 3c51e4560175..5f3df306681f 100644 --- a/lang/gawk/Makefile +++ b/lang/gawk/Makefile @@ -1,40 +1,37 @@ PORTNAME= gawk -PORTVERSION= 5.2.1 +PORTVERSION= 5.2.2 CATEGORIES= lang MASTER_SITES= GNU MAINTAINER= danfe@FreeBSD.org COMMENT= GNU version of AWK scripting language WWW= https://www.gnu.org/software/gawk/gawk.html LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libsigsegv.so:devel/libsigsegv 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 pm-gawk GNU_CONFIGURE= yes -USES= iconv libtool makeinfo readline tar:lz +USES= gmake iconv libtool makeinfo readline tar:lz CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} \ --with-libintl-prefix=${LOCALBASE} \ AWK=${AWK} INSTALL_TARGET= install-strip TEST_TARGET= check PLIST_SUB+= VERSION=${PORTVERSION} -post-patch: - @${RM} ${WRKSRC}/doc/*.info - .include diff --git a/lang/gawk/distinfo b/lang/gawk/distinfo index 4ec558dc2da5..be0d1c67e965 100644 --- a/lang/gawk/distinfo +++ b/lang/gawk/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1669135006 -SHA256 (gawk-5.2.1.tar.lz) = 26c58bfe5b1c0d2ab2b5d440772bd28baa9d282e0ba42ca3e1270f784c72d3ad -SIZE (gawk-5.2.1.tar.lz) = 3253425 +TIMESTAMP = 1683611786 +SHA256 (gawk-5.2.2.tar.lz) = d672438c4faaee78562adfeea31ad183881fe2b694c6a79025591810ec39972d +SIZE (gawk-5.2.2.tar.lz) = 3272115 diff --git a/lang/gawk/files/patch-Makefile.in b/lang/gawk/files/patch-Makefile.in index ed32fb3b3939..393dd720f340 100644 --- a/lang/gawk/files/patch-Makefile.in +++ b/lang/gawk/files/patch-Makefile.in @@ -1,11 +1,11 @@ ---- Makefile.in.orig 2015-05-19 13:38:35 UTC +--- Makefile.in.orig 2023-05-07 18:29:33 UTC +++ Makefile.in -@@ -1178,7 +1178,7 @@ install-exec-hook: - (cd $(DESTDIR)$(bindir); \ - name=`echo gawk | sed '$(transform)'` ; \ - $(LN) $${name}$(EXEEXT) gawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \ +@@ -1306,7 +1306,7 @@ install-exec-hook: + if [ ! -f gawk-$(VERSION)$(EXEEXT) ]; \ + then $(LN) $${name}$(EXEEXT) gawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \ + fi; \ - if [ ! -f awk$(EXEEXT) ]; \ + if ! /usr/bin/which -s awk; \ then $(LN_S) $${name}$(EXEEXT) awk$(EXEEXT); \ fi; exit 0) diff --git a/lang/gawk/pkg-plist b/lang/gawk/pkg-plist index c00de6bd0ce7..3f42c27282e0 100644 --- a/lang/gawk/pkg-plist +++ b/lang/gawk/pkg-plist @@ -1,83 +1,90 @@ bin/gawk bin/gawk-%%VERSION%% bin/gawkbug etc/profile.d/gawk.csh etc/profile.d/gawk.sh include/gawkapi.h lib/gawk/filefuncs.so lib/gawk/fnmatch.so lib/gawk/fork.so lib/gawk/inplace.so lib/gawk/intdiv.so lib/gawk/ordchr.so lib/gawk/readdir.so lib/gawk/readfile.so lib/gawk/revoutput.so lib/gawk/revtwoway.so lib/gawk/rwarray.so lib/gawk/time.so libexec/awk/grcat libexec/awk/pwcat man/man1/gawk.1.gz man/man1/gawkbug.1.gz man/man1/pm-gawk.1.gz man/man3/filefuncs.3am.gz man/man3/fnmatch.3am.gz man/man3/fork.3am.gz man/man3/inplace.3am.gz man/man3/ordchr.3am.gz man/man3/readdir.3am.gz man/man3/readfile.3am.gz man/man3/revoutput.3am.gz man/man3/revtwoway.3am.gz man/man3/rwarray.3am.gz man/man3/time.3am.gz share/awk/assert.awk share/awk/bits2str.awk share/awk/cliff_rand.awk share/awk/ctime.awk share/awk/ftrans.awk share/awk/getopt.awk share/awk/gettime.awk share/awk/group.awk share/awk/have_mpfr.awk share/awk/inplace.awk share/awk/intdiv0.awk share/awk/isnumeric.awk share/awk/join.awk share/awk/libintl.awk share/awk/noassign.awk share/awk/ns_passwd.awk share/awk/ord.awk share/awk/passwd.awk share/awk/processarray.awk share/awk/quicksort.awk share/awk/readable.awk share/awk/readfile.awk share/awk/rewind.awk share/awk/round.awk share/awk/shellquote.awk share/awk/strtonum.awk share/awk/walkarray.awk share/awk/zerofile.awk +share/info/gawk_api-figure1.png +share/info/gawk_api-figure2.png +share/info/gawk_api-figure3.png +share/info/gawk_array-elements.png +share/info/gawk_general-program.png +share/info/gawk_process-flow.png +share/info/gawk_statist.jpg %%NLS%%share/locale/bg/LC_MESSAGES/gawk.mo %%NLS%%share/locale/ca/LC_MESSAGES/gawk.mo %%NLS%%share/locale/da/LC_MESSAGES/gawk.mo %%NLS%%share/locale/de/LC_MESSAGES/gawk.mo %%NLS%%share/locale/es/LC_MESSAGES/gawk.mo %%NLS%%share/locale/fi/LC_MESSAGES/gawk.mo %%NLS%%share/locale/fr/LC_MESSAGES/gawk.mo %%NLS%%share/locale/id/LC_MESSAGES/gawk.mo %%NLS%%share/locale/it/LC_MESSAGES/gawk.mo %%NLS%%share/locale/ja/LC_MESSAGES/gawk.mo %%NLS%%share/locale/ko/LC_MESSAGES/gawk.mo %%NLS%%share/locale/ms/LC_MESSAGES/gawk.mo %%NLS%%share/locale/nl/LC_MESSAGES/gawk.mo %%NLS%%share/locale/pl/LC_MESSAGES/gawk.mo %%NLS%%share/locale/pt/LC_MESSAGES/gawk.mo %%NLS%%share/locale/pt_BR/LC_MESSAGES/gawk.mo %%NLS%%share/locale/ro/LC_MESSAGES/gawk.mo %%NLS%%share/locale/sr/LC_MESSAGES/gawk.mo %%NLS%%share/locale/sv/LC_MESSAGES/gawk.mo %%NLS%%share/locale/vi/LC_MESSAGES/gawk.mo %%NLS%%share/locale/zh_CN/LC_MESSAGES/gawk.mo