aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2008-02-11 23:49:39 +0800
committerehaupt <ehaupt@FreeBSD.org>2008-02-11 23:49:39 +0800
commitb7bb432aea0691b8d75195d18a72ee8e4bd7a426 (patch)
tree3849b1cd7eedce2302171f153451261aeefe5748
parent0d5f5ca7e3783fa225ffcef498455e659bb98e62 (diff)
downloadfreebsd-ports-gnome-b7bb432aea0691b8d75195d18a72ee8e4bd7a426.tar.gz
freebsd-ports-gnome-b7bb432aea0691b8d75195d18a72ee8e4bd7a426.tar.zst
freebsd-ports-gnome-b7bb432aea0691b8d75195d18a72ee8e4bd7a426.zip
- Update to 1.72
- Install i386/amd64 binary according to ${ARCH} - Set PKGNAMESUFFIX according to ${ARCH} to make this port package aware This version has some nice feature, such as firmware update functionality directly trough the areca-cli. PR: 120368 Approved by: rink (maintainer)
-rw-r--r--sysutils/areca-cli/Makefile20
-rw-r--r--sysutils/areca-cli/distinfo6
2 files changed, 16 insertions, 10 deletions
diff --git a/sysutils/areca-cli/Makefile b/sysutils/areca-cli/Makefile
index f71c52342292..4dc016ff7e2f 100644
--- a/sysutils/areca-cli/Makefile
+++ b/sysutils/areca-cli/Makefile
@@ -6,12 +6,12 @@
#
PORTNAME= areca-cli
-PORTVERSION= ${CLI_VER}.${CLI_REV}
-PORTREVISION= 1
+DISTVERSION= ${CLI_VER}.${CLI_REV}
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.unnet.nl/pub/areca/RaidCards/AP_Drivers/FreeBSD/CLI/ \
ftp://ftp.areca.com.tw/RaidCards/AP_Drivers/FreeBSD/CLI/
-DISTNAME= V${CLI_VER}_${CLI_REV}
+PKGNAMESUFFIX= -${ARCH}
+DISTNAME= V${CLI_VER}.${CLI_REV}
MAINTAINER= rink@FreeBSD.org
COMMENT= Command Line Interface for the Areca ARC-xxxx RAID controllers
@@ -23,14 +23,20 @@ PERIODICSCRIPT= 407.status-areca-raid
USE_ZIP= yes
NO_BUILD= yes
-CLI_VER= 1.5
-CLI_REV= 50930
+CLI_VER= 1.72
+CLI_REV= 250_70306
SUB_FILES+= ${PERIODICSCRIPT}
+.include <bsd.port.pre.mk>
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/cli32 ${PREFIX}/sbin/areca-cli
+.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.mk>
+.include <bsd.port.post.mk>
diff --git a/sysutils/areca-cli/distinfo b/sysutils/areca-cli/distinfo
index 3cafa0a86bfd..d1281d975a81 100644
--- a/sysutils/areca-cli/distinfo
+++ b/sysutils/areca-cli/distinfo
@@ -1,3 +1,3 @@
-MD5 (V1.5_50930.zip) = 710abdf646543b14d86f0ce9d7ee15cb
-SHA256 (V1.5_50930.zip) = 835b85befd3fe2ad9ebc1fc0b6226949c04af256e548f9305cc6ce442e41e099
-SIZE (V1.5_50930.zip) = 159687
+MD5 (V1.72.250_70306.zip) = 291fc6d65e5e8d1f85da2ddbbcd30401
+SHA256 (V1.72.250_70306.zip) = 6e2016aa3347da5d5ca7976204f57d54075a92c0ae8a9b334457c51a6d459e3f
+SIZE (V1.72.250_70306.zip) = 797016