a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $
PortSystem 1.0
name sunwait
version 20041208
categories sysutils
platforms darwin
maintainers nomaintainer@macports.org
description calculates sunrise, sunset, twilight
long_description Sunwait is a small program for calculating sunrise, \
sunset, civil twilight, nautical twilight, and astronomical \
twilight. It has options to wait until some time-offset from \
one of these events, making it useful for home automation \
tasks that should happen relative to the sun's position.
homepage http://www.risacher.org/sunwait/
master_sites ${homepage}
checksums md5 957dbcb6d16cb8f3b1ead0687397b495
use_configure no
build.target sunwait
destroot {
xinstall -m 755 ${worksrcpath}/sunwait ${destroot}${prefix}/bin
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 ${worksrcpath}/COPYING \
${destroot}${prefix}/share/doc/${name}
}