freebsd-ports/sysutils/megacli/Makefile
Thomas Zander c447a3345c Make build more robust: add mirror to MASTER_SITES; add TIMESTAMP
PR:		212878
Submitted by:	samflanker@gmail.com (maintainer)
MFH:		2016Q3 (ports-secteam build fix blanket)
2016-09-23 16:57:13 +00:00

34 lines
985 B
Makefile

# Created by: Vladimir Laskov <samflanker@gmail.com>
# $FreeBSD$
PORTNAME= megacli
DISTVERSION= 8-07-14
CATEGORIES= sysutils
MASTER_SITES= http://www.avagotech.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/ \
http://ftp.wsisiz.edu.pl/pub/pc/drivers/lsi/
DISTNAME= ${DISTVERSION}_MegaCLI
MAINTAINER= samflanker@gmail.com
COMMENT= SAS MegaRAID FreeBSD MegaCLI
RESTRICTED= Source recipient must acknowledge license. Reproduction or redistribution prohibited. See http://www.lsi.com/lookup/License.aspx
USES= zip
ONLY_FOR_ARCHS= i386 amd64
NO_BUILD= yes
NO_WRKSUBDIR= yes
PLIST_FILES= sbin/MegaCli
MEGACLI_ARCH= MegaCli${ARCH:S/i386//:S/amd64/64/}
post-extract:
@${MV} ${WRKSRC}/FreeBSD/MegaCLI.zip ${WRKSRC}/FreeBSD/MegaCli.zip
@${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${WRKSRC}/FreeBSD/${MEGACLI_ARCH}.zip -d ${WRKSRC}/FreeBSD
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/FreeBSD/${MEGACLI_ARCH} ${STAGEDIR}${PREFIX}/sbin/MegaCli
.include <bsd.port.mk>