From d34b70825f43a2a15bf12ad28a197e86ae99dc3d Mon Sep 17 00:00:00 2001 From: Ryan Steinmetz Date: Tue, 28 Feb 2012 13:56:24 +0000 Subject: - Add periodic file for daily status information - Bump PORTREVISION PR: ports/165204 Submitted by: Will Glozer Approved by: Steve Polyack (maintainer) --- sysutils/ipmitool/Makefile | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'sysutils/ipmitool/Makefile') diff --git a/sysutils/ipmitool/Makefile b/sysutils/ipmitool/Makefile index edef1472ac20..3b928f634acc 100644 --- a/sysutils/ipmitool/Makefile +++ b/sysutils/ipmitool/Makefile @@ -7,7 +7,7 @@ PORTNAME= ipmitool PORTVERSION= 1.8.11 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= sysutils MASTER_SITES= SF @@ -19,21 +19,30 @@ DOS2UNIX= ipmi_fwum.c USE_GMAKE= yes USE_OPENSSL= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --enable-intf-lan --enable-intf-lanplus \ +CONFIGURE_ARGS+=--enable-intf-lan --enable-intf-lanplus \ --disable-intf-imb --disable-intf-lipmi --disable-intf-bmc -PLIST_FILES= bin/ipmitool sbin/ipmievd share/ipmitool/oem_ibm_sel_map +PLIST_FILES= bin/ipmitool sbin/ipmievd share/ipmitool/oem_ibm_sel_map \ + ${PERIODIC_DIR}/400.status-ipmi PLIST_DIRS= share/ipmitool +PLIST_DIRSTRY= ${PERIODIC_DIR} +SUB_FILES= status-ipmi.sh PORTDOCS= AUTHORS COPYING ChangeLog README MAN1+= ${PORTNAME}.1 MAN8+= ipmievd.8 +PERIODIC_DIR= etc/periodic/daily + .if defined(WITH_DEBUG) CFLAGS+= -ggdb -Wall .endif .include +post-install: + @${MKDIR} ${PREFIX}/${PERIODIC_DIR} + @${INSTALL_SCRIPT} ${WRKDIR}/status-ipmi.sh ${PREFIX}/${PERIODIC_DIR}/400.status-ipmi + .if exists(/usr/include/sys/ipmi.h) CONFIGURE_ARGS+= --enable-intf-open .else -- cgit v1.2.3