PortSystem      1.0

name            gcal
version         4.1
categories      science
license         GPL-3+
maintainers     {@mhberger mhb.nz:macports-gcal} openmaintainer
platforms       darwin
description     GNU calendar
long_description                                                             \
  Gcal is a program for calculating and printing calendars.  Gcal displays   \
  hybrid and proleptic Julian and Gregorian calendar sheets, respectively    \
  for one month, three months, or a whole year. It also displays eternal     \
  holiday lists for many countries around the globe, and features a very     \
  powerful creation of fixed date liststhat can be used for reminding        \
  purposes.  Gcal can calculate various astronomical data and times of the   \
  Sun and the Moon for pleasure at any location, precisely enough for most   \
  civil purposes. Gcal supports some other calendar systems, for example,    \
  the Chinese and Japanese calendars, the Hebrew calendar, and the civil     \
  Islamic calendar, too.
homepage        https://www.gnu.org/software/gcal/
master_sites    gnu
use_xz          yes
checksums       rmd160  8283119af8e6c6c45ff36500e59a30e141c977a5 \
                sha256  91b56c40b93eee9bda27ec63e95a6316d848e3ee047b5880ed71e5e8e60f61ab \
                size    1658948

patchfiles      patch-ioctl-implicit-declaration-fix.diff \
                patch-fix-segfault.diff

depends_lib     port:gettext
