aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/mgeupsd/Makefile
blob: 85283635a195bc1392477ee886a1d5137f9b4967 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Ports collection makefile for:    mgeupsd
# Date created:             12 Aug 1999
# Whom:                                 Andreas Dobloug <andreasd@@ifi.uio.no>
#
# $FreeBSD$
#

PORTNAME=       mgeupsd
PORTVERSION=        0.3
CATEGORIES=     sysutils
MASTER_SITES=       ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= system/ups

MAINTAINER=     dburr@FreeBSD.ORG
COMMENT=    monitor a state of MGE Pulsar UPS connected to RS-232 port

USE_GMAKE=      YES
WRKSRC=         ${WRKDIR}/MGE

post-install:
        ${INSTALL_SCRIPT} ${FILESDIR}/mgeupsd.sh ${PREFIX}/etc/rc.d
        ${INSTALL_SCRIPT} ${FILESDIR}/powerhandler ${PREFIX}/sbin
        @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>