blob: a35bd7e592fa11f5f5cddc6259d5ad1e1758f11c (
plain) (
blame)
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
28
|
# Created by: jwd
# $FreeBSD$
PORTNAME= apcpwr
PORTVERSION= 1.3
PORTREVISION= 1
CATEGORIES= sysutils net
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= jwd
MAINTAINER= ports@FreeBSD.org
COMMENT= Control APC 9211 MasterSwitchs via snmp
RUN_DEPENDS= snmpwalk:${PORTSDIR}/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>
|