BSD Ports

devel/cctz 2.5 FreeBSD

C++ library for handling dates, times, and time zones

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
167632ba08
License
APACHE20
Categories
devel
Package size
67.4 KiB, 187.4 KiB installed

Description

CCTZ contains two libraries that cooperate with <chrono> to give C++ programmers all the necessary tools for computing with dates, times, and time zones in a simple and correct manner. The libraries in CCTZ are:

_ The Civil-Time Library - This is a header-only library that supports computing with human-scale time, such as dates (which are represented by the cctz::civil_day class). This library is declared in civil_time.h.

_ The Time-Zone Library - This library uses the IANA time zone database that is installed on the system to convert between _absolute time_ and _civil time_. This library is declared in time_zone.h.

In the other systems

SystemPortVersion
FreeBSDdevel/cctz2.5
DragonFlydevel/cctz2.2_3

Install

Binary package:

pkg install cctz

From the ports tree:

cd /usr/ports/devel/cctz/ && make install clean

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

RUN_DEPENDS=	cctz>0:devel/cctz
LIB_DEPENDS=	libcctz.so:devel/cctz

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.52.52.2_32.42.5
FreeBSD:14:quarterly2.52.5n/a2.42.5
FreeBSD:15:latest2.52.5n/a2.42.4
FreeBSD:15:quarterly2.52.5n/an/an/a
FreeBSD:16:latest2.52.5n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Test 2

The full lists below include those, and their dependencies in turn.

Build dependencies 15

Configuration

Options name: devel_cctz

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
cmake:testing
Service scripts
none

Files

pkg-plist 10
  • include/cctz/civil_time.h
  • include/cctz/civil_time_detail.h
  • include/cctz/time_zone.h
  • include/cctz/zone_info_source.h
  • lib/cmake/cctz/cctz-config.cmake
  • lib/cmake/cctz/cctz-targets-.cmake
  • lib/cmake/cctz/cctz-targets.cmake
  • lib/libcctz.so
  • lib/libcctz.so.2
  • lib/libcctz.so.2.5
distinfo 1
FileSizeSHA256
google-cctz-v2.5_GH0.tar.gz22496147d2d68e7cb5af3296dc7e69b0f4a765589f1b2f4af4b9c42e772414c428b421

Commit history 1

DateCommitCreditsLog message
167632ba08 Daniel Engberg devel/cctz: Update to 2.5
Changelog: https://github.com/google/cctz/releases/tag/v2.5 PR: 297917 Approved by: blanket (build fix)