mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
6e7e61c063
PR: ports/162057 Approved by: maintainer timeout (3 weeks, gerrit.beine@gmx.de) Feature safe: yes
56 lines
1.3 KiB
Makefile
56 lines
1.3 KiB
Makefile
# Ports collection makefile for: megarc
|
|
# Date created: 22 June 2005
|
|
# Whom: Gerrit Beine <tux@pinguru.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= megarc
|
|
PORTVERSION= 1.51
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= # not available
|
|
DISTNAME= dr_freebsd_${PORTVERSION}
|
|
|
|
MAINTAINER= gerrit.beine@gmx.de
|
|
COMMENT= LSI Logic's MegaRAID controlling software
|
|
|
|
USE_ZIP= yes
|
|
USE_DOS2UNIX= Release\ History.txt
|
|
NO_BUILD= yes
|
|
NO_WRKSUBDIR= yes
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
RESTRICTED= Must be downloaded directly from the manufacturer
|
|
|
|
PLIST_FILES= sbin/megarc
|
|
PORTDOCS= *
|
|
|
|
.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
|
|
|
|
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}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|