aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/arcconf/Makefile
blob: 9f22ce1b5ce4748644b13cc403539b7437989134 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# New ports collection makefile for:    arcconf
# Date created:             28 October 2007
# Whom:                 michael@fuckner.net
#
# $FreeBSD$

PORTNAME=   arcconf
DISTVERSION=    v5_30_17509
CATEGORIES= sysutils
MASTER_SITES=   http://download.adaptec.com/raid/storage_manager/
DISTNAME=   cli_freebsd${DIST_EXT}_${DISTVERSION}

MAINTAINER= michael@fuckner.net
COMMENT=    Adaptec SCSI RAID administration tool

ONLY_FOR_ARCHS= i386 amd64

RESTRICTED= May not be redistributed in binary form
NO_CDROM=   yes

PLIST_FILES=    sbin/arcconf

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 700000
LIB_DEPENDS+=   c.6:${PORTSDIR}/misc/compat6x
.endif

.if ${OSVERSION} >= 600000
.if ${ARCH} == amd64
DIST_EXT=   6_x64
.else
DIST_EXT=   6_x86
.endif
.endif

.if ${OSVERSION} < 600000
.if ${ARCH} == "i386"
DIST_EXT=   5_x86
.else
IGNORE=     combination OS/ARCH not supported
.endif
.endif

NO_BUILD=   yes
NO_WRKSUBDIR=   yes

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/arcconf ${PREFIX}/sbin

.include <bsd.port.post.mk>