[95569] trunk/dports/audio/lame/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Jul 16 19:59:34 PDT 2012


Revision: 95569
          https://trac.macports.org/changeset/95569
Author:   ryandesign at macports.org
Date:     2012-07-16 19:59:34 -0700 (Mon, 16 Jul 2012)
Log Message:
-----------
lame: avoid hardcoding branch in master_sites

Modified Paths:
--------------
    trunk/dports/audio/lame/Portfile

Modified: trunk/dports/audio/lame/Portfile
===================================================================
--- trunk/dports/audio/lame/Portfile	2012-07-17 02:47:58 UTC (rev 95568)
+++ trunk/dports/audio/lame/Portfile	2012-07-17 02:59:34 UTC (rev 95569)
@@ -4,6 +4,7 @@
 
 name              lame
 version           3.99.5
+set branch          [join [lrange [split ${version} .] 0 1] .]
 categories        audio
 license           LGPL-2.1+
 platforms         darwin freebsd
@@ -17,7 +18,7 @@
   only and requires the ability to use a C compiler.
 
 homepage          http://lame.sourceforge.net/
-master_sites      sourceforge:project/lame/lame/3.99
+master_sites        sourceforge:project/lame/lame/${branch}
 
 depends_lib         port:ncurses \
                     port:libiconv
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120716/51221f6a/attachment-0001.html>


More information about the macports-changes mailing list