aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.sites.mk
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2009-08-13 03:46:41 +0800
committererwin <erwin@FreeBSD.org>2009-08-13 03:46:41 +0800
commitf23df19ae1260a722fa676169f9ed13a39fa0c28 (patch)
treea3e8ca4304110199c0b5febb2542303e967ad4e8 /Mk/bsd.sites.mk
parenta545e15c07ae2300948b38f4c2f8725d0a705faa (diff)
downloadfreebsd-ports-graphics-f23df19ae1260a722fa676169f9ed13a39fa0c28.tar.gz
freebsd-ports-graphics-f23df19ae1260a722fa676169f9ed13a39fa0c28.tar.zst
freebsd-ports-graphics-f23df19ae1260a722fa676169f9ed13a39fa0c28.zip
- Add a new macro SFP, SourceForge Project, for use with the new
file layout used for new uploads at sourceforge.net - Readd garr after the issues are resolved Based on patches from: Sylvio Cesar <scjamorim@bsd.com.br> and amdmi3
Diffstat (limited to 'Mk/bsd.sites.mk')
-rw-r--r--Mk/bsd.sites.mk12
1 files changed, 10 insertions, 2 deletions
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk
index 8f3460552d1..bb03a70b0f8 100644
--- a/Mk/bsd.sites.mk
+++ b/Mk/bsd.sites.mk
@@ -1172,12 +1172,19 @@ MASTER_SITE_SAVANNAH+= \
.endif
.if !defined(IGNORE_MASTER_SITE_SOURCEFORGE)
-.for mirror in superb-east nchc kent easynews ufpr mesh heanet # garr
+.for mirror in garr superb-east nchc kent easynews ufpr mesh heanet
MASTER_SITE_SOURCEFORGE+= \
http://${mirror}.dl.sourceforge.net/sourceforge/%SUBDIR%/
.endfor
.endif
+.if !defined(IGNORE_MASTER_SITE_SOURCEFORGE_PROJECT)
+.for mirror in garr superb-east nchc kent easynews ufpr mesh heanet
+MASTER_SITE_SOURCEFORGE_PROJECT+= \
+ http://${mirror}.dl.sourceforge.net/project/%SUBDIR%/
+.endfor
+.endif
+
# official sf.net mirrors that don't mirror all projects, check
# http://prdownloads.sourceforge.net/%SUBDIR%/
.if !defined(IGNORE_MASTER_SITE_SOURCEFORGE_EXTENDED)
@@ -1493,7 +1500,7 @@ MASTER_SITE_KERNEL_ORG+= \
# Macro magic
-MASTER_SITES_ABBREVS= CPAN:PERL_CPAN SF:SOURCEFORGE SFE:SOURCEFORGE_EXTENDED \
+MASTER_SITES_ABBREVS= CPAN:PERL_CPAN SF:SOURCEFORGE SFP:SOURCEFORGE_PROJECT SFE:SOURCEFORGE_EXTENDED \
SFJP:SOURCEFORGE_JP RF:RUBYFORGE
MASTER_SITES_SUBDIRS= \
APACHE_JAKARTA:${PORTNAME:S,-,/,}/source \
@@ -1514,6 +1521,7 @@ MASTER_SITES_SUBDIRS= \
RUBY_GNOME:${RUBY_GNOME_MASTER_SITE_SUBDIR} \
SAVANNAH:${PORTNAME:L} \
SOURCEFORGE:${PORTNAME:L} \
+ SOURCEFORGE_PROJECT:${PORTNAME:L} \
SOURCEFORGE_EXTENDED:${PORTNAME:L} \
RUBYFORGE:${PORTNAME:L}