[90593] trunk/dports/textproc/syncha/Portfile
ryandesign at macports.org
ryandesign at macports.org
Fri Mar 9 06:58:50 PST 2012
Revision: 90593
http://trac.macports.org/changeset/90593
Author: ryandesign at macports.org
Date: 2012-03-09 06:58:48 -0800 (Fri, 09 Mar 2012)
Log Message:
-----------
syncha: use ${branch} instead of ${major_version}
Modified Paths:
--------------
trunk/dports/textproc/syncha/Portfile
Modified: trunk/dports/textproc/syncha/Portfile
===================================================================
--- trunk/dports/textproc/syncha/Portfile 2012-03-09 12:29:43 UTC (rev 90592)
+++ trunk/dports/textproc/syncha/Portfile 2012-03-09 14:58:48 UTC (rev 90593)
@@ -5,6 +5,7 @@
name syncha
version 0.2.1
+set branch [join [lrange [split ${version} .] 0 1] .]
categories textproc
maintainers hum openmaintainer
@@ -17,8 +18,7 @@
master_sites ${homepage}
-set major_version 0.2
-distname ${name}-${major_version}
+distname ${name}-${branch}
extract.suffix .tgz
checksums rmd160 8933b6e82238254e8c08ac8ce7d66aeca80e4d0e \
sha256 4af86068bdb42e0ae5de91bf32e890ab57aa2e4bf3763ae710dd314c91e0aa90
@@ -63,5 +63,5 @@
}
livecheck.type regex
-livecheck.version ${major_version}
+livecheck.version ${branch}
livecheck.regex ${name}-(\[0-9.\]+)\\.tgz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120309/972e8acf/attachment.html>
More information about the macports-changes
mailing list