PortSystem 1.0

name			openupsd
version			0.3.1
categories		sysutils
license			GPL-2+
platforms		darwin
maintainers		nomaintainer
description		UPS daemon for Belkin serial-connected UPSs
long_description	OpenUPSd is a UPS daemon, for Belkin serial-connected UPSs \
					that speak the 'regulator pro smart protocol'.

homepage		http://frmb.org/openupsd.html
master_sites	http://frmb.org/download/
checksums		md5 68b192b007fa80c0a26c13d2917be0d2

post-destroot	{
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 ${worksrcpath}/openupsd.conf \
		${destroot}${prefix}/etc/openupsd.conf.sample
	xinstall -m 644 -W ${worksrcpath} AUTHORS CHANGELOG COPYING NEWS README \
		${destroot}${prefix}/share/doc/${name}
}
