1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/sysutils/upsd/Makefile

28 lines
625 B
Makefile
Raw Normal View History

# New ports collection makefile for: upsd
# Date created: 11 Jul 1996
# Whom: alexis
#
1999-08-31 02:00:46 +00:00
# $FreeBSD$
#
PORTNAME= upsd
PORTVERSION= 2.0.1.6
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.rge.com/pub/admin/upsd/
MAINTAINER= ports@FreeBSD.org
WRKSRC= ${WRKDIR}/upsd-2.0
pre-build:
@${MV} ${WRKSRC}/config.h ${WRKSRC}/conf.h.orig
1999-08-28 02:17:34 +00:00
@${SED} -e "s!@prefix@!${PREFIX}!g" ${WRKSRC}/conf.h.orig > ${WRKSRC}/conf.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>