# $Id: Portfile,v 1.8 2005/10/10 10:00:45 mww Exp $

PortSystem 1.0
name		upclient
revision	2
version		5.0b8
categories	net
maintainers	darwinports@opendarwin.org
platforms	darwin
description	uptime sharing utility.
long_description 	${description}
homepage	http://upclient.sourceforge.net/
master_sites	sourceforge
checksums	md5 5d2ac85193fdb898dd16a694b05ac4d0
worksrcdir	upclient-5.0b8/src
use_configure   no    
build.target	darwin prefix=${prefix}
destroot.destdir	prefix=${prefix} \
			destdir=${destroot} \
			mandir=${prefix}/share/man
post-extract {
	cd ${worksrcpath}
	reinplace "s|uptimes.wonko.com|uptimes.hostingwired.com|g" Makefile
}
startupitem.create	yes
startupitem.start	${prefix}/sbin/upclient
startupitem.stop	"/bin/kill \$(cat ${prefix}/var/run/upclient.pid)"

