summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authortaca <taca>2004-11-29 03:31:53 +0000
committertaca <taca>2004-11-29 03:31:53 +0000
commit6f47a94ade6cdc4fb52b1096c9d89ac4eda670c6 (patch)
tree3653bc1863a477b0964790d2bc6703de0be5d142 /lang
parent3dcadb2365b68187208fb880832191a76ed7c084 (diff)
downloadpkgsrc-6f47a94ade6cdc4fb52b1096c9d89ac4eda670c6.tar.gz
Allow selecting sub-directory on MASTER_SITES with RUBY_SITE_SUBDIR.
Diffstat (limited to 'lang')
-rw-r--r--lang/ruby/Makefile.common29
1 files changed, 15 insertions, 14 deletions
diff --git a/lang/ruby/Makefile.common b/lang/ruby/Makefile.common
index 4d0813fad3b..4d4173767cf 100644
--- a/lang/ruby/Makefile.common
+++ b/lang/ruby/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2004/11/28 11:19:32 taca Exp $
+# $NetBSD: Makefile.common,v 1.3 2004/11/29 03:31:53 taca Exp $
#
# Ruby base distribution common definition
@@ -6,19 +6,20 @@
# Ruby distribution sites.
#
MASTER_SITE_RUBY?= \
- ftp://ftp.ruby-lang.org/pub/ruby/${RUBY_VER_DIR}/ \
- ftp://www.ibiblio.org/pub/languages/ruby/${RUBY_VER_DIR}/ \
- ftp://xyz.lcs.mit.edu/pub/ruby/${RUBY_VER_DIR}/ \
- ftp://gd.tuwien.ac.at/languages/ruby/${RUBY_VER_DIR}/ \
- ftp://ftp.fu-berlin.de/unix/languages/ruby/${RUBY_VER_DIR}/ \
- ftp://ftp.easynet.be/ruby/ruby/${RUBY_VER_DIR}/ \
- ftp://ftp.ntua.gr/pub/lang/ruby/${RUBY_VER_DIR}/ \
- ftp://sunsite.dk/mirrors/ruby/${RUBY_VER_DIR}/ \
- ftp://ruby.cdpa.nsysu.edu.tw/ruby/${RUBY_VER_DIR}/ \
- ftp://ftp.chg.ru/pub/lang/ruby/${RUBY_VER_DIR}/ \
- ftp://ftp.ring.gr.jp/pub/lang/ruby/${RUBY_VER_DIR}/ \
- ftp://ftp.iij.ad.jp/pub/lang/ruby/${RUBY_VER_DIR}/ \
- ftp://ftp.idaemons.org/pub/mirror/ftp.ruby-lang.org/ruby/${RUBY_VER_DIR}/
+ ftp://ftp.ruby-lang.org/pub/ruby/${RUBY_SITE_SUBDIR}/ \
+ ftp://www.ibiblio.org/pub/languages/ruby/${RUBY_SITE_SUBDIR}/ \
+ ftp://xyz.lcs.mit.edu/pub/ruby/${RUBY_SITE_SUBDIR}/ \
+ ftp://gd.tuwien.ac.at/languages/ruby/${RUBY_SITE_SUBDIR}/ \
+ ftp://ftp.fu-berlin.de/unix/languages/ruby/${RUBY_SITE_SUBDIR}/ \
+ ftp://ftp.easynet.be/ruby/ruby/${RUBY_SITE_SUBDIR}/ \
+ ftp://ftp.ntua.gr/pub/lang/ruby/${RUBY_SITE_SUBDIR}/ \
+ ftp://sunsite.dk/mirrors/ruby/${RUBY_SITE_SUBDIR}/ \
+ ftp://ruby.cdpa.nsysu.edu.tw/ruby/${RUBY_SITE_SUBDIR}/ \
+ ftp://ftp.chg.ru/pub/lang/ruby/${RUBY_SITE_SUBDIR}/ \
+ ftp://ftp.ring.gr.jp/pub/lang/ruby/${RUBY_SITE_SUBDIR}/ \
+ ftp://ftp.iij.ad.jp/pub/lang/ruby/${RUBY_SITE_SUBDIR}/ \
+ ftp://ftp.idaemons.org/pub/mirror/ftp.ruby-lang.org/ruby/${RUBY_SITE_SUBDIR}/
+RUBY_SITE_SUBDIR?= ${RUBY_VER_DIR}
# Ruby distribution
RUBY_DISTINFO_FILE= ${.CURDIR}/../../lang/ruby${RUBY_VER}/distinfo