git: ac57f8233dc9 - main - math/gretl: Update 2021d -> 2022a

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 13 Mar 2022 18:30:21 UTC
The branch main has been updated by yuri:

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

commit ac57f8233dc934025baec27fd69373b9fad26838
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-03-13 18:29:38 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-03-13 18:30:15 +0000

    math/gretl: Update 2021d -> 2022a
    
    Reported by:    portscout
---
 math/gretl/Makefile                    | 10 ++++++++--
 math/gretl/distinfo                    |  6 +++---
 math/gretl/files/patch-Makefile.in     | 14 --------------
 math/gretl/files/patch-gui_Makefile.in | 29 -----------------------------
 math/gretl/pkg-plist                   |  7 +++++--
 5 files changed, 16 insertions(+), 50 deletions(-)

diff --git a/math/gretl/Makefile b/math/gretl/Makefile
index c10f79361356..e3f80f595856 100644
--- a/math/gretl/Makefile
+++ b/math/gretl/Makefile
@@ -1,7 +1,7 @@
 # Created by: ijliao
 
 PORTNAME=	gretl
-PORTVERSION=	2021d
+PORTVERSION=	2022a
 CATEGORIES=	math finance
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${DISTVERSIONFULL}/
 
@@ -99,7 +99,13 @@ regression-test test check: build
 		${MAKE_ARGS} check
 
 post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gretl-*/*.so
+	# strip
+	@${STRIP_CMD} \
+		${STAGEDIR}${PREFIX}/bin/gretlcli \
+		${STAGEDIR}${PREFIX}/bin/gretl_x11 \
+		${STAGEDIR}${PREFIX}/lib/libgretl-1.0.so.* \
+		${STAGEDIR}${PREFIX}/lib/gretl-gtk3/*.so
+	# rm doc
 	@${RMDIR} ${STAGEDIR}${DATADIR}/doc
 
 .include <bsd.port.mk>
diff --git a/math/gretl/distinfo b/math/gretl/distinfo
index cfa9723ae54f..e8fff1d5c4cf 100644
--- a/math/gretl/distinfo
+++ b/math/gretl/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1633145930
-SHA256 (gretl-2021d.tar.xz) = ce28f7dfb3ff31e982c2f31a8766d4137a1dbf429ffca5ba7d49763a03338ee2
-SIZE (gretl-2021d.tar.xz) = 13256260
+TIMESTAMP = 1647186580
+SHA256 (gretl-2022a.tar.xz) = 27e25cb8275adb1609e5a573e945d1fa75a289de90c690edb780d795be8be140
+SIZE (gretl-2022a.tar.xz) = 13322784
diff --git a/math/gretl/files/patch-Makefile.in b/math/gretl/files/patch-Makefile.in
deleted file mode 100644
index 97f95d04d3c0..000000000000
--- a/math/gretl/files/patch-Makefile.in
+++ /dev/null
@@ -1,14 +0,0 @@
---- Makefile.in.orig	2021-05-07 16:11:37 UTC
-+++ Makefile.in
-@@ -50,8 +50,9 @@ ifeq ($(use_xdg),yes)
-   XDGDIR = xdg
- endif
- 
--INSTALL_PROGRAM = ${INSTALL} -m 755
--INSTALL_DATA = ${INSTALL} -m 644
-+INSTALL_PROGRAM = @INSTALL_PROGRAM@
-+INSTALL_SCRIPT = @INSTALL_SCRIPT@
-+INSTALL_DATA = @INSTALL_DATA@
- 
- export
- 
diff --git a/math/gretl/files/patch-gui_Makefile.in b/math/gretl/files/patch-gui_Makefile.in
deleted file mode 100644
index b3acf0ba175d..000000000000
--- a/math/gretl/files/patch-gui_Makefile.in
+++ /dev/null
@@ -1,29 +0,0 @@
---- gui/Makefile.in.orig	2021-10-02 16:19:02 UTC
-+++ gui/Makefile.in
-@@ -167,7 +167,7 @@ else ifeq ($(win32_build),yes)
-   INSTALL_GTKRC = install-gtkrc
- else
-   PROG = gretl_x11$(EXEEXT)
--  INSTALL_SCRIPT = install-script
-+  INSTALL_SCRIPT_TARGET = install-script
- endif
- 
- vpath %.c $(topsrc)/gui
-@@ -301,7 +301,7 @@ gretl-icons.gresource: gretl-icons.xml
- 
- .PHONY:
- 
--install: install-exec install-ui $(INSTALL_SCRIPT) install-data install-lang install-styles \
-+install: install-exec install-ui $(INSTALL_SCRIPT_TARGET) install-data install-lang install-styles \
- 	install-icons install-news $(INSTALL_GTKRC) $(INSTALL_CMDFILE)
- 
- install-strip: $(PROG) install-data
-@@ -319,7 +319,7 @@ install-icons: gretl-icons.gresource installdirs
- 	$(INSTALL_DATA) gretl-icons.gresource $(DESTDIR)$(gretldir)
- 
- install-script: installdirs
--	$(INSTALL_PROGRAM) ../gretl_sh $(DESTDIR)$(bindir)/gretl
-+	$(INSTALL_SCRIPT) ../gretl_sh $(DESTDIR)$(bindir)/gretl
- 
- install-exec: $(PROG) installdirs 
- 	$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(bindir)/$(PROG)
diff --git a/math/gretl/pkg-plist b/math/gretl/pkg-plist
index 2b972cbbe85c..4ae0f72972c0 100644
--- a/math/gretl/pkg-plist
+++ b/math/gretl/pkg-plist
@@ -139,8 +139,8 @@ lib/gretl-gtk%%GTK_VER%%/vif.so
 %%GUI%%lib/gretl-gtk%%GTK_VER%%/xlsx_import.so
 %%GUI%%lib/gretl-gtk%%GTK_VER%%/xml_get.so
 lib/libgretl-1.0.so
-lib/libgretl-1.0.so.40
-lib/libgretl-1.0.so.40.0.0
+lib/libgretl-1.0.so.41
+lib/libgretl-1.0.so.41.0.0
 libdata/pkgconfig/gretl.pc
 man/man1/gretl.1.gz
 %%GUI%%share/appdata/gretl.appdata.xml
@@ -179,6 +179,7 @@ man/man1/gretl.1.gz
 %%DATADIR%%/data/misc/australia.gdt
 %%DATADIR%%/data/misc/b-g.gdt
 %%DATADIR%%/data/misc/banks91.gdt
+%%DATADIR%%/data/misc/bikesharing.gdt
 %%DATADIR%%/data/misc/bjg.gdt
 %%DATADIR%%/data/misc/brand_cassola.gdt
 %%DATADIR%%/data/misc/broiler.gdt
@@ -341,6 +342,8 @@ man/man1/gretl.1.gz
 %%ADDONS%%%%DATADIR%%/functions/HIP/examples/README.txt
 %%ADDONS%%%%DATADIR%%/functions/HIP/examples/camtriv_chap14.gdtb
 %%ADDONS%%%%DATADIR%%/functions/HIP/examples/camtriv_chap14.inp
+%%ADDONS%%%%DATADIR%%/functions/KFgui/KFgui.gfn
+%%ADDONS%%%%DATADIR%%/functions/KFgui/examples/kwh.inp
 %%ADDONS%%%%DATADIR%%/functions/SVAR/SVAR.gfn
 %%ADDONS%%%%DATADIR%%/functions/SVAR/SVAR.pdf
 %%ADDONS%%%%DATADIR%%/functions/SVAR/examples/BlQuah.gdt