From a0d81a3235cb7b6c35b4d357d31fb21ab6345bc6 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Sat, 3 Nov 2001 21:21:54 +0000 Subject: Add ruby-calendar, Ruby modules to handle various calendars. --- devel/ruby-calendar/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++ devel/ruby-calendar/distinfo | 1 + devel/ruby-calendar/pkg-comment | 1 + devel/ruby-calendar/pkg-descr | 21 +++++++++++++++++++ devel/ruby-calendar/pkg-plist | 11 ++++++++++ 5 files changed, 79 insertions(+) create mode 100644 devel/ruby-calendar/Makefile create mode 100644 devel/ruby-calendar/distinfo create mode 100644 devel/ruby-calendar/pkg-comment create mode 100644 devel/ruby-calendar/pkg-descr create mode 100644 devel/ruby-calendar/pkg-plist (limited to 'devel/ruby-calendar') 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 +# +# $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 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 +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 -- cgit v1.2.3