44 lines
967 B
Bash
44 lines
967 B
Bash
SUMMARY="A converter to Mayan dates"
|
|
DESCRIPTION="Mdate is a utility that converts Gregorian dates to Mayan Long Count dates. \
|
|
It was originally an implementation of some algorithms published by N. Dershowitz and \
|
|
E.M. Reingold in their book Calendrical Calculations."
|
|
HOMEPAGE="https://github.com/ewe2/mdate"
|
|
COPYRIGHT="2010-2014 Sean Dwyer"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/ewe2/mdate/archive/$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="6d58a8cf63c25b2b4b5b8904ba7c982f18608e8fa65436c555280699a020bcf8"
|
|
PATCHES="mdate-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
PROVIDES="
|
|
mdate = $portVersion
|
|
cmd:mdate = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc
|
|
cmd:ld
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make installbin BINDIR=$binDir
|
|
install -d $docDir $manDir/man1
|
|
install -t $docDir AUTHORS doc/mdate.html doc/mdate.pdf doc/mdate.txt
|
|
install -t $manDir/man1 doc/mdate.1
|
|
}
|