summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2004-05-24 13:37:35 +0000
committerknu <knu@FreeBSD.org>2004-05-24 13:37:35 +0000
commit9dc912bb4990f1e9e41b5ac085b8ea820cfc4c6a (patch)
treefa0d000f671a51f1a841f31f47acf0b48eb44f82
parent968711d125d19a1013be154e403525cdf252ccde (diff)
downloadFreeBSD-ports-9dc912bb4990f1e9e41b5ac085b8ea820cfc4c6a.zip
FreeBSD-ports-9dc912bb4990f1e9e41b5ac085b8ea820cfc4c6a.tar.gz
Introduce MASTER_SITE_PHP and add several more mirror sites worldwide.
Approved by: ale (MAINTAINER of lang/php[45])
-rw-r--r--Mk/bsd.sites.mk16
-rw-r--r--lang/php4/Makefile10
-rw-r--r--lang/php5/Makefile10
-rw-r--r--lang/php53/Makefile10
-rw-r--r--www/mod_php3/Makefile13
5 files changed, 26 insertions, 33 deletions
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk
index 2677d16..7f49ce2 100644
--- a/Mk/bsd.sites.mk
+++ b/Mk/bsd.sites.mk
@@ -635,6 +635,22 @@ MASTER_SITE_PGSQL+= \
ftp://ftp.tr.postgresql.org/pub/SQL/postgresql/%SUBDIR%/ \
ftp://ftp.postgresql.org/pub/%SUBDIR%/
+MASTER_SITE_PHP+= \
+ http://www.php.net/%SUBDIR%/ \
+ http://at.php.net/%SUBDIR%/ \
+ http://au.php.net/%SUBDIR%/ \
+ http://br.php.net/%SUBDIR%/ \
+ http://de.php.net/%SUBDIR%/ \
+ http://es.php.net/%SUBDIR%/ \
+ http://fi.php.net/%SUBDIR%/ \
+ http://fr.php.net/%SUBDIR%/ \
+ http://gr.php.net/%SUBDIR%/ \
+ http://it.php.net/%SUBDIR%/ \
+ http://jp.php.net/%SUBDIR%/ \
+ http://se.php.net/%SUBDIR%/ \
+ http://uk.php.net/%SUBDIR%/ \
+ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/www/php/&,}
+
MASTER_SITE_PYTHON+= \
http://www.python.org/%SUBDIR%/ \
http://python.planetmirror.com/%SUBDIR%/ \
diff --git a/lang/php4/Makefile b/lang/php4/Makefile
index 42990cf..08d8a30 100644
--- a/lang/php4/Makefile
+++ b/lang/php4/Makefile
@@ -23,16 +23,10 @@ PORTNAME= php4
PORTVERSION= 4.3.6
PORTREVISION= 1
CATEGORIES?= lang devel www
-MASTER_SITES= http://www.php.net/distributions/:release \
- http://it.php.net/distributions/:release \
- http://fi.php.net/distributions/:release \
- http://de.php.net/distributions/:release \
- http://gr.php.net/distributions/:release \
- http://fr.php.net/distributions/:release \
- http://es.php.net/distributions/:release \
- http://se.php.net/distributions/:release \
+MASTER_SITES= ${MASTER_SITE_PHP:S,$,:release,} \
http://downloads.php.net/ilia/:rc \
http://downloads.php.net/jani/:rc
+MASTER_SITE_SUBDIR= distributions/:release
.if defined(WITHOUT_CLI) && !defined(WITHOUT_APACHE)
PKGNAMEPREFIX= mod_
.else
diff --git a/lang/php5/Makefile b/lang/php5/Makefile
index 141b51f..481ac05 100644
--- a/lang/php5/Makefile
+++ b/lang/php5/Makefile
@@ -24,14 +24,8 @@ PORTNAME= php5
PORTVERSION= 5.0.0.r2
PORTREVISION= 1
CATEGORIES?= lang devel www
-MASTER_SITES= http://www.php.net/distributions/:release \
- http://it.php.net/distributions/:release \
- http://fi.php.net/distributions/:release \
- http://de.php.net/distributions/:release \
- http://gr.php.net/distributions/:release \
- http://fr.php.net/distributions/:release \
- http://es.php.net/distributions/:release \
- http://se.php.net/distributions/:release
+MASTER_SITES= ${MASTER_SITE_PHP:S,$,:release,}
+MASTER_SITE_SUBDIR= distributions/:release
.if defined(WITHOUT_CLI) && !defined(WITHOUT_APACHE)
PKGNAMEPREFIX= mod_
.else
diff --git a/lang/php53/Makefile b/lang/php53/Makefile
index 141b51f..481ac05 100644
--- a/lang/php53/Makefile
+++ b/lang/php53/Makefile
@@ -24,14 +24,8 @@ PORTNAME= php5
PORTVERSION= 5.0.0.r2
PORTREVISION= 1
CATEGORIES?= lang devel www
-MASTER_SITES= http://www.php.net/distributions/:release \
- http://it.php.net/distributions/:release \
- http://fi.php.net/distributions/:release \
- http://de.php.net/distributions/:release \
- http://gr.php.net/distributions/:release \
- http://fr.php.net/distributions/:release \
- http://es.php.net/distributions/:release \
- http://se.php.net/distributions/:release
+MASTER_SITES= ${MASTER_SITE_PHP:S,$,:release,}
+MASTER_SITE_SUBDIR= distributions/:release
.if defined(WITHOUT_CLI) && !defined(WITHOUT_APACHE)
PKGNAMEPREFIX= mod_
.else
diff --git a/www/mod_php3/Makefile b/www/mod_php3/Makefile
index f95c58a..9a12ba4 100644
--- a/www/mod_php3/Makefile
+++ b/www/mod_php3/Makefile
@@ -9,15 +9,12 @@ PORTNAME?= mod_php3
PORTVERSION= 3.0.18
PORTREVISION?= 3
CATEGORIES?= www
-MASTER_SITES= http://php.he.net/${PHP_DISTDIR}/ \
- http://www.php3.de/${PHP_DISTDIR}/ \
- http://au.php.net/${PHP_DISTDIR}/ \
- http://at.php.net/${PHP_DISTDIR}/ \
- http://br.php.net/${PHP_DISTDIR}/ \
- http://php3.globe.de/${PHP_DISTDIR}/
+MASTER_SITES= ${MASTER_SITE_PHP}
+MASTER_SITE_SUBDIR= distributions
DISTNAME= php-${PORTVERSION}
-PATCH_SITES= http://www.php.net/distributions/
+PATCH_SITES= ${MASTER_SITE_PHP}
+PATCH_SITE_SUBDIR= distributions
PATCHFILES= mime.c.diff-3.0.gz
MAINTAINER= ports@FreeBSD.org
@@ -29,8 +26,6 @@ USE_APACHE= yes
PATCH_DIST_ARGS= -d ${WRKSRC}/functions
-PHP_DISTDIR= distributions
-
SLAVEDIRS= lang/php3
USE_SUBMAKE= yes
OpenPOWER on IntegriCloud