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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/cctz | 2.5 |
| DragonFly | devel/cctz | 2.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.5 | 2.5 | 2.2_3 | 2.4 | 2.5 |
| FreeBSD:14:quarterly | 2.5 | 2.5 | n/a | 2.4 | 2.5 |
| FreeBSD:15:latest | 2.5 | 2.5 | n/a | 2.4 | 2.4 |
| FreeBSD:15:quarterly | 2.5 | 2.5 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.5 | 2.5 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Test 2
benchmark>0: devel/benchmarkgoogletest>0: devel/googletest
The full lists below include those, and their dependencies in turn.
Build dependencies 15
Required by 3
Configuration
Options name: devel_cctz
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build 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
| File | Size | SHA256 |
|---|---|---|
| google-cctz-v2.5_GH0.tar.gz | 224961 | 47d2d68e7cb5af3296dc7e69b0f4a765589f1b2f4af4b9c42e772414c428b421 |