blob: f38a83d51e0e6ae83f8b980dbd140966baeb4d72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Created by: jwd
# $FreeBSD$
PORTNAME= apcpwr
PORTVERSION= 1.3
PORTREVISION= 1
CATEGORIES= sysutils net
MASTER_SITES= LOCAL/jwd
MAINTAINER= ports@FreeBSD.org
COMMENT= Control APC 9211 MasterSwitchs via snmp
RUN_DEPENDS= snmpwalk:net-mgmt/net-snmp
USES= shebangfix
SHEBANG_FILES= apcpwr.pl
SUB_FILES= pkg-message
PLIST_FILES= bin/apcpwr etc/apcpwr.conf.dist man/man8/apcpwr.8.gz
do-install:
${INSTALL} -m 4555 ${WRKSRC}/apcpwr ${STAGEDIR}${PREFIX}/bin
${INSTALL} -m 600 ${WRKSRC}/apcpwr.conf.dist ${STAGEDIR}${PREFIX}/etc
${INSTALL_MAN} ${WRKSRC}/apcpwr.8 ${STAGEDIR}${MANPREFIX}/man/man8
.include <bsd.port.mk>
|