aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.sites.mk
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-12-09 19:01:50 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-12-09 19:01:50 +0000
commitcf29c9bf0caf9f6014e661c4ba3b3e76fbf533ce (patch)
treea0715762241bb6f5b551d6abcc2ba54dcf7c5b9a /Mk/bsd.sites.mk
parent4bce23edb5b8baf167763c46185933741763a90b (diff)
downloadports-cf29c9bf0caf9f6014e661c4ba3b3e76fbf533ce.tar.gz
ports-cf29c9bf0caf9f6014e661c4ba3b3e76fbf533ce.zip
Notes
Diffstat (limited to 'Mk/bsd.sites.mk')
-rw-r--r--Mk/bsd.sites.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk
index 0ba1232db896..50ba571c5bfc 100644
--- a/Mk/bsd.sites.mk
+++ b/Mk/bsd.sites.mk
@@ -928,11 +928,11 @@ MASTER_SITE_PERL_CPAN_BY+= \
ftp://ftp.auckland.ac.nz/pub/perl/CPAN/%CPANSORT%/%SUBDIR%/ \
http://backpan.perl.org/%CPANSORT%/%SUBDIR%/ \
ftp://ftp.funet.fi/pub/languages/perl/CPAN/%CPANSORT%/%SUBDIR%/ \
- http://cpan.nctu.edu.tw/%CPANSORT%/%SUBDIR%/
+ http://cpan.nctu.edu.tw/%CPANSORT%/%SUBDIR%/ \
+ http://ftp.twaren.net/Unix/Lang/CPAN/%CPANSORT%/%SUBDIR%/
-_PERL_CPAN_FLAG = ${MASTER_SITE_SUBDIR:C/(CPAN):.*$/\1/}
-
-_PERL_CPAN_ID = ${MASTER_SITE_SUBDIR:C/^CPAN:(.)(.)(.*)$/\1\/\1\2\/\1\2\3/}
+_PERL_CPAN_FLAG=${MASTER_SITE_SUBDIR:C/(CPAN):.*$/\1/}
+_PERL_CPAN_ID= ${MASTER_SITE_SUBDIR:C/^CPAN:(.)(.)(.*)$/\1\/\1\2\/\1\2\3/}
.if !empty(_PERL_CPAN_ID) && ${_PERL_CPAN_FLAG:L} == "cpan"
_PERL_CPAN_SORT= authors/id/${_PERL_CPAN_ID}