git: d30fe4532ac7 - main - deskutils/remind: update to 03.03.08
Neel Chauhan
nc at FreeBSD.org
Wed Sep 15 16:38:14 UTC 2021
The branch main has been updated by nc:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d30fe4532ac7ccfa1512ea0f9a5d0a1992c8534c
commit d30fe4532ac7ccfa1512ea0f9a5d0a1992c8534c
Author: Robert Clausecker <fuz at fuz.su>
AuthorDate: 2021-07-27 14:18:55 +0000
Commit: Neel Chauhan <nc at FreeBSD.org>
CommitDate: 2021-09-15 16:37:35 +0000
deskutils/remind: update to 03.03.08
While we are here:
- fix LANG_PBR handling
- add a dummy LANG_US option to avoid confusion
- add a pkg-help file explaining that only one language can be installed at a time
Changelog: https://git.skoll.ca/Skollsoft-Public/Remind/src/branch/master/docs/WHATSNEW
PR: 258499
Reported By: portscout
---
deskutils/remind/Makefile | 35 ++++++++++++++++++-----------------
deskutils/remind/distinfo | 6 +++---
deskutils/remind/pkg-help | 3 +++
3 files changed, 24 insertions(+), 20 deletions(-)
diff --git a/deskutils/remind/Makefile b/deskutils/remind/Makefile
index 949ff47ac36f..da2250823d98 100644
--- a/deskutils/remind/Makefile
+++ b/deskutils/remind/Makefile
@@ -1,7 +1,7 @@
# Created by: Lewis Thompson <purple at lewiz.net>
PORTNAME= remind
-DISTVERSION= 03.03.07
+DISTVERSION= 03.03.08
CATEGORIES= deskutils
MASTER_SITES= https://dianne.skoll.ca/projects/remind/download/
@@ -10,12 +10,23 @@ COMMENT= Sophisticated calendar and alarm program
LICENSE= GPLv2
+GNU_CONFIGURE= yes
+MAKE_ARGS= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
+
+PLIST_FILES= bin/rem \
+ bin/rem2ps \
+ bin/remind \
+ man/man1/rem.1.gz \
+ man/man1/rem2ps.1.gz \
+ man/man1/remind.1.gz
+
OPTIONS_DEFINE= TCLTK A4
-OPTIONS_RADIO= LANGUAGE
-OPTIONS_RADIO_LANGUAGE= LANG_DE LANG_NL LANG_FI LANG_FR LANG_NN \
+OPTIONS_DEFAULT=LANG_US
+OPTIONS_SINGLE= LANGUAGE
+OPTIONS_SINGLE_LANGUAGE= LANG_US LANG_DE LANG_NL LANG_FI LANG_FR LANG_NN \
LANG_DA LANG_PL LANG_PBR LANG_IT LANG_RO LANG_ES LANG_IS
-
A4_DESC= Use A4 instead of Letter paper
+LANGUAGE_DESC= User interface language
LANG.DE= GERMAN
LANG.NL= DUTCH
@@ -24,22 +35,12 @@ LANG.FR= FRENCH
LANG.NN= NORWEGIAN
LANG.DA= DANISH
LANG.PL= POLISH
-LANG.BPR= BRAZPORT
+LANG.PBR= BRAZPORT
LANG.IT= ITALIAN
LANG.RO= ROMANIAN
LANG.ES= SPANISH
LANG.IS= ICELANDIC
-GNU_CONFIGURE= yes
-MAKE_ARGS= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
-
-PLIST_FILES= bin/rem \
- bin/rem2ps \
- bin/remind \
- man/man1/rem.1.gz \
- man/man1/rem2ps.1.gz \
- man/man1/remind.1.gz
-
TCLTK_USES= tk
TCLTK_RUN_DEPENDS= dtplite:devel/tcllib
TCLTK_PLIST_FILES= bin/cm2rem.tcl \
@@ -49,8 +50,8 @@ TCLTK_PLIST_FILES= bin/cm2rem.tcl \
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MLANG_??}
-CFLAGS+= -DLANG=${${PORT_OPTIONS:MLANG_??:S/_/./}}
+.if "${PORT_OPTIONS:MLANG_*}" != "" && "${PORT_OPTIONS:MLANG_*}" != LANG_US
+CFLAGS+= -DLANG=${${PORT_OPTIONS:MLANG_*:S/_/./}}
.endif
post-patch:
diff --git a/deskutils/remind/distinfo b/deskutils/remind/distinfo
index 5b1575b4ee75..876c238db2ee 100644
--- a/deskutils/remind/distinfo
+++ b/deskutils/remind/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1624644769
-SHA256 (remind-03.03.07.tar.gz) = 87c94e29d1e18954ff5d22247d7eca307ce621e11d22c14208f903f68a3b8a3d
-SIZE (remind-03.03.07.tar.gz) = 404576
+TIMESTAMP = 1631630542
+SHA256 (remind-03.03.08.tar.gz) = 25ea12cd914b7d4aecc5731b5bcb81295c0e3df963d86b9171a4eca145b7b788
+SIZE (remind-03.03.08.tar.gz) = 407339
diff --git a/deskutils/remind/pkg-help b/deskutils/remind/pkg-help
new file mode 100644
index 000000000000..208c8204851e
--- /dev/null
+++ b/deskutils/remind/pkg-help
@@ -0,0 +1,3 @@
+The LANGUAGE option selects what language the program's messages and
+user interface appears in. Only one language is supported at once
+and must be selected at compile time.
More information about the dev-commits-ports-all
mailing list