diff options
author | daichi <daichi@FreeBSD.org> | 2003-07-18 05:30:18 +0000 |
---|---|---|
committer | daichi <daichi@FreeBSD.org> | 2003-07-18 05:30:18 +0000 |
commit | 918e5fde615a4a57dea3d0cddfa83b5d7798d99d (patch) | |
tree | d69f22e81a3b19eda65727210d921d9776b9beb6 /deskutils/mencal | |
parent | bcb40644d69faa09f6c56ae6a443792c9e41ee99 (diff) | |
download | FreeBSD-ports-918e5fde615a4a57dea3d0cddfa83b5d7798d99d.zip FreeBSD-ports-918e5fde615a4a57dea3d0cddfa83b5d7798d99d.tar.gz |
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/Makefile | 5 | ||||
-rw-r--r-- | deskutils/mencal/distinfo | 2 | ||||
-rw-r--r-- | deskutils/mencal/files/patch-mencal | 10 |
3 files changed, 9 insertions, 8 deletions
diff --git a/deskutils/mencal/Makefile b/deskutils/mencal/Makefile index 36c4f43..8492290 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 2f2a355..5e85d62 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 baf2167..d75ab1a 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; |