summaryrefslogtreecommitdiff
path: root/japanese/cal.rb
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2003-03-25 12:18:28 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2003-03-25 12:18:28 +0000
commit042500500d3e17d33e28eda2b7bbaf02b34bc01a (patch)
treeebb0b506d38e061010677ab133c820f02ac3dab3 /japanese/cal.rb
parentDisable *all* programs that depend on X11 when WITHOUT_X11=yes and (diff)
Update to 1.12.
PR: 49997 Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
Notes
Notes: svn path=/head/; revision=77446
Diffstat (limited to 'japanese/cal.rb')
-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/