aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ipmitool
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-03-14 15:52:02 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-03-14 15:52:02 +0000
commit9c81958368545b3c302986b05d8cb74fa6a90051 (patch)
treed392a66fa2e57f012f1f736406ec5859aafbc9ed /sysutils/ipmitool
parent98d1e576e594222fdbd773ad571fb4e1a2368983 (diff)
downloadports-9c81958368545b3c302986b05d8cb74fa6a90051.tar.gz
ports-9c81958368545b3c302986b05d8cb74fa6a90051.zip
Notes
Diffstat (limited to 'sysutils/ipmitool')
-rw-r--r--sysutils/ipmitool/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/sysutils/ipmitool/Makefile b/sysutils/ipmitool/Makefile
index dab6f097cd9b..d67e3d88f9d2 100644
--- a/sysutils/ipmitool/Makefile
+++ b/sysutils/ipmitool/Makefile
@@ -3,7 +3,7 @@
PORTNAME= ipmitool
PORTVERSION= 1.8.12
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= sysutils
MASTER_SITES= SF
@@ -16,16 +16,14 @@ USE_OPENSSL= yes
GNU_CONFIGURE= yes
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 man/man1/ipmitool.1.gz man/man8/ipmievd.8.gz \
+ sbin/ipmievd share/ipmitool/oem_ibm_sel_map \
${PERIODIC_DIR}/400.status-ipmi
PLIST_DIRS= share/ipmitool
PLIST_DIRSTRY= ${PERIODIC_DIR} etc/periodic
SUB_FILES= status-ipmi.sh
PORTDOCS= AUTHORS COPYING ChangeLog README
-MAN1+= ${PORTNAME}.1
-MAN8+= ipmievd.8
-
PERIODIC_DIR= etc/periodic/daily
OPTIONS_DEFINE= FREEIPMI
@@ -41,7 +39,6 @@ CONFIGURE_ARGS+= --enable-intf-open
CONFIGURE_ARGS+= --disable-intf-open
.endif
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if empty(PORT_OPTIONS:MDOCS)
@@ -49,7 +46,7 @@ EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-Makefile.in
.endif
.if ${PORT_OPTIONS:MFREEIPMI}
-LIB_DEPENDS+= freeipmi:${PORTSDIR}/sysutils/freeipmi
+LIB_DEPENDS+= libfreeipmi.so:${PORTSDIR}/sysutils/freeipmi
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS+= --enable-intf-free
@@ -58,7 +55,7 @@ CONFIGURE_ARGS+= --disable-intf-free
.endif
post-install:
- @${MKDIR} ${PREFIX}/${PERIODIC_DIR}
- @${INSTALL_SCRIPT} ${WRKDIR}/status-ipmi.sh ${PREFIX}/${PERIODIC_DIR}/400.status-ipmi
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${PERIODIC_DIR}
+ @${INSTALL_SCRIPT} ${WRKDIR}/status-ipmi.sh ${STAGEDIR}${PREFIX}/${PERIODIC_DIR}/400.status-ipmi
.include <bsd.port.mk>