0
0
Fork 0
haikuports/app-misc/cal/cal-4.1.recipe

42 lines
954 B
Bash

SUMMARY="Display a monthly or yearly calendar, with optional appointments"
DESCRIPTION="By default, cal will display a calendar for the current month \
with the current day marked. By specifing certain arguments, cal will \
display a calendar for a whole year or a specified month and year."
HOMEPAGE="http://unicorn.us.com/cal.html"
COPYRIGHT="1993-2014 Alex Matulich, Unicorn Research Corporation."
LICENSE="BSD (4-clause)"
REVISION="1"
SOURCE_URI="http://unicorn.us.com/pub/cal41.zip"
CHECKSUM_SHA256="96318b738970237832e4594cb363058f4243f54e86a5f1e06737fb5d02e6c298"
SOURCE_DIR="cal41/src"
ARCHITECTURES="all"
PROVIDES="
cal = $portVersion
cmd:cal
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:make
"
BUILD()
{
make -f makefile.unx BINDIR=$binDir MANDIR=$manDir $jobArgs
}
INSTALL()
{
install -d -m 755 $binDir $manDir/man1
install -m 755 -t $binDir cal
install -m 644 -t $manDir/man1 cal.1
}