1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/sysutils/apcpwr/Makefile
Pawel Pekala c5c2c17881 - Add staging support
- Fix perl shebang
- Use SUB_FILES for pkg-message substitutions
2014-07-07 19:52:11 +00:00

29 lines
676 B
Makefile

# 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>