BSD Ports

devel/rubygem-tzinfo 2.0.6 MidnightBSD

Daylight-savings aware timezone support for Ruby

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
devel, rubygems

Description

TZInfo is a Ruby library that provides daylight savings aware transformations between times in different timezones.

TZInfo requires a source of timezone data. There are two built-in options:

  • The separate TZInfo::Data library (the tzinfo-data gem). TZInfo::Data contains a set of Ruby modules that are generated from the IANA Time Zone Database.
  • A zoneinfo directory. Most Unix-like systems include a zoneinfo directory containing timezone definitions. These are also generated from the IANA Time Zone Database.

By default, TZInfo::Data will be used. If TZInfo::Data is not available, then TZInfo will search for a zoneinfo directory instead.

In the other systems

SystemPortVersion
MidnightBSDdevel/rubygem-tzinfo2.0.6
FreeBSDdevel/rubygem-tzinfo2.0.6
DragonFlydevel/rubygem-tzinfo2.0.6

Install

Binary package:

mport install tzinfo

From mports:

cd /usr/mports/devel/rubygem-tzinfo && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	tzinfo>0:devel/rubygem-tzinfo

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Build dependencies 1
Run dependencies 1

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/tzinfo-2.0.6.gem793608daf828cc77bcf7d63b0e3bdb6caa47e2272dcfaf4fbfe46f8c3a9df087a829b
Master sites 1
  • RG