2007-12-19 18:20:33 +01:00
|
|
|
# New ports collection makefile for: arcconf
|
|
|
|
# Date created: 28 October 2007
|
|
|
|
# Whom: michael@fuckner.net
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= arcconf
|
2011-01-11 11:38:09 +01:00
|
|
|
DISTVERSION= v6_50_18579
|
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
|
|
|
|
NO_CDROM= yes
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2010-06-27 22:36:31 +02:00
|
|
|
.if ${OSVERSION} >= 800000
|
2010-08-26 11:12:54 +02:00
|
|
|
DIST_TYPE= 8
|
|
|
|
.elif ${OSVERSION} >= 700000
|
|
|
|
DIST_TYPE= 7
|
2009-03-24 23:43:40 +01:00
|
|
|
.else
|
|
|
|
DIST_TYPE= 6
|
|
|
|
.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:
|
2011-01-11 11:38:09 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/freebsd${DIST_TYPE}/cmdline/arcconf ${PREFIX}/sbin
|
2009-12-20 13:43:18 +01:00
|
|
|
@${MKDIR} ${PREFIX}/etc/periodic/daily
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PERIODICSCRIPT} ${PREFIX}/etc/periodic/daily
|
2007-12-19 18:20:33 +01:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|