aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2003-10-14 04:51:34 +0800
committerbms <bms@FreeBSD.org>2003-10-14 04:51:34 +0800
commit22b85013d62fefa05f593a2075b636a8e4326942 (patch)
tree5c4e9f86eb768721564c0e573ab5460c014e78df
parent5a9dc3afb1e3188cdf67995a608eea0c1756d5d8 (diff)
downloadfreebsd-ports-gnome-22b85013d62fefa05f593a2075b636a8e4326942.tar.gz
freebsd-ports-gnome-22b85013d62fefa05f593a2075b636a8e4326942.tar.zst
freebsd-ports-gnome-22b85013d62fefa05f593a2075b636a8e4326942.zip
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
-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