1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

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
This commit is contained in:
Robert Clausecker 2021-07-27 16:18:55 +02:00 committed by Neel Chauhan
parent 6c8827c65d
commit d30fe4532a
3 changed files with 30 additions and 26 deletions

View File

@ -1,7 +1,7 @@
# Created by: Lewis Thompson <purple@lewiz.net>
PORTNAME= remind
DISTVERSION= 03.03.07
DISTVERSION= 03.03.08
CATEGORIES= deskutils
MASTER_SITES= https://dianne.skoll.ca/projects/remind/download/
@ -10,26 +10,6 @@ COMMENT= Sophisticated calendar and alarm program
LICENSE= GPLv2
OPTIONS_DEFINE= TCLTK A4
OPTIONS_RADIO= LANGUAGE
OPTIONS_RADIO_LANGUAGE= 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
LANG.DE= GERMAN
LANG.NL= DUTCH
LANG.FI= FINNISH
LANG.FR= FRENCH
LANG.NN= NORWEGIAN
LANG.DA= DANISH
LANG.PL= POLISH
LANG.BPR= BRAZPORT
LANG.IT= ITALIAN
LANG.RO= ROMANIAN
LANG.ES= SPANISH
LANG.IS= ICELANDIC
GNU_CONFIGURE= yes
MAKE_ARGS= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
@ -40,6 +20,27 @@ PLIST_FILES= bin/rem \
man/man1/rem2ps.1.gz \
man/man1/remind.1.gz
OPTIONS_DEFINE= TCLTK A4
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
LANG.FI= FINNISH
LANG.FR= FRENCH
LANG.NN= NORWEGIAN
LANG.DA= DANISH
LANG.PL= POLISH
LANG.PBR= BRAZPORT
LANG.IT= ITALIAN
LANG.RO= ROMANIAN
LANG.ES= SPANISH
LANG.IS= ICELANDIC
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:

View File

@ -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

View File

@ -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.