svn commit: r335182 - head/sysutils/megarc
Mathieu Arnold
mat at FreeBSD.org
Fri Nov 29 14:39:23 UTC 2013
Author: mat
Date: Fri Nov 29 14:39:22 2013
New Revision: 335182
URL: http://svnweb.freebsd.org/changeset/ports/335182
Log:
Convert to staging.
Modified:
head/sysutils/megarc/Makefile
Modified: head/sysutils/megarc/Makefile
==============================================================================
--- head/sysutils/megarc/Makefile Fri Nov 29 14:30:25 2013 (r335181)
+++ head/sysutils/megarc/Makefile Fri Nov 29 14:39:22 2013 (r335182)
@@ -10,11 +10,14 @@ DISTNAME= dr_freebsd_${PORTVERSION}
MAINTAINER= ports at FreeBSD.org
COMMENT= LSI Logic's MegaRAID controlling software
+OPTIONS_DEFINE= DOCS
+
USES= dos2unix
USE_ZIP= yes
DOS2UNIX_GLOB= *.txt
NO_BUILD= yes
NO_WRKSUBDIR= yes
+STRIP=
ONLY_FOR_ARCHS= i386 amd64
RESTRICTED= Must be downloaded directly from the manufacturer
@@ -22,21 +25,18 @@ RESTRICTED= Must be downloaded directly
PLIST_FILES= sbin/megarc
PORTDOCS= *
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
-.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
-IGNORE= has a distribution file that is not freely available. The binary is shipped on the Megaraid Universal Software Suite CD which accompanies any boxed LSI Logic RAID storage adaptor. Copy ${DISTNAME}${EXTRACT_SUFX} to ${DISTDIR} and try again. For further instructions, see http://www.freebsdwiki.net/index.php/Megarc
-.endif
-
post-extract:
@cd ${WRKSRC} && ${UNZIP_CMD} ${EXTRACT_BEFORE_ARGS} 'MegaRC 1.04.zip'
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/megarc ${PREFIX}/sbin
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/Release\ History.txt ${DOCSDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/megarc ${STAGEDIR}${PREFIX}/sbin
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/Release\ History.txt ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.pre.mk>
+
+.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
+IGNORE= has a distribution file that is not freely available. The binary is shipped on the Megaraid Universal Software Suite CD which accompanies any boxed LSI Logic RAID storage adaptor. Copy ${DISTNAME}${EXTRACT_SUFX} to ${DISTDIR} and try again. For further instructions, see http://www.freebsdwiki.net/index.php/Megarc
.endif
.include <bsd.port.post.mk>
More information about the svn-ports-all
mailing list