Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2012 08:48:38 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308592 - head/sysutils/megacli
Message-ID:  <201212100848.qBA8mcdP067384@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Mon Dec 10 08:48:38 2012
New Revision: 308592
URL: http://svnweb.freebsd.org/changeset/ports/308592

Log:
  Update to 8.05.06.
  
  PR:		ports/173189
  Submitted by:	Steven Hartland <steven.hartland multiplay.co.uk>

Modified:
  head/sysutils/megacli/Makefile
  head/sysutils/megacli/distinfo

Modified: head/sysutils/megacli/Makefile
==============================================================================
--- head/sysutils/megacli/Makefile	Mon Dec 10 08:18:07 2012	(r308591)
+++ head/sysutils/megacli/Makefile	Mon Dec 10 08:48:38 2012	(r308592)
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	megacli
-PORTVERSION=	8.02.16
+PORTVERSION=	8.05.06
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.lsi.com/downloads/Public/MegaRAID%20Common%20Files/ \
 		CRITICAL
@@ -28,13 +28,20 @@ NO_WRKSUBDIR=	yes
 PLIST_FILES=	sbin/MegaCli
 
 pre-fetch:
-	@${FETCH_BINARY} -o /dev/null http://www.lsi.com/magic.axd?x=e&file=http%3A//www.lsi.com/downloads/Public/MegaRAID%2520Common%2520Files/8.02.16_MegaCLI.zip
+	@${FETCH_BINARY} -o /dev/null http://www.lsi.com/magic.axd?x=e&file=http%3A//www.lsi.com/downloads/Public/MegaRAID%2520Common%2520Files/${PORT_VERSION}_MegaCLI.zip
 
 .include <bsd.port.pre.mk>
+post-extract:
+.if ${ARCH} == "i386"
+	@cd ${WRKSRC}/MegaCli_FreeBSD && ${UNZIP_CMD} ${EXTRACT_BEFORE_ARGS} MegaCli.zip
+.elif ${ARCH} == "amd64"
+	@cd ${WRKSRC}/MegaCli_FreeBSD && ${UNZIP_CMD} ${EXTRACT_BEFORE_ARGS} MegaCli64.zip
+.endif
+
 do-install:
 .if ${ARCH} == "i386"
-		${INSTALL_PROGRAM} ${WRKSRC}/FREEBSD/MegaCli ${PREFIX}/sbin/MegaCli
+		${INSTALL_PROGRAM} ${WRKSRC}/MegaCli_FreeBSD/MegaCli ${PREFIX}/sbin/MegaCli
 .elif ${ARCH} == "amd64"
-		${INSTALL_PROGRAM} ${WRKSRC}/FREEBSD/MegaCli64 ${PREFIX}/sbin/MegaCli
+		${INSTALL_PROGRAM} ${WRKSRC}/MegaCli_FreeBSD/MegaCli64 ${PREFIX}/sbin/MegaCli
 .endif
 .include <bsd.port.post.mk>

Modified: head/sysutils/megacli/distinfo
==============================================================================
--- head/sysutils/megacli/distinfo	Mon Dec 10 08:18:07 2012	(r308591)
+++ head/sysutils/megacli/distinfo	Mon Dec 10 08:48:38 2012	(r308592)
@@ -1,2 +1,2 @@
-SHA256 (8.02.16_MegaCLI.zip) = e22b615f6a10e4c305e65434153f8e15e779a2e245c08116ce5eca840c183d66
-SIZE (8.02.16_MegaCLI.zip) = 12244704
+SHA256 (8.05.06_MegaCLI.zip) = 7b310559b5e3a07cb02da6280e98ad4a95af258153ad0487db8c6187713e0f45
+SIZE (8.05.06_MegaCLI.zip) = 18874438



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