aboutsummaryrefslogtreecommitdiff
path: root/japanese/cal.rb
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2002-11-04 01:35:00 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2002-11-04 01:35:00 +0000
commit3c9ee882e394d3dcf1cd6fbb147e426932ac4403 (patch)
tree19b18470853de9bf176d39d31136e6067e8e87eb /japanese/cal.rb
parentcfcef1b581e48759d585b5408907bf6bcec2fd24 (diff)
downloadports-3c9ee882e394d3dcf1cd6fbb147e426932ac4403.tar.gz
ports-3c9ee882e394d3dcf1cd6fbb147e426932ac4403.zip
Notes
Diffstat (limited to 'japanese/cal.rb')
-rw-r--r--japanese/cal.rb/Makefile39
-rw-r--r--japanese/cal.rb/distinfo3
-rw-r--r--japanese/cal.rb/pkg-comment1
-rw-r--r--japanese/cal.rb/pkg-descr5
-rw-r--r--japanese/cal.rb/pkg-plist4
5 files changed, 52 insertions, 0 deletions
diff --git a/japanese/cal.rb/Makefile b/japanese/cal.rb/Makefile
new file mode 100644
index 000000000000..5de5a8f59057
--- /dev/null
+++ b/japanese/cal.rb/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: cal.rb
+# Date created: 3 October 2002
+# Whom: Kimura Fuyuki <fuyuki@hadaly.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= cal.rb
+PORTVERSION= 0.2
+CATEGORIES= japanese deskutils
+MASTER_SITES= http://aglaia.c.u-tokyo.ac.jp/~yamamoto/Script/Calendar/
+DISTFILES= cal.rb Calendar.rb era_name
+DIST_SUBDIR= ${PORTNAME}
+
+MAINTAINER= fuyuki@hadaly.org
+
+USE_RUBY= yes
+RUBY_SHEBANG_FILES= ${WRKSRC}/cal.rb
+NO_BUILD= yes
+
+LIBDIR= ${PREFIX}/libdata/cal
+
+do-extract:
+ ${MKDIR} ${WRKSRC}
+.for i in ${DISTFILES}
+ ${CP} ${DISTDIR}/${DIST_SUBDIR}/${i} ${WRKSRC}
+.endfor
+
+post-patch:
+ ${RUBY} -i -pe 'sub "chdir(.*)", %q{chdir("${LIBDIR}")}' ${WRKSRC}/cal.rb
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/cal.rb ${PREFIX}/bin
+ ${MKDIR} ${LIBDIR}
+.for i in Calendar.rb era_name
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${LIBDIR}
+.endfor
+
+.include <bsd.port.mk>
diff --git a/japanese/cal.rb/distinfo b/japanese/cal.rb/distinfo
new file mode 100644
index 000000000000..ab118d49b39f
--- /dev/null
+++ b/japanese/cal.rb/distinfo
@@ -0,0 +1,3 @@
+MD5 (cal.rb/cal.rb) = 89a4eabee1e00de929cd944698a9ea7e
+MD5 (cal.rb/Calendar.rb) = b51bb285fde892ccbdedb0ad8d7d53f9
+MD5 (cal.rb/era_name) = 2c3c6a4de0d7d8a2101fbe7165509982
diff --git a/japanese/cal.rb/pkg-comment b/japanese/cal.rb/pkg-comment
new file mode 100644
index 000000000000..540096ec9ae3
--- /dev/null
+++ b/japanese/cal.rb/pkg-comment
@@ -0,0 +1 @@
+Display a Japanese calendar
diff --git a/japanese/cal.rb/pkg-descr b/japanese/cal.rb/pkg-descr
new file mode 100644
index 000000000000..cd4a36491176
--- /dev/null
+++ b/japanese/cal.rb/pkg-descr
@@ -0,0 +1,5 @@
+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
diff --git a/japanese/cal.rb/pkg-plist b/japanese/cal.rb/pkg-plist
new file mode 100644
index 000000000000..97aa9b03bd41
--- /dev/null
+++ b/japanese/cal.rb/pkg-plist
@@ -0,0 +1,4 @@
+bin/cal.rb
+libdata/cal/Calendar.rb
+libdata/cal/era_name
+@dirrm libdata/cal