diff options
author | steve <steve@FreeBSD.org> | 1998-02-25 16:46:25 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1998-02-25 16:46:25 +0000 |
commit | 58e98cf6f1ea9138a52cd470882e05b34b651a12 (patch) | |
tree | 3f444c5623112347df675bbf124b6ec24db674aa /sysutils/upsd/Makefile | |
parent | a757151162707aee1bb12c1fc2b512695dc06a43 (diff) | |
download | FreeBSD-ports-58e98cf6f1ea9138a52cd470882e05b34b651a12.zip FreeBSD-ports-58e98cf6f1ea9138a52cd470882e05b34b651a12.tar.gz |
APC smart UPS monitoring daemon.
PR: 4662
Submitted by: Daniel Baker <dbaker@neosoft.com> and myself
Diffstat (limited to 'sysutils/upsd/Makefile')
-rw-r--r-- | sysutils/upsd/Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/sysutils/upsd/Makefile b/sysutils/upsd/Makefile new file mode 100644 index 0000000..706ce89 --- /dev/null +++ b/sysutils/upsd/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: upsd +# Version required: 2.0.1.6 +# Date created: 11 Jul 1996 +# Whom: alexis +# +# $Id$ +# + +DISTNAME= upsd-2.0.1.6 +PKGNAME= upsd-2.0 +CATEGORIES= sysutils +MASTER_SITES= ftp://www.ww.net/pub/wildwind/upsd/ \ + http://www.cre8tivegroup.com/ \ + ftp://ftp.sw.ru/pub/unix/upsd/ + +MAINTAINER= alexis@ww.net + +WRKSRC= ${WRKDIR}/upsd-2.0 + +pre-build: + @${MV} ${WRKSRC}/config.h ${WRKSRC}/config.h.orig + @sed -e "s!@prefix@!${PREFIX}!g" ${WRKSRC}/config.h.orig > ${WRKSRC}/config.h + +post-install: + if [ ! -f ${PREFIX}/etc/upsd.conf ] ; then \ + ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \ + ${FILESDIR}/upsd.conf ${PREFIX}/etc/upsd.conf; \ + fi + +.include <bsd.port.mk> |