2013-09-21 01:05:58 +02:00
# Created by: Gerrit Beine <tux@pinguru.net>
2005-06-29 01:05:44 +02:00
# $FreeBSD$
PORTNAME = megarc
PORTVERSION = 1.51
CATEGORIES = sysutils
2011-11-19 11:16:30 +01:00
MASTER_SITES = # not available
2005-06-29 01:05:44 +02:00
DISTNAME = dr_freebsd_${ PORTVERSION }
2014-01-20 08:52:01 +01:00
EXTRACT_SUFX = .zip
2005-06-29 01:05:44 +02:00
2012-07-11 20:13:33 +02:00
MAINTAINER = ports@FreeBSD.org
2005-06-29 01:05:44 +02:00
COMMENT = LSI Logic' s MegaRAID controlling software
2013-11-29 15:39:22 +01:00
OPTIONS_DEFINE = DOCS
2013-11-20 00:08:44 +01:00
USES = dos2unix
2013-11-28 17:49:31 +01:00
DOS2UNIX_GLOB = *.txt
2005-06-29 01:05:44 +02:00
NO_BUILD = yes
NO_WRKSUBDIR = yes
2013-11-29 15:39:22 +01:00
STRIP =
2005-06-29 01:05:44 +02:00
2005-11-12 09:54:31 +01:00
ONLY_FOR_ARCHS = i386 amd64
2005-11-10 14:48:45 +01:00
RESTRICTED = Must be downloaded directly from the manufacturer
2005-06-29 01:05:44 +02:00
PLIST_FILES = sbin/megarc
PORTDOCS = *
post-extract :
2014-01-20 08:52:01 +01:00
@cd ${ WRKSRC } && \
${ EXTRACT_CMD } ${ EXTRACT_BEFORE_ARGS } 'MegaRC 1.04.zip' -C ${ WRKSRC }
2005-06-29 01:05:44 +02:00
do-install :
2013-11-29 15:39:22 +01:00
${ INSTALL_PROGRAM } ${ WRKSRC } /megarc ${ STAGEDIR } ${ PREFIX } /sbin
@${ MKDIR } ${ STAGEDIR } ${ DOCSDIR }
${ INSTALL_DATA } ${ WRKSRC } /Release\ History.txt ${ STAGEDIR } ${ DOCSDIR }
. i n c l u d e < b s d . p o r t . p r e . m k >
. i f ! e x i s t s ( $ { D I S T D I R } / $ { D I S T N A M E } $ { E X T R A C T _ S U F X } )
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
2005-06-29 01:05:44 +02:00
. e n d i f
2011-12-04 10:19:46 +01:00
. i n c l u d e < b s d . p o r t . p o s t . m k >