aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/megarc/Makefile
blob: dd5e61a5024e5414d263d8e009dd9271d42af337 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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=   http://www.lsilogic.com/files/support/rsa/beta/drivers/
DISTNAME=   dr_freebsd_${PORTVERSION}

MAINTAINER= tux@pinguru.net
COMMENT=    LSI Logic's MegaRAID controlling software

USE_ZIP=    yes
NO_BUILD=   yes
NO_WRKSUBDIR=   yes

ONLY_FOR_ARCHS= i386 amd64
RESTRICTED= Must be downloaded directly from the manufacturer

PLIST_FILES=    sbin/megarc
PORTDOCS=   *

post-extract:
    @cd ${WRKSRC} && ${UNZIP_CMD} -aqo '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>