2005-06-29 01:05:44 +02:00
# Ports collection makefile for: megarc
# Date created: 22 June 2005
# Whom: Gerrit Beine <tux@pinguru.net>
#
# $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 }
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
USE_ZIP = yes
2010-06-03 17:54:29 +02:00
USE_DOS2UNIX = Release\ History.txt
2005-06-29 01:05:44 +02:00
NO_BUILD = yes
NO_WRKSUBDIR = yes
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 = *
2011-12-04 10:19:46 +01:00
. i n c l u d e < b s d . p o r t . p r e . m k >
2011-11-28 21:51:59 +01:00
2011-11-19 11:16:30 +01:00
. 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 } )
2011-12-15 09:00:42 +01:00
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
2011-11-19 11:16:30 +01:00
. e n d i f
2005-06-29 01:05:44 +02:00
post-extract :
2010-06-03 17:54:29 +02:00
@cd ${ WRKSRC } && ${ UNZIP_CMD } ${ EXTRACT_BEFORE_ARGS } 'MegaRC 1.04.zip'
2005-06-29 01:05:44 +02:00
do-install :
${ INSTALL_PROGRAM } ${ WRKSRC } /megarc ${ PREFIX } /sbin
. i f ! d e f i n e d ( N O P O R T D O C S )
${ MKDIR } ${ DOCSDIR }
${ INSTALL_DATA } ${ WRKSRC } /Release\ History.txt ${ DOCSDIR }
. 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 >