Date: Fri, 29 Nov 2013 03:10:01 GMT From: Takefu <takefu@airport.fm> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/184364: [PATCH] sysutils/megarc: fix StageDir Message-ID: <201311290310.rAT3A1kY013636@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/184364; it has been noted by GNATS. From: Takefu <takefu@airport.fm> To: FreeBSD-gnats-submit@FreeBSD.org Cc: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/184364: [PATCH] sysutils/megarc: fix StageDir Date: Fri, 29 Nov 2013 12:07:47 +0900 It is correct patch. --- megarc-1.51.patch begins here --- diff -ruN /usr/ports/sysutils/megarc/Makefile ./Makefile --- /usr/ports/sysutils/megarc/Makefile 2013-11-29 01:49:31.000000000 +0900 +++ ./Makefile 2013-11-29 11:57:21.000000000 +0900 @@ -10,8 +10,8 @@ MAINTAINER= ports@FreeBSD.org COMMENT= LSI Logic's MegaRAID controlling software +EXTRACT_SUFX:= .zip USES= dos2unix -USE_ZIP= yes DOS2UNIX_GLOB= *.txt NO_BUILD= yes NO_WRKSUBDIR= yes @@ -20,9 +20,8 @@ RESTRICTED= Must be downloaded directly from the manufacturer PLIST_FILES= sbin/megarc -PORTDOCS= * +PORTDOCS= Release\ History.txt -NO_STAGE= yes .include <bsd.port.pre.mk> .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) @@ -30,13 +29,13 @@ .endif post-extract: - @cd ${WRKSRC} && ${UNZIP_CMD} ${EXTRACT_BEFORE_ARGS} 'MegaRC 1.04.zip' + @${TAR} ${EXTRACT_BEFORE_ARGS} ${WRKSRC}/MegaRC\ 1.04.zip -C${WRKSRC} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/megarc ${PREFIX}/sbin -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/Release\ History.txt ${DOCSDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/megarc ${STAGEDIR}${PREFIX}/sbin +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/Release\ History.txt ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.post.mk> diff -ruN /usr/ports/sysutils/megarc/pkg-descr ./pkg-descr --- /usr/ports/sysutils/megarc/pkg-descr 2012-07-14 23:29:18.000000000 +0900 +++ ./pkg-descr 2013-11-29 08:46:41.000000000 +0900 @@ -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 --- megarc-1.51.patch ends here ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311290310.rAT3A1kY013636>