freebsd-ports/sysutils/areca-cli/Makefile

42 lines
1 KiB
Makefile
Raw Normal View History

2013-05-07 16:09:04 +02:00
# Created by: Rink Springer <rink@FreeBSD.org>
# $FreeBSD$
PORTNAME= areca-cli
DISTVERSION= ${CLI_VER}.${CLI_REV}
2013-05-07 16:09:04 +02:00
PORTEPOCH= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.areca.us/support/s_freebsd/cli/ \
LOCAL/ehaupt
PKGNAMESUFFIX= -${ARCH}
DISTNAME= freebsdcli_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
2014-03-10 18:01:36 +01:00
USES= zip
NO_BUILD= yes
CLI_VER= 1.14.7
CLI_REV= 150519
SUB_FILES+= ${PERIODICSCRIPT}
WRKSRC= ${WRKDIR}/freebsdcli_V${CLI_VER}_${CLI_REV}
.include <bsd.port.pre.mk>
do-install:
.if ${ARCH} == "i386"
2013-10-23 09:14:05 +02:00
${INSTALL_PROGRAM} ${WRKSRC}/${ARCH}/cli32 ${STAGEDIR}${PREFIX}/sbin/areca-cli
.elif ${ARCH} == "amd64"
2013-10-23 09:14:05 +02:00
${INSTALL_PROGRAM} ${WRKSRC}/x86_64/cli64 ${STAGEDIR}${PREFIX}/sbin/areca-cli
.endif
2013-10-23 09:14:05 +02:00
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily
${INSTALL_SCRIPT} ${WRKDIR}/${PERIODICSCRIPT} ${STAGEDIR}${PREFIX}/etc/periodic/daily
.include <bsd.port.post.mk>