[31185] trunk/dports/graphics/pstoedit/Portfile

Ryan Schmidt ryandesign at macports.org
Sat Nov 17 20:58:05 PST 2007


On Nov 17, 2007, at 19:57, ram at macports.org wrote:

> Revision: 31185
>           http://trac.macosforge.org/projects/macports/changeset/31185
> Author:   ram at macports.org
> Date:     2007-11-17 17:57:37 -0800 (Sat, 17 Nov 2007)
>
> Log Message:
> -----------
> use sourceforge mirrors
>
> Modified Paths:
> --------------
>     trunk/dports/graphics/pstoedit/Portfile
>
> Modified: trunk/dports/graphics/pstoedit/Portfile
> ===================================================================
> --- trunk/dports/graphics/pstoedit/Portfile	2007-11-18 01:47:40 UTC  
> (rev 31184)
> +++ trunk/dports/graphics/pstoedit/Portfile	2007-11-18 01:57:37 UTC  
> (rev 31185)
> @@ -13,7 +13,7 @@
>  platforms			darwin
>
>  homepage			http://www.pstoedit.net/
> -master_sites			http://garr.dl.sourceforge.net/sourceforge/$name/ 
> $name-$version.tar.gz
> +master_sites			sourceforge:pstoedit

FYI: You can just say "sourceforge" if the name you would list after  
the colon is the same as the port name.

Also, the previous way you had, with the complete URL, isn't good  
because master_sites should never end with the distfile name; it  
should end with the directory the distfile is to be found in. And $ 
{name}-${version}.tar.gz is the default distname so you never need to  
list that.




More information about the macports-dev mailing list