aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-11-23 22:23:54 +0800
committerknu <knu@FreeBSD.org>2000-11-23 22:23:54 +0800
commit5aa9b2ffe68bd538265717c23c3471b396261ac6 (patch)
tree3c44a2f5b0b62da6363ad88c067103b6806d3be0
parent100ad0c35b7ab3f50e47eeab931578750a7f0dc6 (diff)
downloadfreebsd-ports-gnome-5aa9b2ffe68bd538265717c23c3471b396261ac6.tar.gz
freebsd-ports-gnome-5aa9b2ffe68bd538265717c23c3471b396261ac6.tar.zst
freebsd-ports-gnome-5aa9b2ffe68bd538265717c23c3471b396261ac6.zip
Use MASTER_SITE_RINGSERVER and MASTER_SITE_SUBDIR effectively.
Not responded by: jseger (MAINTAINER), sobomax
-rw-r--r--print/freetype/Makefile17
-rw-r--r--print/freetype2/Makefile17
2 files changed, 14 insertions, 20 deletions
diff --git a/print/freetype/Makefile b/print/freetype/Makefile
index 8968f09e1b8e..830f20f17856 100644
--- a/print/freetype/Makefile
+++ b/print/freetype/Makefile
@@ -8,16 +8,13 @@
PORTNAME= freetype
PORTVERSION= 1.3.1
CATEGORIES= print
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
- http://sunsite.cnlab-switch.ch/ftp/mirror/freetype/freetype1/ \
- http://www.funet.fi/pub/mirrors/ftp.freetype.org/freetype1/ \
- http://ftp.sunet.se/pub/text-processing/freetype/freetype1/ \
- ftp://ring.aist.go.jp/pub/graphics/freetype/freetype1/ \
- ftp://ring.asahi-net.or.jp/pub/graphics/freetype/ \
- ftp://ring.nacsis.ac.jp/pub/graphics/freetype/ \
- ftp://ring.so-net.ne.jp/pub/graphics/freetype/ \
- ftp://ftp.freetype.org/pub/freetype1/
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S,%SUBDIR%,freetype,} \
+ http://sunsite.cnlab-switch.ch/ftp/mirror/freetype/%SUBDIR%/ \
+ http://www.funet.fi/pub/mirrors/ftp.freetype.org/%SUBDIR%/ \
+ http://ftp.sunet.se/pub/text-processing/freetype/%SUBDIR%/ \
+ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,graphics/freetype/&,} \
+ ftp://ftp.freetype.org/pub/%SUBDIR%/
+MASTER_SITE_SUBDIR= freetype1
MAINTAINER= jseger@FreeBSD.org
diff --git a/print/freetype2/Makefile b/print/freetype2/Makefile
index 38b9cc6b34bd..4e9e726b07a7 100644
--- a/print/freetype2/Makefile
+++ b/print/freetype2/Makefile
@@ -8,16 +8,13 @@
PORTNAME= freetype2
PORTVERSION= 2.0
CATEGORIES= print
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
- http://sunsite.cnlab-switch.ch/ftp/mirror/freetype/freetype1/ \
- http://www.funet.fi/pub/mirrors/ftp.freetype.org/freetype1/ \
- http://ftp.sunet.se/pub/text-processing/freetype/freetype1/ \
- ftp://ring.aist.go.jp/pub/graphics/freetype/freetype1/ \
- ftp://ring.asahi-net.or.jp/pub/graphics/freetype/ \
- ftp://ring.nacsis.ac.jp/pub/graphics/freetype/ \
- ftp://ring.so-net.ne.jp/pub/graphics/freetype/ \
- ftp://ftp.freetype.org/pub/freetype1/
-MASTER_SITE_SUBDIR= ${PORTNAME:S/2//}
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S,%SUBDIR%,freetype,} \
+ http://sunsite.cnlab-switch.ch/ftp/mirror/freetype/%SUBDIR%/ \
+ http://www.funet.fi/pub/mirrors/ftp.freetype.org/%SUBDIR%/ \
+ http://ftp.sunet.se/pub/text-processing/freetype/%SUBDIR%/ \
+ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,graphics/freetype/&,} \
+ ftp://ftp.freetype.org/pub/%SUBDIR%/
+MASTER_SITE_SUBDIR= freetype2
DISTNAME= ${PORTNAME:S/2//}-${PORTVERSION}
MAINTAINER= jseger@FreeBSD.org