2013-09-21 01:05:58 +02:00
|
|
|
# Created by: michael@fuckner.net
|
2007-12-19 18:20:33 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= arcconf
|
2011-12-29 20:42:54 +01:00
|
|
|
DISTVERSION= v7_30_18837
|
2007-12-19 18:20:33 +01:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= http://download.adaptec.com/raid/storage_manager/
|
2010-08-26 11:12:54 +02:00
|
|
|
DISTNAME= asm_freebsd_${DIST_EXT}_${DISTVERSION}
|
|
|
|
EXTRACT_SUFX= .tgz
|
2007-12-19 18:20:33 +01:00
|
|
|
|
|
|
|
MAINTAINER= michael@fuckner.net
|
|
|
|
COMMENT= Adaptec SCSI RAID administration tool
|
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
|
2009-12-20 13:43:18 +01:00
|
|
|
PERIODICSCRIPT= 410.status-aac-raid
|
|
|
|
|
|
|
|
SUB_FILES+= ${PERIODICSCRIPT}
|
|
|
|
|
2007-12-19 18:20:33 +01:00
|
|
|
RESTRICTED= May not be redistributed in binary form
|
2013-12-11 20:33:20 +01:00
|
|
|
NO_CDROM= May not be redistributed in binary form
|
2007-12-19 18:20:33 +01:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2010-06-27 22:36:31 +02:00
|
|
|
.if ${OSVERSION} >= 800000
|
2011-05-03 06:51:13 +02:00
|
|
|
DIST_OSVER= 8
|
2010-08-26 11:12:54 +02:00
|
|
|
.elif ${OSVERSION} >= 700000
|
2011-05-03 06:51:13 +02:00
|
|
|
DIST_OSVER= 7
|
2009-03-24 23:43:40 +01:00
|
|
|
.endif
|
|
|
|
|
2007-12-19 18:20:33 +01:00
|
|
|
.if ${ARCH} == amd64
|
2009-03-24 23:43:40 +01:00
|
|
|
DIST_EXT= x64
|
2007-12-19 18:20:33 +01:00
|
|
|
.else
|
2009-03-24 23:43:40 +01:00
|
|
|
DIST_EXT= x86
|
2007-12-19 18:20:33 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
|
|
|
do-install:
|
2014-05-27 20:43:31 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/freebsd${DIST_OSVER}/cmdline/arcconf ${STAGEDIR}${PREFIX}/sbin
|
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PERIODICSCRIPT} ${STAGEDIR}${PREFIX}/etc/periodic/daily
|
2007-12-19 18:20:33 +01:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|