cal, bump version (#2670)

This commit is contained in:
Schrijvers Luc
2018-07-26 01:11:27 +02:00
committed by waddlesplash
parent ce0893ac91
commit f39c851f27
2 changed files with 41 additions and 38 deletions

View File

@@ -1,38 +0,0 @@
SUMMARY="Program for calculating and printing calendars"
DESCRIPTION="
Cal is a command line tool for printing a calendar in a Terminal. This is the version that was originally included in Haiku. Cal was replaced by gcal as it is better with some fonts and language locals. Cal is presented here for those who need the old version for script compatability."
HOMEPAGE=""
COPYRIGHT="1989, 1993, 1994 The Regents of the University of California."
LICENSE="BSD (4-clause)"
REVISION="3"
SOURCE_URI="https://github.com/bbjimmy/cal/archive/v1.0.tar.gz"
CHECKSUM_SHA256="b22faa43afca781939811cfd99b99c1e7a8df5c0896040a0d69bc7b38546fd88"
SOURCE_DIR="cal-1.0"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
cal = $portVersion
cmd:cal
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gcc
"
BUILD()
{
gcc -o cal cal.c
}
INSTALL()
{
mkdir -p $binDir
cp cal $binDir/cal
}

View File

@@ -0,0 +1,41 @@
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="x86_gcc2 x86 x86_64"
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
}