Use bsdtar to extract .zip files

Update WWW

PR:		ports/184364
Submitted by:	Takefu <takefu@airport.fm>
This commit is contained in:
Baptiste Daroussin 2014-01-20 07:52:01 +00:00
parent c26c9eb22b
commit 114b2220c6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340370
2 changed files with 4 additions and 3 deletions

View file

@ -6,6 +6,7 @@ PORTVERSION= 1.51
CATEGORIES= sysutils
MASTER_SITES= # not available
DISTNAME= dr_freebsd_${PORTVERSION}
EXTRACT_SUFX= .zip
MAINTAINER= ports@FreeBSD.org
COMMENT= LSI Logic's MegaRAID controlling software
@ -13,7 +14,6 @@ COMMENT= LSI Logic's MegaRAID controlling software
OPTIONS_DEFINE= DOCS
USES= dos2unix
USE_ZIP= yes
DOS2UNIX_GLOB= *.txt
NO_BUILD= yes
NO_WRKSUBDIR= yes
@ -26,7 +26,8 @@ PLIST_FILES= sbin/megarc
PORTDOCS= *
post-extract:
@cd ${WRKSRC} && ${UNZIP_CMD} ${EXTRACT_BEFORE_ARGS} 'MegaRC 1.04.zip'
@cd ${WRKSRC} && \
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} 'MegaRC 1.04.zip' -C ${WRKSRC}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/megarc ${STAGEDIR}${PREFIX}/sbin

View file

@ -1,4 +1,4 @@
This port provides an utility for controlling most of the LSI Logic's
MegaRAID BIOS functions.
WWW: http://www.lsilogic.com/products/megaraid/
WWW: http://www.lsi.com/products/raid-controllers/pages/default.aspx