freebsd-ports/sysutils/openupsd/Makefile
Tim Bishop f5fc18ddd5 - Change maintainer to my @FreeBSD.org address.
- Add SHA256 checksum.

Approved by:	clement (mentor)
2005-12-01 16:50:07 +00:00

30 lines
801 B
Makefile

# New ports collection makefile for: openupsd
# Date created: 15 August 2004
# Whom: Tim Bishop <tim@bishnet.net>
#
# $FreeBSD$
#
PORTNAME= openupsd
PORTVERSION= 0.3.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= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-transform-name= --bindir=${PREFIX}/sbin
PLIST_FILES= sbin/openupsd etc/openupsd.conf.sample etc/rc.d/openupsd.sh
post-extract:
@${SED} -e 's#%%RC_SUBR%%#${RC_SUBR}#g' -e 's#%%PREFIX%%#${PREFIX}#g' \
${FILESDIR}/openupsd.sh > ${WRKDIR}/openupsd.sh
post-install:
${INSTALL_DATA} ${WRKSRC}/openupsd.conf ${PREFIX}/etc/openupsd.conf.sample
${INSTALL_SCRIPT} ${WRKDIR}/openupsd.sh ${PREFIX}/etc/rc.d/
.include <bsd.port.mk>