aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/mencal
diff options
context:
space:
mode:
authordaichi <daichi@FreeBSD.org>2003-07-18 13:30:18 +0800
committerdaichi <daichi@FreeBSD.org>2003-07-18 13:30:18 +0800
commit918e5fde615a4a57dea3d0cddfa83b5d7798d99d (patch)
treed69f22e81a3b19eda65727210d921d9776b9beb6 /deskutils/mencal
parentbcb40644d69faa09f6c56ae6a443792c9e41ee99 (diff)
downloadfreebsd-ports-gnome-918e5fde615a4a57dea3d0cddfa83b5d7798d99d.tar.gz
freebsd-ports-gnome-918e5fde615a4a57dea3d0cddfa83b5d7798d99d.tar.zst
freebsd-ports-gnome-918e5fde615a4a57dea3d0cddfa83b5d7798d99d.zip
update deskutils/mencal: 2.1 -> 2.3
PR: 54568 Submitted by: Kirill Ponomarew <ponomarew@oberon.net>
Diffstat (limited to 'deskutils/mencal')
-rw-r--r--deskutils/mencal/Makefile5
-rw-r--r--deskutils/mencal/distinfo2
-rw-r--r--deskutils/mencal/files/patch-mencal10
3 files changed, 9 insertions, 8 deletions
diff --git a/deskutils/mencal/Makefile b/deskutils/mencal/Makefile
index 36c4f4356a05..8492290eaffe 100644
--- a/deskutils/mencal/Makefile
+++ b/deskutils/mencal/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= mencal
-PORTVERSION= 2.1
+PORTVERSION= 2.3
CATEGORIES= deskutils
-MASTER_SITES= http://mencal.kyberdigi.cz/ \
- http://unixpages.org/distfiles/
+MASTER_SITES= http://kyberdigi.cz/projects/${PORTNAME}/
MAINTAINER= ports@FreeBSD.org
COMMENT= A variation of the unix command cal
diff --git a/deskutils/mencal/distinfo b/deskutils/mencal/distinfo
index 2f2a355fe737..5e85d62c542c 100644
--- a/deskutils/mencal/distinfo
+++ b/deskutils/mencal/distinfo
@@ -1 +1 @@
-MD5 (mencal-2.1.tar.gz) = 6fc94b9174eb2ac71084b8848d4f5a3d
+MD5 (mencal-2.3.tar.gz) = e0fa5665b8f7772521bb95379bfdec20
diff --git a/deskutils/mencal/files/patch-mencal b/deskutils/mencal/files/patch-mencal
index baf21677526b..d75ab1ac38be 100644
--- a/deskutils/mencal/files/patch-mencal
+++ b/deskutils/mencal/files/patch-mencal
@@ -1,19 +1,21 @@
---- mencal.orig Fri Mar 29 08:14:03 2002
-+++ mencal Wed Sep 18 18:19:07 2002
+--- mencal.orig Thu Jul 17 09:26:57 2003
++++ mencal Thu Jul 17 09:27:35 2003
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl -w
##< month object >##
-@@ -271,13 +271,6 @@
+@@ -276,15 +276,6 @@
}
}
- my @locales=split("\n", `locale -c LC_TIME`);
- if(($#locales>=1) && length($locales[1])) {
- $config{'topline'}='';
-- foreach my $day (split(';', $locales[1])) { $day=~s/^(..).+$/$1/; $config{'topline'}.=$day.' '; }
+- foreach my $day (split(';', $locales[1])) {
+- $config{'topline'}.=sprintf("% 2s ", substr($day, 0, 2));
+- }
- $config{'topline'}=~s/ +$//;
- }
- $config{'topline'}=~s/;/ /g;