aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-11-05 23:39:23 +0800
committervs <vs@FreeBSD.org>2004-11-05 23:39:23 +0800
commit7539937fb40727343ba6e272e2b5693677b05d85 (patch)
tree95a2d927a2a673b922b5549ed48a043bffbe9636 /japanese
parent0af4a58687d11a8e0548aa40ebebd4d1a29efc3a (diff)
downloadfreebsd-ports-gnome-7539937fb40727343ba6e272e2b5693677b05d85.tar.gz
freebsd-ports-gnome-7539937fb40727343ba6e272e2b5693677b05d85.tar.zst
freebsd-ports-gnome-7539937fb40727343ba6e272e2b5693677b05d85.zip
- Unbreak: Update to 1.18 (files are unversioned)
- Nuke pkg-plist while here
Diffstat (limited to 'japanese')
-rw-r--r--japanese/cal.rb/Makefile9
-rw-r--r--japanese/cal.rb/distinfo12
-rw-r--r--japanese/cal.rb/pkg-plist4
3 files changed, 11 insertions, 14 deletions
diff --git a/japanese/cal.rb/Makefile b/japanese/cal.rb/Makefile
index 8853278da168..d25fe1dacf09 100644
--- a/japanese/cal.rb/Makefile
+++ b/japanese/cal.rb/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= cal.rb
-PORTVERSION= 1.17
-PORTREVISION= 1
+PORTVERSION= 1.18
CATEGORIES= japanese deskutils
MASTER_SITES= http://aglaia.c.u-tokyo.ac.jp/~yamamoto/Script/Calendar/
DISTFILES= cal.rb Calendar.rb era_name
@@ -16,8 +15,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}
@@ -27,6 +24,10 @@ RUBY_SHEBANG_FILES= ${WRKSRC}/cal.rb
NO_WRKSUBDIR= yes
NO_BUILD= yes
+PLIST_FILES= bin/cal.rb %%RUBY_SITELIBDIR%%/Calendar.rb \
+ %%DATADIR%%/era_name
+PLIST_DIRS= %%DATADIR%%
+
post-patch:
${RUBY} -i -pe 'sub "./era_name", "${DATADIR}/era_name"' \
${WRKSRC}/Calendar.rb
diff --git a/japanese/cal.rb/distinfo b/japanese/cal.rb/distinfo
index 52474c8fef3d..9669f5c1052c 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) = 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
+MD5 (cal.rb-1.18/cal.rb) = 14c99f034cda2b7f7a6ba453e1ad2e4c
+SIZE (cal.rb-1.18/cal.rb) = 2231
+MD5 (cal.rb-1.18/Calendar.rb) = a059ee4253a861ef501dbe94c04f3004
+SIZE (cal.rb-1.18/Calendar.rb) = 16901
+MD5 (cal.rb-1.18/era_name) = 2c3c6a4de0d7d8a2101fbe7165509982
+SIZE (cal.rb-1.18/era_name) = 2804
diff --git a/japanese/cal.rb/pkg-plist b/japanese/cal.rb/pkg-plist
deleted file mode 100644
index a258b91a6780..000000000000
--- a/japanese/cal.rb/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/cal.rb
-%%RUBY_SITELIBDIR%%/Calendar.rb
-%%DATADIR%%/era_name
-@dirrm %%DATADIR%%