aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ipmitool/Makefile
diff options
context:
space:
mode:
authorRyan Steinmetz <zi@FreeBSD.org>2012-02-28 13:56:24 +0000
committerRyan Steinmetz <zi@FreeBSD.org>2012-02-28 13:56:24 +0000
commitd34b70825f43a2a15bf12ad28a197e86ae99dc3d (patch)
tree4459bf12d15ac95b1b4a889e44073e781a3f5bc7 /sysutils/ipmitool/Makefile
parent3905b943eec5e4236602ad31bc1ce8f574ae8984 (diff)
downloadports-d34b70825f43a2a15bf12ad28a197e86ae99dc3d.tar.gz
ports-d34b70825f43a2a15bf12ad28a197e86ae99dc3d.zip
Notes
Diffstat (limited to 'sysutils/ipmitool/Makefile')
-rw-r--r--sysutils/ipmitool/Makefile15
1 files changed, 12 insertions, 3 deletions
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 <bsd.port.pre.mk>
+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