summaryrefslogtreecommitdiff
path: root/devel/ruby-calendar
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-11-03 21:21:54 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-11-03 21:21:54 +0000
commita0d81a3235cb7b6c35b4d357d31fb21ab6345bc6 (patch)
tree30825926ebb18d3e1b55cb08a63c614896d2e4c2 /devel/ruby-calendar
parenta Web page that is still online (diff)
Add ruby-calendar, Ruby modules to handle various calendars.
Notes
Notes: svn path=/head/; revision=49542
Diffstat (limited to 'devel/ruby-calendar')
-rw-r--r--devel/ruby-calendar/Makefile45
-rw-r--r--devel/ruby-calendar/distinfo1
-rw-r--r--devel/ruby-calendar/pkg-comment1
-rw-r--r--devel/ruby-calendar/pkg-descr21
-rw-r--r--devel/ruby-calendar/pkg-plist11
5 files changed, 79 insertions, 0 deletions
diff --git a/devel/ruby-calendar/Makefile b/devel/ruby-calendar/Makefile
new file mode 100644
index 000000000000..f18bf0c2f15f
--- /dev/null
+++ b/devel/ruby-calendar/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: Ruby-calendar
+# Date created: 4 November 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= calendar
+PORTVERSION= 1.10.2r
+CATEGORIES= devel ruby
+MASTER_SITES= http://www.funaba.org/archive/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+USE_RUBY= yes
+
+MAKE_ARGS= RUBY="${RUBY}"
+INSTALL_TARGET= site-install
+
+DOCS_EN= README.en sdn/README.sdncal20
+DOCS_JA= README
+EXAMPLES_EN= calendar/cal.rb
+
+post-extract:
+ ${MKDIR} ${WRKSRC}/calendar/lib
+ ${MV} ${WRKSRC}/calendar/calclass.rb ${WRKSRC}/calendar/lib/
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/calendar
+.for f in ${EXAMPLES_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/calendar/
+.endfor
+ ${MKDIR} ${RUBY_DOCDIR}/calendar/ja
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/calendar/
+.endfor
+.for f in ${DOCS_JA}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/calendar/ja/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/ruby-calendar/distinfo b/devel/ruby-calendar/distinfo
new file mode 100644
index 000000000000..04c48bc10738
--- /dev/null
+++ b/devel/ruby-calendar/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/calendar-1.10.2r.tar.gz) = 158d332e23a95efdd8cb57d79bd15317
diff --git a/devel/ruby-calendar/pkg-comment b/devel/ruby-calendar/pkg-comment
new file mode 100644
index 000000000000..13a4c062f8ad
--- /dev/null
+++ b/devel/ruby-calendar/pkg-comment
@@ -0,0 +1 @@
+Ruby modules to handle various calendars
diff --git a/devel/ruby-calendar/pkg-descr b/devel/ruby-calendar/pkg-descr
new file mode 100644
index 000000000000..8489f683f038
--- /dev/null
+++ b/devel/ruby-calendar/pkg-descr
@@ -0,0 +1,21 @@
+Ruby-calendar includes the following modules.
+
+Calendrical Calculations module:
+ This module supports the following calendars:
+ Gregorian (current civil), Calendar week (ISO), Julian (old
+ civil), Islamic (Moslem), Hebrew (Jewish), Mayan, French
+ Revolutionary, Old Hindu, Achelis', Coptic, Ethiopian, Jalaali
+ (incomplete), Kyureki (Japanese traditional with CE) A "Getdate"
+ module
+
+Getdate module:
+ This module provides a method which creates a Time object reflecting
+ the given representation of dates and times. An "Sdn" module
+
+Sdn module:
+ This is an interface to the Scott E. Lee's SDN package.
+ This module supports the following calendars:
+ Gregorian, Julian, French Republican, Jewish
+
+Author: Tadayoshi Funaba <tadf@funaba.org>
+WWW: http://www.funaba.org/en/calendar.html#calendar
diff --git a/devel/ruby-calendar/pkg-plist b/devel/ruby-calendar/pkg-plist
new file mode 100644
index 000000000000..5284383a9167
--- /dev/null
+++ b/devel/ruby-calendar/pkg-plist
@@ -0,0 +1,11 @@
+%%RUBY_SITEARCHLIBDIR%%/calendar.so
+%%RUBY_SITEARCHLIBDIR%%/getdate.so
+%%RUBY_SITEARCHLIBDIR%%/sdn.so
+%%RUBY_SITELIBDIR%%/calclass.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/calendar/cal.rb
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/calendar
+%%PORTDOCS%%%%RUBY_DOCDIR%%/calendar/README.en
+%%PORTDOCS%%%%RUBY_DOCDIR%%/calendar/README.sdncal20
+%%PORTDOCS%%%%RUBY_DOCDIR%%/calendar/ja/README
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/calendar/ja
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/calendar