source: trunk/dports/sysutils/uptimed/Portfile

Last change on this file was 127696, checked in by ryandesign@…, 3 years ago

uptimed: update to 0.3.17

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1# $Id: Portfile 127696 2014-11-01 09:22:29Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            uptimed
6version         0.3.17
7categories      sysutils
8license         GPL-2
9platforms       darwin
10maintainers     nomaintainer
11description     uptime record daemon
12long_description        uptimed is an uptime record daemon keeping track of \
13                        the highest uptimes a computer system ever had.
14
15homepage        http://podgorny.cz/moin/Uptimed
16master_sites    http://podgorny.cz/uptimed/releases/
17use_bzip2       yes
18checksums       rmd160  0dece72bafb2f3434ea19c0aa83e91b473bc798d \
19                sha256  524ce8984c0d0a780a32025ba3ffb980e5eec3d78e65cf68c91edec7fe833a06
20
21patchfiles      patch-Makefile.in.diff \
22                patch-etc-uptimed.conf-dist.diff \
23                patch-libuptimed-urec.h.diff \
24                patch-src-uptimed.c.diff
25
26post-patch {
27        reinplace "s|@PREFIX@|${prefix}|g" \
28                ${worksrcpath}/etc/uptimed.conf-dist \
29                ${worksrcpath}/libuptimed/urec.h \
30                ${worksrcpath}/src/uptimed.c
31}
32
33post-destroot   {
34        xinstall -m 755 -d ${destroot}${prefix}/var/spool/uptimed
35        touch ${destroot}${prefix}/var/spool/uptimed/bootid
36}
37
38startupitem.create      yes
39startupitem.executable  ${prefix}/sbin/uptimed -f
Note: See TracBrowser for help on using the repository browser.