diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/ruby-calendar/Makefile | 45 | ||||
-rw-r--r-- | devel/ruby-calendar/distinfo | 1 | ||||
-rw-r--r-- | devel/ruby-calendar/pkg-comment | 1 | ||||
-rw-r--r-- | devel/ruby-calendar/pkg-descr | 21 | ||||
-rw-r--r-- | devel/ruby-calendar/pkg-plist | 11 |
6 files changed, 80 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index a46d50a57215..f2f81faf5598 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -492,6 +492,7 @@ SUBDIR += ruby-avl SUBDIR += ruby-bsearch SUBDIR += ruby-byaccr + SUBDIR += ruby-calendar SUBDIR += ruby-cvs SUBDIR += ruby-date2 SUBDIR += ruby-dialogs 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 |