mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
update deskutils/mencal: 2.1 -> 2.3
PR: 54568 Submitted by: Kirill Ponomarew <ponomarew@oberon.net>
This commit is contained in:
parent
707e090355
commit
116015765e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=85105
3 changed files with 9 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (mencal-2.1.tar.gz) = 6fc94b9174eb2ac71084b8848d4f5a3d
|
||||
MD5 (mencal-2.3.tar.gz) = e0fa5665b8f7772521bb95379bfdec20
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue