openbsd-ports/sysutils/apc-upsd/Makefile

38 lines
924 B
Makefile
Raw Normal View History

# New ports collection makefile for: apc-upsd
# Date created: 28 Dec 1999
# Whom: Kevin Lo <kevlo@openbsd.org>
#
2000-03-23 00:40:40 -05:00
# $OpenBSD: Makefile,v 1.4 2000/03/23 05:40:41 turan Exp $
#
DISTNAME= apc-upsd
PKGNAME= apc-upsd
CATEGORIES= sysutils
MASTER_SITES= http://www.knienieder.com/software/
2000-02-10 19:37:15 -05:00
NEED_VERSION= 1.191
MAINTAINER= kevlo@openbsd.org
2000-03-23 00:40:40 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
EXTRACT_SUFX= .tgz
2000-02-10 19:37:15 -05:00
WRKDIST= ${WRKDIR}/${PKGNAME}/src
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/apc-upsd ${PREFIX}/sbin
post-install:
@mkdir -p ${PREFIX}/share/doc/apc-upsd
${INSTALL_DATA} ${WRKSRC}/../doc/smart-protocol ${PREFIX}/share/doc/apc-upsd
if [ ! -f /etc/apc-upsd.conf ] ; then \
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
${WRKSRC}/apc-upsd.conf /etc/apc-upsd.conf; \
fi
.include <bsd.port.mk>