Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Mar 2014 15:52:02 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r348264 - head/sysutils/ipmitool
Message-ID:  <201403141552.s2EFq2RU061845@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Mar 14 15:52:02 2014
New Revision: 348264
URL: http://svnweb.freebsd.org/changeset/ports/348264
QAT: https://qat.redports.org/buildarchive/r348264/

Log:
  - Bump PORTREVISION for sysutils/freeipmi shlib change
  - Convert to new LIB_DEPENDS format [1]
  - Support STAGEDIR [1]
  
  Approved by:	portmgr (blanket) [1]

Modified:
  head/sysutils/ipmitool/Makefile

Modified: head/sysutils/ipmitool/Makefile
==============================================================================
--- head/sysutils/ipmitool/Makefile	Fri Mar 14 15:51:54 2014	(r348263)
+++ head/sysutils/ipmitool/Makefile	Fri Mar 14 15:52:02 2014	(r348264)
@@ -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-
 .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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403141552.s2EFq2RU061845>