summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorBruce M Simpson <bms@FreeBSD.org>2003-10-13 20:51:34 +0000
committerBruce M Simpson <bms@FreeBSD.org>2003-10-13 20:51:34 +0000
commit41c16e2ad5ece815ccc5067f807c890ca1b1ca48 (patch)
treec3db867894c8c184eeae42bca07fee0e5668ae58 /sysutils
parentUpdate tla to 1.1pre7. (diff)
Fetch the distfiles from Adaptec directly. Fix a bug where the package
would create two directories in /var/db/pkg rather than only one. Submitted by: scottl Noticed by: Helge Odach
Notes
Notes: svn path=/head/; revision=91099
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/aaccli/Makefile18
-rw-r--r--sysutils/aaccli/distinfo.i3862
2 files changed, 15 insertions, 5 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>
diff --git a/sysutils/aaccli/distinfo.i386 b/sysutils/aaccli/distinfo.i386
index 2b9125c692fc..a6c1b72e2a14 100644
--- a/sysutils/aaccli/distinfo.i386
+++ b/sysutils/aaccli/distinfo.i386
@@ -1 +1 @@
-MD5 (aaccli-1.0_0.tgz) = 7f1f68deb146f43a8a880bc28e64954e
+MD5 (5400s_fbsd_cli_v10.zip) = f2aff37180844114d0cd9cc446865f5a