aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-03-14 23:52:02 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-03-14 23:52:02 +0800
commitb6cf6af17eccc55baf4e7692222170205352cbcf (patch)
treed392a66fa2e57f012f1f736406ec5859aafbc9ed /sysutils
parenta7d56d6af51433131d24a38e1ecff258fbc9db5b (diff)
downloadfreebsd-ports-gnome-b6cf6af17eccc55baf4e7692222170205352cbcf.tar.gz
freebsd-ports-gnome-b6cf6af17eccc55baf4e7692222170205352cbcf.tar.zst
freebsd-ports-gnome-b6cf6af17eccc55baf4e7692222170205352cbcf.zip
- Bump PORTREVISION for sysutils/freeipmi shlib change
- Convert to new LIB_DEPENDS format [1] - Support STAGEDIR [1] Approved by: portmgr (blanket) [1]
Diffstat (limited to 'sysutils')
-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>