mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
45 lines
1.0 KiB
Makefile
45 lines
1.0 KiB
Makefile
# New ports collection makefile for: areca-cli
|
|
# Date created: 16 July 2006
|
|
# Whom: Rink Springer <rink@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= areca-cli
|
|
DISTVERSION= ${CLI_VER}.${CLI_REV}
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ftp://ftp.areca.com.tw/RaidCards/AP_Drivers/FreeBSD/CLI/ \
|
|
CRITICAL
|
|
PKGNAMESUFFIX= -${ARCH}
|
|
DISTNAME= v${CLI_VER}_${CLI_REV}
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= Command Line Interface for the Areca ARC-xxxx RAID controllers
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
PERIODICSCRIPT= 407.status-areca-raid
|
|
|
|
USE_ZIP= yes
|
|
NO_BUILD= yes
|
|
|
|
CLI_VER= 1.83
|
|
CLI_REV= 091103
|
|
|
|
SUB_FILES+= ${PERIODICSCRIPT}
|
|
|
|
WRKSRC= ${WRKDIR}/V${CLI_VER}_${CLI_REV}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
do-install:
|
|
.if ${ARCH} == "i386"
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${ARCH}/cli32 ${PREFIX}/sbin/areca-cli
|
|
.elif ${ARCH} == "amd64"
|
|
${INSTALL_PROGRAM} ${WRKSRC}/x86-64/cli64 ${PREFIX}/sbin/areca-cli
|
|
.endif
|
|
@${MKDIR} ${PREFIX}/etc/periodic/daily
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PERIODICSCRIPT} ${PREFIX}/etc/periodic/daily
|
|
|
|
.include <bsd.port.post.mk>
|