aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2013-11-29 22:39:22 +0800
committermat <mat@FreeBSD.org>2013-11-29 22:39:22 +0800
commitd0c133c6913f44ec39415555d7e5e91099fbeacc (patch)
treeda9a6144e9029f065eca0c4f15cd6a927bb2336e /sysutils
parent8df5cf94661a528850fdea0879731c53eeaa960c (diff)
downloadfreebsd-ports-gnome-d0c133c6913f44ec39415555d7e5e91099fbeacc.tar.gz
freebsd-ports-gnome-d0c133c6913f44ec39415555d7e5e91099fbeacc.tar.zst
freebsd-ports-gnome-d0c133c6913f44ec39415555d7e5e91099fbeacc.zip
Convert to staging.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/megarc/Makefile22
1 files changed, 11 insertions, 11 deletions
diff --git a/sysutils/megarc/Makefile b/sysutils/megarc/Makefile
index 647070757d06..08b33b86cbcd 100644
--- a/sysutils/megarc/Makefile
+++ b/sysutils/megarc/Makefile
@@ -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 from the manufacturer
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>