diff options
author | pav <pav@FreeBSD.org> | 2004-07-25 22:36:49 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-07-25 22:36:49 +0000 |
commit | cc7dedb998937728fd234d73507bb4a0c9a057c7 (patch) | |
tree | b5ddcf9ddce3620d1225e50252dc5e53ea4b7e95 /japanese | |
parent | c70b6b4139a818c7594dfd58c5b2fdf2ed90d8bd (diff) | |
download | FreeBSD-ports-cc7dedb998937728fd234d73507bb4a0c9a057c7.zip FreeBSD-ports-cc7dedb998937728fd234d73507bb4a0c9a057c7.tar.gz |
- Chase checksum, unbreak
--- /usr/ports/distfiles/cal.rb-1.17/Calendar.rb Tue Jun 8 05:37:53 2004
+++ Calendar.rb Fri Jan 30 13:18:35 2004
@@ -308,11 +308,9 @@
wday = what_day(year, month, day) if wday == -1
f.each{|s|
s.chomp!
-# s.gsub!(" ", "")
+ s.gsub!(" ", "")
next if /^#/ =~ s
-# puts s.split(",\s*")
-# puts "#{day} #{month} #{year}"
- y, m, d, w, j, e, c = s.split(",\s*")
+ y, m, d, w, j, e, c = s.split(",")
if (y == "*" or y == year.to_s) and
(m == "*" or m == month.to_s) and
(w == "*" or w == wday.to_s) and
PR: ports/69511
Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/cal.rb/Makefile | 3 | ||||
-rw-r--r-- | japanese/cal.rb/distinfo | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/japanese/cal.rb/Makefile b/japanese/cal.rb/Makefile index 643dc27..0db9f6c 100644 --- a/japanese/cal.rb/Makefile +++ b/japanese/cal.rb/Makefile @@ -7,6 +7,7 @@ PORTNAME= cal.rb PORTVERSION= 1.17 +PORTREVISION= 1 CATEGORIES= japanese deskutils MASTER_SITES= http://aglaia.c.u-tokyo.ac.jp/~yamamoto/Script/Calendar/ DISTFILES= cal.rb Calendar.rb era_name @@ -15,8 +16,6 @@ DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Displays a Japanese calendar -BROKEN= "Size mismatch" - EXTRACT_CMD= ${CP} EXTRACT_BEFORE_ARGS= EXTRACT_AFTER_ARGS= ${WRKSRC} diff --git a/japanese/cal.rb/distinfo b/japanese/cal.rb/distinfo index c02dd91..52474c8 100644 --- a/japanese/cal.rb/distinfo +++ b/japanese/cal.rb/distinfo @@ -1,6 +1,6 @@ MD5 (cal.rb-1.17/cal.rb) = ae467414630d0f68373589bb738c5c34 SIZE (cal.rb-1.17/cal.rb) = 2231 -MD5 (cal.rb-1.17/Calendar.rb) = f77cd29b06b24c9d4824160bc525a85b -SIZE (cal.rb-1.17/Calendar.rb) = 16831 +MD5 (cal.rb-1.17/Calendar.rb) = f569281e2fa602870bc954996623b28f +SIZE (cal.rb-1.17/Calendar.rb) = 16895 MD5 (cal.rb-1.17/era_name) = 2c3c6a4de0d7d8a2101fbe7165509982 SIZE (cal.rb-1.17/era_name) = 2804 |