freebsd-ports/sysutils/apcpwr/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

27 lines
641 B
Makefile

# 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:${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>