Use MASTER_SITE_DEBIAN.

This commit is contained in:
Christian Weisgerber 2003-02-13 14:37:08 +00:00
parent cb60da0496
commit ec726a8dba
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=75462
2 changed files with 4 additions and 11 deletions

View File

@ -15,7 +15,8 @@ MASTER_SITES= http://reptile.rug.ac.be/~coder/sniffit/files/ \
MASTER_SITE_SUBDIR= obrien
DISTNAME= sniffit.0.3.7.beta
PATCH_SITES= http://ftp.debian.org/debian/pool/main/s/sniffit/
PATCH_SITES= ${MASTER_SITE_DEBIAN}
PATCH_SITE_SUBDIR= pool/main/s/sniffit
PATCHFILES= sniffit_0.3.7.beta-6.1.diff.gz
PATCH_DIST_STRIP= -p1

View File

@ -9,13 +9,14 @@ PORTNAME= pam-pgsql
PORTVERSION= 0.5.2
PORTREVISION= 7
CATEGORIES= security databases
MASTER_SITES= ${MASTER_SITE_DEBIAN} \
MASTER_SITES= ${MASTER_SITE_DEBIAN_NON_US} \
http://libpam-pgsql.codecastle.com/${PORTNAME}-${PORTVERSION}-${PORTREVISION}/
MASTER_SITE_SUBDIR= pool/non-US/main/p/pam-pgsql
DISTFILES= ${PORTNAME}_${PORTVERSION}.orig${EXTRACT_SUFX}
PATCHFILES= ${PORTNAME}_${PORTVERSION}-5.diff.gz
PATCH_SITES= ${MASTER_SITES}
PATCH_SITE_SUBDIR= ${MASTER_SITE_SUBDIR}
MAINTAINER= m@absolight.fr
@ -24,15 +25,6 @@ LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
POSTGRESQL_PORT?= databases/postgresql7
PATCH_DIST_STRIP= -p1
# When the family of Debian mirrors is added to bsd.port.mk,
# this will suddenly start making sense:
MASTER_SITE_DEBIAN?= http://debian.yorku.ca/debian/non-US/${MASTER_SITE_SUBDIR}/
# This should help the users of MASTER_SORT_REGEX:
.for c in at bg br cz de ee es fi fr hu it jp kr nl no nz pl se si tr uk
MASTER_SITE_DEBIAN+= http://ftp.$c.debian.org/debian-non-US/${MASTER_SITE_SUBDIR}/
.endfor
MASTER_SITE_DEBIAN+= http://ftp.au.debian.org/pub/debian-non-US/${MASTER_SITE_SUBDIR}/ \
ftp://ftp.bora.net/pub/linux/debian-non-US/${MASTER_SITE_SUBDIR}/
MAKEFILE= ${FILESDIR}/Makefile.bsd
MAKE_ARGS+= FILESDIR=${FILESDIR}