Lines 2-15
Link Here
|
2 |
# $FreeBSD: head/sysutils/arcconf/Makefile 355559 2014-05-27 18:43:31Z grembo $ |
2 |
# $FreeBSD: head/sysutils/arcconf/Makefile 355559 2014-05-27 18:43:31Z grembo $ |
3 |
|
3 |
|
4 |
PORTNAME= arcconf |
4 |
PORTNAME= arcconf |
5 |
DISTVERSION= v7_30_18837 |
5 |
DISTVERSION= v1_6_21062 |
6 |
CATEGORIES= sysutils |
6 |
CATEGORIES= sysutils |
7 |
MASTER_SITES= http://download.adaptec.com/raid/storage_manager/ |
7 |
MASTER_SITES= http://download.adaptec.com/raid/storage_manager/ |
8 |
DISTNAME= asm_freebsd_${DIST_EXT}_${DISTVERSION} |
8 |
DISTNAME= arcconf_${DISTVERSION} |
9 |
EXTRACT_SUFX= .tgz |
9 |
EXTRACT_SUFX= .zip |
10 |
|
10 |
|
11 |
MAINTAINER= michael@fuckner.net |
11 |
MAINTAINER= michael@fuckner.net |
12 |
COMMENT= Adaptec SCSI RAID administration tool |
12 |
COMMENT= Adaptec SCSI/SAS RAID administration tool |
13 |
|
13 |
|
14 |
ONLY_FOR_ARCHS= i386 amd64 |
14 |
ONLY_FOR_ARCHS= i386 amd64 |
15 |
|
15 |
|
Lines 22-44
Link Here
|
22 |
|
22 |
|
23 |
.include <bsd.port.pre.mk> |
23 |
.include <bsd.port.pre.mk> |
24 |
|
24 |
|
25 |
.if ${OSVERSION} >= 800000 |
25 |
.if ${OSVERSION} >= 900000 |
|
|
26 |
DIST_OSVER= 9 |
27 |
.elif ${OSVERSION} >= 800000 |
26 |
DIST_OSVER= 8 |
28 |
DIST_OSVER= 8 |
27 |
.elif ${OSVERSION} >= 700000 |
|
|
28 |
DIST_OSVER= 7 |
29 |
.endif |
29 |
.endif |
30 |
|
30 |
|
31 |
.if ${ARCH} == amd64 |
31 |
.if ${ARCH} == amd64 |
32 |
DIST_EXT= x64 |
32 |
DIST_EXT= _x64 |
33 |
.else |
33 |
RUN_DEPENDS+= ${LOCALBASE}/lib/compat/libstdc++.so.6:${PORTSDIR}/misc/compat9x |
34 |
DIST_EXT= x86 |
34 |
.elif |
|
|
35 |
RUN_DEPENDS+= ${LOCALBASE}/lib32/compat/libstdc++.so.6:${PORTSDIR}/misc/compat9x |
35 |
.endif |
36 |
.endif |
36 |
|
37 |
|
37 |
NO_BUILD= yes |
38 |
NO_BUILD= yes |
38 |
NO_WRKSUBDIR= yes |
39 |
NO_WRKSUBDIR= yes |
39 |
|
40 |
|
40 |
do-install: |
41 |
do-install: |
41 |
${INSTALL_PROGRAM} ${WRKSRC}/freebsd${DIST_OSVER}/cmdline/arcconf ${STAGEDIR}${PREFIX}/sbin |
42 |
${INSTALL_PROGRAM} ${WRKSRC}/freebsd${DIST_OSVER}${DIST_EXT}/cmdline/arcconf ${STAGEDIR}${PREFIX}/sbin |
42 |
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily |
43 |
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily |
43 |
${INSTALL_SCRIPT} ${WRKDIR}/${PERIODICSCRIPT} ${STAGEDIR}${PREFIX}/etc/periodic/daily |
44 |
${INSTALL_SCRIPT} ${WRKDIR}/${PERIODICSCRIPT} ${STAGEDIR}${PREFIX}/etc/periodic/daily |
44 |
|
45 |
|