aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2007-06-19 18:28:40 +0800
committersat <sat@FreeBSD.org>2007-06-19 18:28:40 +0800
commite24b1cd0611727404cba31807664eab837d4a33a (patch)
treed10d7f75812074b1c414198b385f5e35cf053822
parenta117c8e4e1ed506b505f0983771e29a072eb0eff (diff)
downloadfreebsd-ports-gnome-e24b1cd0611727404cba31807664eab837d4a33a.tar.gz
freebsd-ports-gnome-e24b1cd0611727404cba31807664eab837d4a33a.tar.zst
freebsd-ports-gnome-e24b1cd0611727404cba31807664eab837d4a33a.zip
- Add master_site_rar and use it in rar, unrar and libunrar ports
Approved by: ache, gabor, Alex Samorukov <samm@os2.kiev.ua> (maintainers)
-rw-r--r--Mk/bsd.sites.mk7
-rw-r--r--archivers/libunrar/Makefile6
-rw-r--r--archivers/rar/Makefile3
-rw-r--r--archivers/unrar/Makefile10
4 files changed, 10 insertions, 16 deletions
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk
index b059d90e7485..12f1c2fe1fae 100644
--- a/Mk/bsd.sites.mk
+++ b/Mk/bsd.sites.mk
@@ -1018,6 +1018,13 @@ MASTER_SITE_QT+= \
ftp://ftp.trolltech.com/qt/source/%SUBDIR%/
.endif
+.if !defined(IGNORE_MASTER_SITE_RAR)
+.for mirror in 2 3 4 5 6 7 8 9
+MASTER_SITE_RAR+= \
+ http://files${mirror}.rarlab.com/rar/%SUBDIR%/
+.endfor
+.endif
+
.if !defined(IGNORE_MASTER_SITE_REDHAT_LINUX)
MASTER_SITE_REDHAT_LINUX+= \
http://mirrors.usc.edu/pub/linux/distributions/redhat/redhat/linux/%SUBDIR%/ \
diff --git a/archivers/libunrar/Makefile b/archivers/libunrar/Makefile
index 9d1ef172ad80..2f36b7fde00e 100644
--- a/archivers/libunrar/Makefile
+++ b/archivers/libunrar/Makefile
@@ -9,11 +9,7 @@ PORTNAME= libunrar
PORTVERSION= 3.7.4
PORTEPOCH= 1
CATEGORIES= archivers
-MASTER_SITES= http://files2.rarlab.com/rar/ \
- http://files3.rarlab.com/rar/ \
- http://files4.rarlab.com/rar/ \
- http://files5.rarlab.com/rar/ \
- http://files6.rarlab.com/rar/
+MASTER_SITES= RAR
DISTNAME= unrarsrc-${PORTVERSION}
MAINTAINER= samm@os2.kiev.ua
diff --git a/archivers/rar/Makefile b/archivers/rar/Makefile
index fd62586851b1..022a27cab5c7 100644
--- a/archivers/rar/Makefile
+++ b/archivers/rar/Makefile
@@ -10,8 +10,7 @@ PORTVERSION= 3.70b1
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= archivers
-MASTER_SITES= http://files.rarlab.com/rar/ \
- http://files2.rarlab.com/rar/
+MASTER_SITES= RAR
DISTNAME= rarbsd-3.7.b1
MAINTAINER= gabor@FreeBSD.org
diff --git a/archivers/unrar/Makefile b/archivers/unrar/Makefile
index 946226ecf6ae..11354fb744f7 100644
--- a/archivers/unrar/Makefile
+++ b/archivers/unrar/Makefile
@@ -9,15 +9,7 @@ PORTNAME= unrar
PORTVERSION= 3.70
PORTEPOCH= 4
CATEGORIES+= archivers
-MASTER_SITES= http://files1.rarlab.com/rar/ \
- http://files2.rarlab.com/rar/ \
- http://files3.rarlab.com/rar/ \
- http://files4.rarlab.com/rar/ \
- http://files5.rarlab.com/rar/ \
- http://files6.rarlab.com/rar/ \
- http://files7.rarlab.com/rar/ \
- http://files8.rarlab.com/rar/ \
- http://files9.rarlab.com/rar/
+MASTER_SITES= RAR
DISTNAME= unrarsrc-3.7.6
MAINTAINER?= ache@FreeBSD.org