# New ports collection makefile for:	openupsd
# Date created:				15 August 2004
# Whom:					Tim Bishop <tim@bishnet.net>
#
# $FreeBSD: branches/RELEASE_8_4_0/sysutils/openupsd/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	openupsd
PORTVERSION=	0.3.1
PORTREVISION=	1
CATEGORIES=	sysutils
MASTER_SITES=	http://frmb.org/download/

MAINTAINER=	tdb@FreeBSD.org
COMMENT=	A UPS daemon for some Belkin UPS's

USE_RC_SUBR=	${PORTNAME}
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--program-transform-name= --bindir=${PREFIX}/sbin

PLIST_FILES=	sbin/openupsd etc/openupsd.conf.sample

post-install:
	${INSTALL_DATA} ${WRKSRC}/openupsd.conf ${PREFIX}/etc/openupsd.conf.sample

.include <bsd.port.mk>
