git: 57cc08169a7d - main - deskutils/remind: update to 04.03.02

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Sat, 02 Mar 2024 20:18:24 UTC
The branch main has been updated by fuz:

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

commit 57cc08169a7d636cb2d87315faf3e4707b911fd4
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2024-03-02 16:08:48 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-03-02 20:18:03 +0000

    deskutils/remind: update to 04.03.02
    
     - move manpages to share/man
    
    Changelog: https://git.skoll.ca/Skollsoft-Public/Remind/src/branch/master/docs/WHATSNEW
---
 deskutils/remind/Makefile                    |  3 ++-
 deskutils/remind/distinfo                    |  6 +++---
 deskutils/remind/files/patch-src_Makefile.in | 18 ++++++++++++++----
 deskutils/remind/pkg-plist                   | 13 ++++++++-----
 4 files changed, 27 insertions(+), 13 deletions(-)

diff --git a/deskutils/remind/Makefile b/deskutils/remind/Makefile
index 856e37c52c1c..491c31c05955 100644
--- a/deskutils/remind/Makefile
+++ b/deskutils/remind/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	remind
-DISTVERSION=	04.02.09
+DISTVERSION=	04.03.02
 CATEGORIES=	deskutils
 # upstream moves distfiles to OLD once a new release appears
 MASTER_SITES=	https://dianne.skoll.ca/projects/remind/download/ \
@@ -15,6 +15,7 @@ USES=		autoreconf
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-perl-build-artifacts
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 MAKE_ARGS=	INSTALL_SCRIPT="${INSTALL_SCRIPT}"
 INSTALL_TARGET=	${WITH_DEBUG:Dinstall:Uinstall-stripped}
 
diff --git a/deskutils/remind/distinfo b/deskutils/remind/distinfo
index e7e2d0ad7264..fd8ed7774a9e 100644
--- a/deskutils/remind/distinfo
+++ b/deskutils/remind/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1707084350
-SHA256 (remind-04.02.09.tar.gz) = 64468460b405a705dfa7b38db14b7823f10da8f003aeea281517ddb4986b872a
-SIZE (remind-04.02.09.tar.gz) = 515231
+TIMESTAMP = 1709395185
+SHA256 (remind-04.03.02.tar.gz) = b4be4db5bfd12284fd98a71d5359dd068fe91b086d22c4674d5d252fa4a0d55c
+SIZE (remind-04.03.02.tar.gz) = 523684
diff --git a/deskutils/remind/files/patch-src_Makefile.in b/deskutils/remind/files/patch-src_Makefile.in
index 3314391e7576..8fc98485d7bf 100644
--- a/deskutils/remind/files/patch-src_Makefile.in
+++ b/deskutils/remind/files/patch-src_Makefile.in
@@ -1,15 +1,25 @@
---- src/Makefile.in.orig	2022-10-14 15:06:27 UTC
+--- src/Makefile.in.orig	2024-03-01 14:10:26 UTC
 +++ src/Makefile.in
-@@ -52,8 +52,11 @@ remind: $(REMINDOBJS)
+@@ -52,9 +52,12 @@ install: all
  
  install: all
  	-mkdir -p $(DESTDIR)$(bindir) || true
 -	for prog in $(PROGS) $(SCRIPTS) ; do \
 +	for prog in $(PROGS) ; do \
  		$(INSTALL_PROGRAM) $$prog $(DESTDIR)$(bindir) || exit 1; \
-+	done
+ 	done
 +	for script in $(SCRIPTS) ; do \
 +		$(INSTALL_SCRIPT) $$script $(DESTDIR)$(bindir) || exit 1; \
- 	done
++	done
  	rm -f $(DESTDIR)$(bindir)/rem > /dev/null 2>&1 || true
  	ln -s remind $(DESTDIR)$(bindir)/rem
+ 	-mkdir -p $(DESTDIR)$(mandir)/man1 || true
+@@ -66,7 +69,7 @@ install: all
+ 	-mkdir -p $(DESTDIR)$(prefix)/share/pixmaps
+ 	-mkdir -p $(DESTDIR)$(prefix)/share/applications
+ 	$(INSTALL_DATA) $(srcdir)/../resources/tkremind.png $(DESTDIR)$(prefix)/share/pixmaps
+-	$(INSTALL_PROGRAM) $(srcdir)/../resources/tkremind.desktop $(DESTDIR)$(prefix)/share/applications
++	$(INSTALL_DATA) $(srcdir)/../resources/tkremind.desktop $(DESTDIR)$(prefix)/share/applications
+ 	-if test "$(DESTDIR)" = ""; then \
+ 	    update-desktop-database < /dev/null > /dev/null 2>&1 ; \
+ 	    xdg-icon-resource install --novendor --size 64 $(DESTDIR)$(prefix)/share/pixmaps/tkremind.png < /dev/null > /dev/null 2>&1; \
diff --git a/deskutils/remind/pkg-plist b/deskutils/remind/pkg-plist
index b7e9bbc30580..898b96412e67 100644
--- a/deskutils/remind/pkg-plist
+++ b/deskutils/remind/pkg-plist
@@ -9,11 +9,13 @@ bin/remind
 %%REM2PDF%%%%PERL5_MAN1%%/rem2pdf.1.gz
 %%REM2PDF%%%%PERL5_MAN3%%/Remind::PDF.3.gz
 %%REM2PDF%%%%PERL5_MAN3%%/Remind::PDF::Entry.3.gz
-man/man1/rem.1.gz
-%%REM2HTML%%man/man1/rem2html.1.gz
-man/man1/rem2ps.1.gz
-man/man1/remind.1.gz
-%%TCLTK%%man/man1/tkremind.1.gz
+share/man/man1/rem.1.gz
+%%REM2HTML%%share/man/man1/rem2html.1.gz
+share/man/man1/rem2ps.1.gz
+share/man/man1/remind.1.gz
+%%TCLTK%%share/man/man1/tkremind.1.gz
+share/applications/tkremind.desktop
+share/pixmaps/tkremind.png
 %%DATADIR%%/ansitext.rem
 %%DATADIR%%/holidays/ca.rem
 %%DATADIR%%/holidays/fr.rem
@@ -22,6 +24,7 @@ man/man1/remind.1.gz
 %%DATADIR%%/holidays/jewish.rem
 %%DATADIR%%/holidays/us.rem
 %%DATADIR%%/lang/auto.rem
+%%DATADIR%%/lang/ca.rem
 %%DATADIR%%/lang/da.rem
 %%DATADIR%%/lang/de.rem
 %%DATADIR%%/lang/en.rem