diff options
-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 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; |