source: trunk/dports/sysutils/uptimed/Portfile @ 28548

Last change on this file since 28548 was 28548, checked in by mww@…, 12 years ago

replace configure.env as far as possible

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 970 bytes
Line 
1# $Id: Portfile 28548 2007-09-03 13:34:51Z mww@macports.org $
2
3PortSystem 1.0
4
5name            uptimed
6version         0.3.7
7categories      sysutils
8platforms       darwin
9maintainers     nomaintainer@macports.org
10description     uptime record daemon
11long_description        uptimed is an uptime record daemon keeping track of \
12                        the highest uptimes a computer system ever had.
13
14homepage        http://podgorny.cz/moin/Uptimed
15master_sites    http://podgorny.cz/uptimed/releases/
16checksums       sha1 5b420550e471244914eec26e0f4cb8bd540ebc76
17use_bzip2       yes
18patchfiles      patch-Makefile.am
19
20configure.args  --mandir=${prefix}/share/man
21post-configure  {
22        reinplace "s|/var/spool/uptimed|${prefix}/var/spool/uptimed|g" \
23                ${worksrcpath}/libuptimed/urec.h
24        reinplace "s|/var/run/uptimed|${prefix}/var/run/uptimed|g" \
25                ${worksrcpath}/etc/uptimed.conf-dist
26}
27
28destroot.args   INSTALL=/usr/bin/install
29post-destroot   {
30        xinstall -m 755 -d ${destroot}${prefix}/var/spool/uptimed
31        system "touch ${destroot}${prefix}/var/spool/uptimed/bootid"
32}
33
34platform darwin 8 {
35        configure.compiler      gcc-4.0
36}
Note: See TracBrowser for help on using the repository browser.