1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/sysutils/upsmon/Makefile
Satoshi Asami 7acef1cd7a Change PKGDIR from pkg/ to . Also fix places where ${PKGDIR} is
spelled out (many of which are ${PKGDIR}/MESSAGE -> ${PKGMESSAGE} type
fixes that shouldn't have been necessary) and the string "/pkg/"
appear.
2000-10-08 10:23:48 +00:00

35 lines
819 B
Makefile

# New ports collection makefile for: upsmon
# Date created: 5 Oct 1998
# Whom: Igor Vinokurov <igor@zynaps.ru>
#
# $FreeBSD$
#
PORTNAME= upsmon
PORTVERSION= 2.1.3
CATEGORIES= sysutils
MASTER_SITES= ftp://newcorridor.com/pub/upsmon/
MAINTAINER= ports@FreeBSD.org
MAKEFILE= makefile.bsdi
NO_PACKAGE= "must provide without modifications"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/upsstat ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/upsmond ${PREFIX}/sbin
${SED} -e 's#!!PREFIX!!#${PREFIX}#g' ${FILESDIR}/upsmon.sh \
> ${PREFIX}/etc/rc.d/upsmon.sh
@${CHMOD} +x ${PREFIX}/etc/rc.d/upsmon.sh
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/upsmon
${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/upsmon
.endif
post-install:
${SED} -e 's#/usr/local#${PREFIX}#' ${PKGMESSAGE}
.include <bsd.port.mk>