PortSystem 1.0 name upclient revision 2 version 5.0b8 categories net maintainers nomaintainer platforms darwin license GPL-2+ description uptime sharing utility. long_description ${description} homepage http://upclient.sourceforge.net/ master_sites sourceforge checksums md5 5d2ac85193fdb898dd16a694b05ac4d0 \ sha1 cffc7e232aa9eb487ec0206df2963a2f2c528a6d worksrcdir ${worksrcdir}/src use_configure no build.target ${os.platform} build.args prefix="${prefix}" MAKEFLAGS="" CC=${configure.cc} destroot.destdir destdir="${destroot}" destroot.args prefix="${prefix}" \ mandir="${prefix}/share/man" post-patch { reinplace -locale ISO8859-1 "s|uptimes\.wonko\.com|uptimes.hostingwired.com|g" ${worksrcpath}/Makefile reinplace -locale ISO8859-1 {s|CC=[a-z]*[:space:]| |g} ${worksrcpath}/Makefile } platform darwin { if {${os.major} >= 9} { patchfiles-append no-kvm.patch } } startupitem.create yes startupitem.start ${prefix}/sbin/upclient startupitem.stop "/bin/kill \$(cat ${prefix}/var/run/upclient.pid)"