[86559] trunk/dports/print/freetype/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Oct 28 14:40:51 PDT 2011


Revision: 86559
          http://trac.macports.org/changeset/86559
Author:   ryandesign at macports.org
Date:     2011-10-28 14:40:49 -0700 (Fri, 28 Oct 2011)
Log Message:
-----------
freetype: rewrite master_sites to avoid redirects

Modified Paths:
--------------
    trunk/dports/print/freetype/Portfile

Modified: trunk/dports/print/freetype/Portfile
===================================================================
--- trunk/dports/print/freetype/Portfile	2011-10-28 20:24:01 UTC (rev 86558)
+++ trunk/dports/print/freetype/Portfile	2011-10-28 21:40:49 UTC (rev 86559)
@@ -26,21 +26,20 @@
     conversion tools, text image generation tools, and many \
     other products as well.
 
-master_sites \
-    http://download.savannah.gnu.org/releases/freetype/ \
-    sourceforge
+master_sites            sourceforge:project/freetype/freetype2/${version}:source \
+                        sourceforge:project/freetype/freetype-docs/${version}:docs \
+                        http://download.savannah.gnu.org/releases/freetype/
 
-set docdistfile \
-    ${name}-doc-${version}
+set docdistname         ${name}-doc-${version}
 
-distfiles-append \
-    [suffix ${docdistfile}]
+distfiles               [suffix ${distname}]:source \
+                        [suffix ${docdistname}]:docs
 
 checksums \
     [suffix ${distname}] \
         rmd160  48abfcd4546cbd6626796ab121252e804ddcc6d8 \
         sha256  ba22620479954582371286268ef75e6e932c0270ee67d6797bbf3ed9d31a5d77 \
-    [suffix ${docdistfile}] \
+    [suffix ${docdistname}] \
         rmd160  22de3be42148b4d35dc4452859abaa13ec14eae2 \
         sha256  61eebfcdf7d8864d97025184ada8b7d022f9fecfa26d6d163df34fc3829c7e2b
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111028/a0c58a28/attachment.html>


More information about the macports-changes mailing list