aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2003-03-25 20:18:28 +0800
committernaddy <naddy@FreeBSD.org>2003-03-25 20:18:28 +0800
commit811a4327cc7db64fc8381eec7490e750d6a361fd (patch)
tree9ac7ad43427a85bf998e3c3783a5e16adb11139f /japanese
parent3318b78a0189b2e58ebf4e15c06d41f55f7c3ad2 (diff)
downloadfreebsd-ports-gnome-811a4327cc7db64fc8381eec7490e750d6a361fd.tar.gz
freebsd-ports-gnome-811a4327cc7db64fc8381eec7490e750d6a361fd.tar.zst
freebsd-ports-gnome-811a4327cc7db64fc8381eec7490e750d6a361fd.zip
Update to 1.12.
PR: 49997 Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
Diffstat (limited to 'japanese')
-rw-r--r--japanese/cal.rb/Makefile15
-rw-r--r--japanese/cal.rb/distinfo6
-rw-r--r--japanese/cal.rb/pkg-descr2
3 files changed, 10 insertions, 13 deletions
diff --git a/japanese/cal.rb/Makefile b/japanese/cal.rb/Makefile
index 68f6e9b08d97..21ed4ed1b5d6 100644
--- a/japanese/cal.rb/Makefile
+++ b/japanese/cal.rb/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= cal.rb
-PORTVERSION= 1.11
+PORTVERSION= 1.12
CATEGORIES= japanese deskutils
MASTER_SITES= http://aglaia.c.u-tokyo.ac.jp/~yamamoto/Script/Calendar/
DISTFILES= cal.rb Calendar.rb era_name
@@ -15,21 +15,18 @@ DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= fuyuki@hadaly.org
COMMENT= Displays a Japanese calendar
+EXTRACT_CMD= ${CP}
+EXTRACT_BEFORE_ARGS=
+EXTRACT_AFTER_ARGS= ${WRKSRC}
+
USE_RUBY= yes
RUBY_SHEBANG_FILES= ${WRKSRC}/cal.rb
+NO_WRKSUBDIR= yes
NO_BUILD= yes
-do-extract:
- ${MKDIR} ${WRKSRC}
-.for i in ${DISTFILES}
- ${CP} ${DISTDIR}/${DIST_SUBDIR}/${i} ${WRKSRC}
-.endfor
-
post-patch:
${RUBY} -i -pe 'sub "./era_name", "${DATADIR}/era_name"' \
${WRKSRC}/Calendar.rb
- ${RUBY} -i -pe '/Dir::chdir/ and print "#"' \
- ${WRKSRC}/cal.rb
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/cal.rb ${PREFIX}/bin
diff --git a/japanese/cal.rb/distinfo b/japanese/cal.rb/distinfo
index 56fbce75034d..d51bc9d4518b 100644
--- a/japanese/cal.rb/distinfo
+++ b/japanese/cal.rb/distinfo
@@ -1,3 +1,3 @@
-MD5 (cal.rb-1.11/cal.rb) = 6e11df4805b14ed434b88ebcb9278a8e
-MD5 (cal.rb-1.11/Calendar.rb) = bbf344b4a119a616b9b708240da3ab27
-MD5 (cal.rb-1.11/era_name) = 2c3c6a4de0d7d8a2101fbe7165509982
+MD5 (cal.rb-1.12/cal.rb) = e87bfe4448ccafe4708867c51f7c5557
+MD5 (cal.rb-1.12/Calendar.rb) = 9775d6d6095a84e2c2bc58f8bc491ec5
+MD5 (cal.rb-1.12/era_name) = 2c3c6a4de0d7d8a2101fbe7165509982
diff --git a/japanese/cal.rb/pkg-descr b/japanese/cal.rb/pkg-descr
index cd4a36491176..c8588cd09a24 100644
--- a/japanese/cal.rb/pkg-descr
+++ b/japanese/cal.rb/pkg-descr
@@ -2,4 +2,4 @@ cal.rb is a cal(1)-like program which shows a calendar with
the Japanese holidays. It can also display years in the
Japanese era.
-WWW: http://aglaia.c.u-tokyo.ac.jp/~yamamoto/Script/Calendar/calendar.html
+WWW: http://aglaia.c.u-tokyo.ac.jp/~yamamoto/Script/Calendar/