Changeset View
Changeset View
Standalone View
Standalone View
Mk/bsd.sites.mk
Show First 20 Lines • Show All 1,169 Lines • ▼ Show 20 Lines | |||||
.endif | .endif | ||||
.if !defined(IGNORE_MASTER_SITE_XCONTRIB) | .if !defined(IGNORE_MASTER_SITE_XCONTRIB) | ||||
MASTER_SITE_XCONTRIB+= \ | MASTER_SITE_XCONTRIB+= \ | ||||
ftp://ftp.gwdg.de/pub/x11/x.org/contrib/%SUBDIR%/ | ftp://ftp.gwdg.de/pub/x11/x.org/contrib/%SUBDIR%/ | ||||
.endif | .endif | ||||
.if !defined(IGNORE_MASTER_SITE_XFCE) | .if !defined(IGNORE_MASTER_SITE_XFCE) | ||||
_XFCE_PATH= ${DISTNAME:S/-${DISTVERSIONFULL}//:tl}/${DISTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} | |||||
MASTER_SITE_XFCE+= \ | MASTER_SITE_XFCE+= \ | ||||
https://mirror.netcologne.de/xfce/%SUBDIR%/ \ | https://archive.xfce.org/src/%SUBDIR%/${_XFCE_PATH}/ \ | ||||
http://ftp.udc.es/xfce/%SUBDIR%/ \ | https://mirror.netcologne.de/xfce/src/%SUBDIR%/${_XFCE_PATH}/ \ | ||||
http://xfce.mirror.uber.com.au/%SUBDIR%/ \ | https://ftp.cixug.es/xfce/src/%SUBDIR%/${_XFCE_PATH}/ \ | ||||
mat: I don't understand the difference in the if and else here.
if DISTNAME without DISTVERSION is… | |||||
Done Inline ActionsI've addressed this using the code you suggested in D8416#175493 madpilot: I've addressed this using the code you suggested in D8416#175493 | |||||
https://archive.be.xfce.org/%SUBDIR%/ \ | https://archive.be.xfce.org/src/%SUBDIR%/${_XFCE_PATH}/ \ | ||||
http://archive.be2.xfce.org/%SUBDIR%/ \ | https://archive.al-us.xfce.org/src/%SUBDIR%/${_XFCE_PATH}/ \ | ||||
https://archive.al-us.xfce.org/%SUBDIR%/ \ | http://mirror.perldude.de/archive.xfce.org/src/%SUBDIR%/${_XFCE_PATH}/ | ||||
http://mirrors.tummy.com/pub/archive.xfce.org/%SUBDIR%/ \ | |||||
http://mirror.perldude.de/archive.xfce.org/%SUBDIR%/ | |||||
.endif | .endif | ||||
.if !defined(IGNORE_MASTER_SITE_XORG) | .if !defined(IGNORE_MASTER_SITE_XORG) | ||||
MASTER_SITE_XORG+= \ | MASTER_SITE_XORG+= \ | ||||
https://xorg.freedesktop.org/releases/%SUBDIR%/ \ | https://xorg.freedesktop.org/releases/%SUBDIR%/ \ | ||||
http://xorg.mirrors.pair.com/%SUBDIR%/ \ | http://xorg.mirrors.pair.com/%SUBDIR%/ \ | ||||
http://mirror.us.leaseweb.net/xorg/%SUBDIR%/ \ | http://mirror.us.leaseweb.net/xorg/%SUBDIR%/ \ | ||||
https://mirror.csclub.uwaterloo.ca/x.org/%SUBDIR%/ \ | https://mirror.csclub.uwaterloo.ca/x.org/%SUBDIR%/ \ | ||||
▲ Show 20 Lines • Show All 62 Lines • ▼ Show 20 Lines | MASTER_SITES_SUBDIRS= APACHE_COMMONS_BINARIES:${PORTNAME:S,commons-,,} \ | ||||
MATE:${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} \ | MATE:${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} \ | ||||
MOZDEV:${PORTNAME:tl} \ | MOZDEV:${PORTNAME:tl} \ | ||||
NETLIB:${PORTNAME} \ | NETLIB:${PORTNAME} \ | ||||
PERL_CPAN:${PORTNAME:C/-.*//} \ | PERL_CPAN:${PORTNAME:C/-.*//} \ | ||||
QT:archive/qt/${PORTVERSION:R} \ | QT:archive/qt/${PORTVERSION:R} \ | ||||
SAMBA:${PORTNAME} \ | SAMBA:${PORTNAME} \ | ||||
SAVANNAH:${PORTNAME:tl} \ | SAVANNAH:${PORTNAME:tl} \ | ||||
SOURCEFORGE:${PORTNAME:tl}/${PORTNAME:tl}/${PORTVERSION} \ | SOURCEFORGE:${PORTNAME:tl}/${PORTNAME:tl}/${PORTVERSION} \ | ||||
XFCE:xfce/${XFCE_MASTER_SITE_VER}/src | XFCE:xfce | ||||
.if defined(MASTER_SITES) && ${MASTER_SITES:N*\:/*} | .if defined(MASTER_SITES) && ${MASTER_SITES:N*\:/*} | ||||
.for _site__ in ${MASTER_SITES} | .for _site__ in ${MASTER_SITES} | ||||
_site_=${_site__} | _site_=${_site__} | ||||
. if ${_site_:M*\:/*} | . if ${_site_:M*\:/*} | ||||
MASTER_SITES_EXP+= ${_site_} | MASTER_SITES_EXP+= ${_site_} | ||||
MASTER_SITES_EXP:= ${MASTER_SITES_EXP} | MASTER_SITES_EXP:= ${MASTER_SITES_EXP} | ||||
▲ Show 20 Lines • Show All 78 Lines • Show Last 20 Lines |
I don't understand the difference in the if and else here.
if DISTNAME without DISTVERSION is PORTNAME, then use a lowercased version of PORTNAME, otherwise, use DISTNAME without DISTVERSION.
I had a quick check, I could not find any port in this diff where both are not the same thing.