# $Id: Portfile 124149 2014-08-19 23:39:12Z khindenburg@macports.org $ PortSystem 1.0 name sunwait version 20041208 revision 1 categories sysutils license GPL-2 platforms darwin maintainers nomaintainer 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 patchfiles patch-main.c.diff 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} }