Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 2013 14:39:22 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335182 - head/sysutils/megarc
Message-ID:  <201311291439.rATEdM95074019@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311291439.rATEdM95074019>