Add MASTER_SITE_DEBIAN_POOL which automatically chooses the correct URL

subdir for Debian pool sites:

  /main/pool/<first-letter-of-the-package-name>/<package-name>

Submitted by:	Alex Semenyaka <alexs@snark.ratmir.ru>
PR:		ports/50572
This commit is contained in:
Kris Kennaway 2003-08-04 01:21:05 +00:00
parent 943ac185d5
commit 6d22383b08
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=86251

View file

@ -140,6 +140,9 @@ MASTER_SITE_DEBIAN_NON_US+= \
ftp://ftp2.de.debian.org/debian-non-US/%SUBDIR%/ \
ftp://ftp2.it.debian.org/debian-non-US/%SUBDIR%/
MASTER_SITE_DEBIAN_POOL+= \
${MASTER_SITE_DEBIAN:C|(/%SUBDIR%/)|/pool/main/${PORTNAME:C/^(.).*$/\1/}/${PORTNAME}/|}
MASTER_SITE_ECLIPSE+= \
http://download.eclipse.org/downloads/drops/%SUBDIR%/ \
ftp://download.eclipse.org/%SUBDIR%/ \