2013-05-27 05:41:58 +00:00
|
|
|
# Created by: jwd
|
2003-07-02 20:52:54 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= apcpwr
|
2011-08-31 18:14:08 +00:00
|
|
|
PORTVERSION= 1.3
|
2014-07-07 19:52:11 +00:00
|
|
|
PORTREVISION= 1
|
2003-07-02 20:52:54 +00:00
|
|
|
CATEGORIES= sysutils net
|
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= jwd
|
|
|
|
|
2006-08-10 20:31:10 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-07-02 20:52:54 +00:00
|
|
|
COMMENT= Control APC 9211 MasterSwitchs via snmp
|
|
|
|
|
2004-02-23 04:42:13 +00:00
|
|
|
RUN_DEPENDS= snmpwalk:${PORTSDIR}/net-mgmt/net-snmp
|
2003-07-02 20:52:54 +00:00
|
|
|
|
2014-07-07 19:52:11 +00:00
|
|
|
USES= shebangfix
|
|
|
|
SHEBANG_FILES= apcpwr.pl
|
2003-07-02 20:52:54 +00:00
|
|
|
|
2014-07-07 19:52:11 +00:00
|
|
|
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
|
2003-07-02 20:52:54 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|