Add ruby-calendar, Ruby modules to handle various calendars.
This commit is contained in:
parent
d9c95f5e85
commit
a0d81a3235
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=49542
6 changed files with 80 additions and 0 deletions
|
@ -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
|
||||
|
|
45
devel/ruby-calendar/Makefile
Normal file
45
devel/ruby-calendar/Makefile
Normal file
|
@ -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>
|
1
devel/ruby-calendar/distinfo
Normal file
1
devel/ruby-calendar/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (ruby/calendar-1.10.2r.tar.gz) = 158d332e23a95efdd8cb57d79bd15317
|
1
devel/ruby-calendar/pkg-comment
Normal file
1
devel/ruby-calendar/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
Ruby modules to handle various calendars
|
21
devel/ruby-calendar/pkg-descr
Normal file
21
devel/ruby-calendar/pkg-descr
Normal file
|
@ -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
|
11
devel/ruby-calendar/pkg-plist
Normal file
11
devel/ruby-calendar/pkg-plist
Normal file
|
@ -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
|
Loading…
Reference in a new issue