[51627] trunk/dports/textproc/lilypond/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri May 29 09:42:37 PDT 2009


Revision: 51627
          http://trac.macports.org/changeset/51627
Author:   ryandesign at macports.org
Date:     2009-05-29 09:42:37 -0700 (Fri, 29 May 2009)
Log Message:
-----------
lilypond: use ${branch} idiom to avoid repeating the branch version number in the master_sites

Modified Paths:
--------------
    trunk/dports/textproc/lilypond/Portfile

Modified: trunk/dports/textproc/lilypond/Portfile
===================================================================
--- trunk/dports/textproc/lilypond/Portfile	2009-05-29 16:41:42 UTC (rev 51626)
+++ trunk/dports/textproc/lilypond/Portfile	2009-05-29 16:42:37 UTC (rev 51627)
@@ -5,6 +5,7 @@
 
 name                lilypond
 version             2.12.1
+set branch          [join [lrange [split ${version} .] 0 1] .]
 categories          textproc
 maintainers         snc openmaintainer
 description         An automated engraving system for typesetting sheet music.
@@ -16,7 +17,7 @@
 
 homepage            http://lilypond.org/
 platforms           darwin
-master_sites        http://download.linuxaudio.org/lilypond/sources/v2.12/
+master_sites        http://download.linuxaudio.org/lilypond/sources/v${branch}/
 checksums           md5 487d62b20d14faea3edc7561dece3ff2 \
                     sha1 203bead967f8409dbac00fd835d2a411694f408b \
                     rmd160 794c9d8de513ba6e32304883a62b9b368a316030
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090529/31f647f3/attachment.html>


More information about the macports-changes mailing list