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}
|
|
|
|
|
2006-04-15 13:47:42 +02:00
|
|
|
MAINTAINER= gerrit.beine@gmx.de
|
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-11-19 11:16:30 +01:00
|
|
|
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
|
|
|
|
DISTFILE_INSTRUCTIONS=\n\
|
|
|
|
The distribution file is not freely avaliable.\n\
|
|
|
|
The binary is shipped on the Megaraid Universal Software Suite\n\
|
|
|
|
CD which accompanies any boxed LSI Logic RAID storage adaptor.\n\
|
|
|
|
\n\
|
|
|
|
Copy ${DISTNAME}${EXTRACT_SUFX} to ${DISTDIR} and try again.\n\
|
|
|
|
\n\
|
|
|
|
For further instructions, see http://www.freebsdwiki.net/index.php/Megarc\n\n
|
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-fetch:
|
|
|
|
.if defined(DISTFILE_INSTRUCTIONS)
|
|
|
|
@${PRINTF} "${DISTFILE_INSTRUCTIONS}"
|
|
|
|
@exit 1
|
|
|
|
.endif
|
|
|
|
|
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
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Release\ History.txt ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
2009-08-18 22:34:58 +02:00
|
|
|
.include <bsd.port.mk>
|