git: d6407e1a281f - main - deskutils/remind: update to 03.03.07
Neel Chauhan
nc at FreeBSD.org
Sun Jun 27 02:45:25 UTC 2021
The branch main has been updated by nc:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d6407e1a281f2b5d9e5e4e09ae754780b04bd29e
commit d6407e1a281f2b5d9e5e4e09ae754780b04bd29e
Author: Robert Clausecker <fuz at fuz.su>
AuthorDate: 2021-06-25 19:14:43 +0000
Commit: Neel Chauhan <nc at FreeBSD.org>
CommitDate: 2021-06-27 02:44:34 +0000
deskutils/remind: update to 03.03.07
Also add support for building localised versions.
PR: 256837
---
deskutils/remind/Makefile | 40 +++++++++++++++++++++++++++++++---------
deskutils/remind/distinfo | 6 +++---
2 files changed, 34 insertions(+), 12 deletions(-)
diff --git a/deskutils/remind/Makefile b/deskutils/remind/Makefile
index 79a727c81a04..949ff47ac36f 100644
--- a/deskutils/remind/Makefile
+++ b/deskutils/remind/Makefile
@@ -1,17 +1,34 @@
# Created by: Lewis Thompson <purple at lewiz.net>
PORTNAME= remind
-PORTVERSION= 3.1.16
+DISTVERSION= 03.03.07
CATEGORIES= deskutils
MASTER_SITES= https://dianne.skoll.ca/projects/remind/download/
-DISTNAME= ${PORTNAME}-03.01.16
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= fuz at fuz.su
COMMENT= Sophisticated calendar and alarm program
LICENSE= GPLv2
-OPTIONS_DEFINE= TCLTK
+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}"
@@ -23,12 +40,17 @@ PLIST_FILES= bin/rem \
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 \
+ bin/tkremind \
+ man/man1/cm2rem.1.gz \
+ man/man1/tkremind.1.gz
+
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MTCLTK}
-USES= tk
-RUN_DEPENDS+= dtplite:devel/tcllib
-PLIST_FILES+= bin/cm2rem.tcl bin/tkremind
+.if ${PORT_OPTIONS:MLANG_??}
+CFLAGS+= -DLANG=${${PORT_OPTIONS:MLANG_??:S/_/./}}
.endif
post-patch:
@@ -54,7 +76,7 @@ post-patch:
.if defined(LOCATION)
@${REINPLACE_CMD} -e 's#Ottawa#${LOCATION}#' ${WRKSRC}/src/custom.h
.endif
-.if defined(A4)
+.if defined(A4) || ${PORT_OPTIONS:MA4}
@${REINPLACE_CMD} -e 's#"Letter", 612, 792#"A4", 595, 842#' ${WRKSRC}/src/custom.h
.endif
.if ${PORT_OPTIONS:MTCLTK}
diff --git a/deskutils/remind/distinfo b/deskutils/remind/distinfo
index 09a71a5529d6..5b1575b4ee75 100644
--- a/deskutils/remind/distinfo
+++ b/deskutils/remind/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1559907097
-SHA256 (remind-03.01.16.tar.gz) = eeb79bd4019d23a033fe3e86c672d960399db6a27c747e5b466ad55831dfca93
-SIZE (remind-03.01.16.tar.gz) = 354521
+TIMESTAMP = 1624644769
+SHA256 (remind-03.03.07.tar.gz) = 87c94e29d1e18954ff5d22247d7eca307ce621e11d22c14208f903f68a3b8a3d
+SIZE (remind-03.03.07.tar.gz) = 404576
More information about the dev-commits-ports-all
mailing list