ports/184364: [PATCH] sysutils/megarc: fix StageDir
Takefu
takefu at airport.fm
Fri Nov 29 03:07:48 UTC 2013
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 at 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 ---
More information about the freebsd-ports-bugs
mailing list