aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/aaccli/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/aaccli/Makefile')
-rw-r--r--sysutils/aaccli/Makefile18
1 files changed, 14 insertions, 4 deletions
diff --git a/sysutils/aaccli/Makefile b/sysutils/aaccli/Makefile
index 2019bdb71438..263a947a4742 100644
--- a/sysutils/aaccli/Makefile
+++ b/sysutils/aaccli/Makefile
@@ -7,14 +7,17 @@
PORTNAME= aaccli
PORTVERSION= 1.0
+PORTREVISION= 0
CATEGORIES= sysutils
-MASTER_SITES= http://people.freebsd.org/~scottl/aac/
-DISTNAME= ${PORTNAME}-${PORTVERSION}_0
-EXTRACT_SUFX= .tgz
+MASTER_SITES= http://download.adaptec.com/raid/ccu/freebsd/
+DISTNAME= 5400s_fbsd_cli_v10
+EXTRACT_SUFX= .zip
MAINTAINER= bms@FreeBSD.org
COMMENT= Adaptec SCSI RAID administration tool
+EXTRACT_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
+
RESTRICTED= "May not be redistributed in binary form"
NO_CDROM= yes
@@ -23,8 +26,15 @@ PLIST= ${MASTERDIR}/pkg-plist.${MACHINE_ARCH}
MD5_FILE= ${MASTERDIR}/distinfo.${MACHINE_ARCH}
NO_BUILD= yes
+NO_WRKSUBDIR= yes
+
+UNZIP= unzip
+
+do-extract:
+ ${MKDIR} ${WRKSRC}
+ cd ${WRKSRC} && ${UNZIP} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
do-install:
- ${PKG_ADD} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
+ ${PKG_ADD} -R ${WRKSRC}/${PKGNAME}_${PORTREVISION}.tgz
.include <bsd.port.mk>