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

ram at macports.org ram at macports.org
Tue Aug 19 21:00:01 PDT 2008


Revision: 39444
          http://trac.macosforge.org/projects/macports/changeset/39444
Author:   ram at macports.org
Date:     2008-08-19 21:00:01 -0700 (Tue, 19 Aug 2008)
Log Message:
-----------
audio/lame: cleanup determination of version in distfile

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

Modified: trunk/dports/audio/lame/Portfile
===================================================================
--- trunk/dports/audio/lame/Portfile	2008-08-20 03:57:42 UTC (rev 39443)
+++ trunk/dports/audio/lame/Portfile	2008-08-20 04:00:01 UTC (rev 39444)
@@ -3,9 +3,8 @@
 PortSystem        1.0
 
 name              lame
-set major         3
-set minor         98
-version           ${major}.${minor}
+version           3.98
+set my_version    [join [lrange [split ${version} .] 0 1] ""]
 categories        audio
 platforms         darwin freebsd
 maintainers       ram openmaintainer
@@ -19,7 +18,7 @@
 
 homepage          http://lame.sourceforge.net/
 master_sites      sourceforge:lame
-distname          ${name}-${major}${minor}
+distname          ${name}-${my_version}
 
 depends_lib       port:ncurses
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080819/e55b53f9/attachment.html 


More information about the macports-changes mailing list