pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Create CPAN_MODULE_PATH which points to the locatio...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/24969d40cb55
branches:  trunk
changeset: 486210:24969d40cb55
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sat Dec 25 03:20:33 2004 +0000

description:
Create CPAN_MODULE_PATH which points to the location of Perl modules at
a CPAN mirror.  By default, it is "modules/by-module".

diffstat:

 mk/bsd.sites.mk |  15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diffs (30 lines):

diff -r 29bdfb30b21d -r 24969d40cb55 mk/bsd.sites.mk
--- a/mk/bsd.sites.mk   Sat Dec 25 03:14:15 2004 +0000
+++ b/mk/bsd.sites.mk   Sat Dec 25 03:20:33 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.sites.mk,v 1.26 2004/12/15 14:38:53 tron Exp $
+# $NetBSD: bsd.sites.mk,v 1.27 2004/12/25 03:20:33 jlam Exp $
 #
 # Default MASTER_SITES
 
@@ -48,13 +48,14 @@
        ftp://ftp.easynet.nl/mirror/GNUstep/ \
        http://ftp.easynet.nl/mirror/GNUstep/
 
+CPAN_MODULE_PATH?=     modules/by-module
 MASTER_SITE_PERL_CPAN+= \
-       ftp://cpan.pair.com/modules/by-module/ \
-       ftp://mirrors.cloud9.net/mirrors/CPAN/modules/by-module/ \
-       ftp://ftp.uvsq.fr/pub/perl/CPAN/modules/by-module/ \
-       ftp://ftp.gmd.de/mirrors/CPAN/modules/by-module/ \
-       ftp://ftp.tuwien.ac.at/pub/CPAN/modules/by-module/ \
-       ftp://cpan.perl.org/CPAN/modules/by-module/
+       ftp://cpan.pair.com/${CPAN_MODULE_PATH}/ \
+       ftp://mirrors.cloud9.net/mirrors/CPAN/${CPAN_MODULE_PATH}/ \
+       ftp://ftp.uvsq.fr/pub/perl/CPAN/${CPAN_MODULE_PATH}/ \
+       ftp://ftp.gmd.de/mirrors/CPAN/${CPAN_MODULE_PATH}/ \
+       ftp://ftp.tuwien.ac.at/pub/CPAN/${CPAN_MODULE_PATH}/ \
+       ftp://cpan.perl.org/CPAN/${CPAN_MODULE_PATH}/
 
 MASTER_SITE_R_CRAN+=    \
        http://cran.r-project.org/src/ \



Home | Main Index | Thread Index | Old Index