# $Id: Portfile 127696 2014-11-01 09:22:29Z ryandesign@macports.org $ PortSystem 1.0 name uptimed version 0.3.17 categories sysutils license GPL-2 platforms darwin maintainers nomaintainer description uptime record daemon long_description uptimed is an uptime record daemon keeping track of \ the highest uptimes a computer system ever had. homepage http://podgorny.cz/moin/Uptimed master_sites http://podgorny.cz/uptimed/releases/ use_bzip2 yes checksums rmd160 0dece72bafb2f3434ea19c0aa83e91b473bc798d \ sha256 524ce8984c0d0a780a32025ba3ffb980e5eec3d78e65cf68c91edec7fe833a06 patchfiles patch-Makefile.in.diff \ patch-etc-uptimed.conf-dist.diff \ patch-libuptimed-urec.h.diff \ patch-src-uptimed.c.diff post-patch { reinplace "s|@PREFIX@|${prefix}|g" \ ${worksrcpath}/etc/uptimed.conf-dist \ ${worksrcpath}/libuptimed/urec.h \ ${worksrcpath}/src/uptimed.c } post-destroot { xinstall -m 755 -d ${destroot}${prefix}/var/spool/uptimed touch ${destroot}${prefix}/var/spool/uptimed/bootid } startupitem.create yes startupitem.executable ${prefix}/sbin/uptimed -f