chinese/lunar 2.1_2 FreeBSD
Convert between Gregorian Solar Calendar (SC) and Lunar Calendar (LC)
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Categories
- chinese
- Package size
- 13.2 KiB, 25.7 KiB installed
Description
The lunar program performs date conversion between the Gregorian Solar Calendar (SC) and the Chinese Lunar Calendar (LC).
Given a date in either calendar, the program also outputs the corresponding "shengxiao" (animal of the year) and "ganzhi" characters.
The date range currently covered is from about 1900 A.D. to 2049 A.D.
The standard time of the Lunar Calendar is Beijing (Hong Kong) Standard Time, not GMT. Be sure to adjust appropriately for other time zones and "Daylight Saving Time".
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | chinese/lunar | 2.1_2 |
| OpenBSD | chinese/lunar | 2.1p1 |
| DragonFly | chinese/lunar | 2.1_2 |
| MidnightBSD | chinese/lunar | 2.1_2 |
| HardenedBSD | chinese/lunar | 2.1_2 |
| GhostBSD | chinese/lunar | 2.1_2 |
Install
Binary package:
pkg install zh-lunar
From the ports tree:
cd /usr/ports/chinese/lunar/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= zh-lunar>0:chinese/lunar
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.1_2 | 2.1_2 | 2.1_1 | 2.1_2 | 2.1_2 |
| FreeBSD:14:quarterly | 2.1_2 | 2.1_2 | n/a | 2.1_2 | 2.1_2 |
| FreeBSD:15:latest | 2.1_2 | 2.1_2 | n/a | 2.1_2 | 2.1_2 |
| FreeBSD:15:quarterly | 2.1_2 | 2.1_2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.1_2 | 2.1_2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
No port depends on this one.
Configuration
No options to configure.
- Service scripts
- none
Message after installing
Files
Manual pages 1
- lunar(1)
pkg-plist 3
- bin/lunar
- share/man/man1/lunar.1.gz
- share/chinese/lunar.bitmap
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| lunar-2.1.tar.gz | 10152 | f651fe5560f205a87fdb0be657bd985b7a890fcc5dec35a7ce45b8117ce50763 |
Master sites 1
- ftp://ftp.cuhk.hk/pub/chinese/ifcss/software/unix/c-utils/
Commit history 0
No commits in the history this site was built from.