aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2005-11-10 21:48:45 +0800
committerarved <arved@FreeBSD.org>2005-11-10 21:48:45 +0800
commit78a7195635755f5e964c3cfbfe392ae20f5e5391 (patch)
tree9d8fac42ca39473aa8c4a43dcbfe22955796c904
parent34a34e218e054653c732b97d282888cc8372ecc0 (diff)
downloadfreebsd-ports-gnome-78a7195635755f5e964c3cfbfe392ae20f5e5391.tar.gz
freebsd-ports-gnome-78a7195635755f5e964c3cfbfe392ae20f5e5391.tar.zst
freebsd-ports-gnome-78a7195635755f5e964c3cfbfe392ae20f5e5391.zip
Add a direct download URL
Add amd64 and ia64 to ONLY_FOR_ARCHS as they can execute i386-executables PR: 88782 Submitted by: mi (via maintainer)
-rw-r--r--sysutils/megarc/Makefile17
1 files changed, 5 insertions, 12 deletions
diff --git a/sysutils/megarc/Makefile b/sysutils/megarc/Makefile
index 036de52b55d9..66df2f2ae0e6 100644
--- a/sysutils/megarc/Makefile
+++ b/sysutils/megarc/Makefile
@@ -8,7 +8,7 @@
PORTNAME= megarc
PORTVERSION= 1.51
CATEGORIES= sysutils
-MASTER_SITES=
+MASTER_SITES= http://www.lsilogic.com/files/support/rsa/beta/drivers/
DISTNAME= dr_freebsd_${PORTVERSION}
MAINTAINER= tux@pinguru.net
@@ -18,21 +18,14 @@ USE_ZIP= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
-ONLY_FOR_ARCHS= i386
-RESTRICTED= "Restrictive license"
-DOWNLOAD_URL= http://www.lsilogic.com/products/megaraid/
+ONLY_FOR_ARCHS= i386 amd64 ia64
+RESTRICTED= Must be downloaded directly from the manufacturer
PLIST_FILES= sbin/megarc
PORTDOCS= *
-.include <bsd.port.pre.mk>
-
-.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
-IGNORE= can not be automatically fetched due to licensing restrictions. You must manually fetch the distribution files from ${DOWNLOAD_URL} (Support -> Downloads -> freebsd151), place it in ${DISTDIR} and run make again
-.endif
-
post-extract:
- @cd ${WRKSRC} && ${UNZIP_CMD} -qo 'MegaRC 1.04.zip'
+ @cd ${WRKSRC} && ${UNZIP_CMD} -aqo 'MegaRC 1.04.zip'
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/megarc ${PREFIX}/sbin
@@ -41,4 +34,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/Release\ History.txt ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>