BSD Ports

chinese/lunar 2.1_2 MidnightBSD

Convert between Gregorian Solar Calendar (SC) and Lunar Calendar (LC)

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Categories
chinese

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

The newest version among them is 2.1, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDchinese/lunar2.1_2 newestno data-[email protected]-
FreeBSDchinese/lunar2.1_2 newestnone known-[email protected]-
OpenBSDchinese/lunar2.1p1 newestno data-The OpenBSD ports mailing-list <[email protected]>-
DragonFlychinese/lunar2.1_2 newestnone known-[email protected]-
HardenedBSDchinese/lunar2.1_2 newestno data-[email protected]-
GhostBSDchinese/lunar2.1_2 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install lunar

From mports:

cd /usr/mports/chinese/lunar && make install clean

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

RUN_DEPENDS=	lunar>0:chinese/lunar

Dependencies

No port depends on this one.

Files

Manual pages 1
  • lunar(1)
pkg-plist 3
  • bin/lunar
  • share/man/man1/lunar.1.gz
  • share/chinese/lunar.bitmap
distinfo 1
FileSizeSHA256
lunar-2.1.tar.gz10152f651fe5560f205a87fdb0be657bd985b7a890fcc5dec35a7ce45b8117ce50763
Master sites 1
  • ftp://ftp.cuhk.hk/pub/chinese/ifcss/software/unix/c-utils/