[60398] trunk/dports/devel/libfreespace/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Nov 10 17:14:25 PST 2009


Revision: 60398
          http://trac.macports.org/changeset/60398
Author:   ryandesign at macports.org
Date:     2009-11-10 17:14:22 -0800 (Tue, 10 Nov 2009)
Log Message:
-----------
libfreespace: use ${branch} idiom and update master_sites so it doesn't need to be changed for every version; see #22288

Modified Paths:
--------------
    trunk/dports/devel/libfreespace/Portfile

Modified: trunk/dports/devel/libfreespace/Portfile
===================================================================
--- trunk/dports/devel/libfreespace/Portfile	2009-11-11 00:54:08 UTC (rev 60397)
+++ trunk/dports/devel/libfreespace/Portfile	2009-11-11 01:14:22 UTC (rev 60398)
@@ -4,6 +4,7 @@
 
 name                libfreespace
 version             0.3
+set branch          [join [lrange [split [strsed ${version} {g/[^0-9.].*//}] .] 0 1] .]
 categories          devel
 
 description         library for developing applications using Hillcrest Labs Freespace Devices
@@ -20,7 +21,7 @@
 license             LGPLv2.1
 maintainers         hillcrestlabs.com:jt.burgess
 
-master_sites        http://launchpad.net/libfreespace/0.3/0.3/+download/
+master_sites        http://launchpad.net/libfreespace/${branch}/${version}/+download/
 checksums           md5 edf8b1bc584b655df0fe710871611954 \
                     sha1 b0b9781f86daf973ddc432ed48407344af35845b \
                     rmd160 661196e9ad8e1aaee5d01b97b47ecddfd68f2297
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091110/d229d990/attachment.html>


More information about the macports-changes mailing list