Date: Fri, 29 Nov 2013 17:31:26 +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: r335205 - head/sysutils/megacli Message-ID: <201311291731.rATHVQ7a036675@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Fri Nov 29 17:31:26 2013 New Revision: 335205 URL: http://svnweb.freebsd.org/changeset/ports/335205 Log: - Update to 8.07.07 - Support STAGEDIR - While I'm here: - Hack MASTER_SITES to remove unnecessary pre-fetch: - Add MEGACLI_ARCH to simplify ARCH manipulation PR: ports/184365 Submitted by: Takefu <takefu@airport.fm> Approved by: Venom <samflanker@gmail.com> (maintainer) Modified: head/sysutils/megacli/Makefile (contents, props changed) head/sysutils/megacli/distinfo (contents, props changed) Modified: head/sysutils/megacli/Makefile ============================================================================== --- head/sysutils/megacli/Makefile Fri Nov 29 17:30:23 2013 (r335204) +++ head/sysutils/megacli/Makefile Fri Nov 29 17:31:26 2013 (r335205) @@ -2,11 +2,11 @@ # $FreeBSD$ PORTNAME= megacli -PORTVERSION= 8.05.06 +PORTVERSION= 8.07.07 CATEGORIES= sysutils -MASTER_SITES= http://www.lsi.com/downloads/Public/MegaRAID%20Common%20Files/ \ - CRITICAL +MASTER_SITES= http://www.lsi.com/downloads/Public/MegaRAID%20Common%20Files/${DISTNAME}${EXTRACT_SUFX}?source=1& DISTNAME= ${PORTVERSION}_MegaCLI +EXTRACT_SUFX= .zip MAINTAINER= samflanker@gmail.com COMMENT= SAS MegaRAID FreeBSD MegaCLI @@ -17,28 +17,18 @@ FETCH_BEFORE_ARGS= -o ${DISTDIR}/${DISTF ONLY_FOR_ARCHS= i386 amd64 -USE_ZIP= yes NO_BUILD= yes NO_WRKSUBDIR= yes PLIST_FILES= sbin/MegaCli -NO_STAGE= yes -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/${PORT_VERSION}_MegaCLI.zip +MEGACLI_ARCH= MegaCli${ARCH:S/i386//:S/amd64/64/} -.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 + @${MV} ${WRKSRC}/freebsd/MegaCLI.zip ${WRKSRC}/freebsd/MegaCli.zip + @${TAR} ${EXTRACT_BEFORE_ARGS} ${WRKSRC}/freebsd/${MEGACLI_ARCH}.zip -C${WRKSRC}/freebsd do-install: -.if ${ARCH} == "i386" - ${INSTALL_PROGRAM} ${WRKSRC}/MegaCli_FreeBSD/MegaCli ${PREFIX}/sbin/MegaCli -.elif ${ARCH} == "amd64" - ${INSTALL_PROGRAM} ${WRKSRC}/MegaCli_FreeBSD/MegaCli64 ${PREFIX}/sbin/MegaCli -.endif -.include <bsd.port.post.mk> + ${INSTALL_SCRIPT} ${WRKSRC}/freebsd/${MEGACLI_ARCH} ${STAGEDIR}${PREFIX}/sbin/MegaCli + +.include <bsd.port.mk> Modified: head/sysutils/megacli/distinfo ============================================================================== --- head/sysutils/megacli/distinfo Fri Nov 29 17:30:23 2013 (r335204) +++ head/sysutils/megacli/distinfo Fri Nov 29 17:31:26 2013 (r335205) @@ -1,2 +1,2 @@ -SHA256 (8.05.06_MegaCLI.zip) = 7b310559b5e3a07cb02da6280e98ad4a95af258153ad0487db8c6187713e0f45 -SIZE (8.05.06_MegaCLI.zip) = 18874438 +SHA256 (8.07.07_MegaCLI.zip) = 52ba4e60eb6ff0c76dd14b1ffc32a9f198dd0b88ef8cf61575cfd35a04dc5f86 +SIZE (8.07.07_MegaCLI.zip) = 12391645
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311291731.rATHVQ7a036675>