2010-04-08 16:57:06 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.3 2010/04/08 20:57:06 mglocker Exp $
|
2009-08-03 14:30:58 -04:00
|
|
|
|
|
|
|
COMMENT= APC SmartUPS daemon
|
|
|
|
|
2010-04-08 16:57:06 -04:00
|
|
|
DISTNAME= apcd-0.2
|
|
|
|
PKGNAME= ${DISTNAME}
|
2009-08-03 14:30:58 -04:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= http://www.nazgul.ch/dev/
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.nazgul.ch/dev.html
|
|
|
|
|
|
|
|
MAINTAINER= Marcus Glocker <marcus@nazgul.ch>
|
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= c curses
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/apcd/apcd ${PREFIX}/sbin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/apcmon/apcmon ${PREFIX}/sbin
|
2010-04-08 10:48:16 -04:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/apcd/apcd.cat8 ${PREFIX}/man/cat8/apcd.0
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/apcmon/apcmon.cat8 ${PREFIX}/man/cat8/apcmon.0
|
2009-08-03 14:30:58 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/apcd
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/apcd/apcd.conf \
|
|
|
|
${PREFIX}/share/examples/apcd
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|