Revision: 103370 https://trac.macports.org/changeset/103370 Author: larryv@macports.org Date: 2013-02-23 00:34:04 -0800 (Sat, 23 Feb 2013) Log Message: ----------- KlustaKwik, maskedKlustaKwik: Add livecheck. Modified Paths: -------------- trunk/dports/science/KlustaKwik/Portfile Modified: trunk/dports/science/KlustaKwik/Portfile =================================================================== --- trunk/dports/science/KlustaKwik/Portfile 2013-02-23 07:57:53 UTC (rev 103369) +++ trunk/dports/science/KlustaKwik/Portfile 2013-02-23 08:34:04 UTC (rev 103370) @@ -30,7 +30,7 @@ xinstall ${worksrcpath}/${name} ${destroot}${prefix}/bin } -if {${name} == ${subport}} { +if {${subport} == ${name}} { version 2.0.1 revision 1 conflicts maskedKlustaKwik @@ -42,6 +42,10 @@ build.target build.args CXX=${configure.cxx} \ CXXFLAGS="[get_canonical_archflags cxx]" + + livecheck.regex "/klustakwik/${name}-(\[0-9.\]+\[0-9\])" +} else { + livecheck.type none } subport maskedKlustaKwik { @@ -52,7 +56,7 @@ version of KlustaKwik, designed for large dense \ electrode arrays. - master_sites sourceforge:project/klustakwik/maskedKlustaKwik/ + master_sites sourceforge:project/klustakwik/${subport}/ # Distfile decompresses to a tar file with no extension. Seriously. extract.suffix .bz2 checksums rmd160 1d723b72ed17c285a160856c4f3131c1f3451896 \ @@ -85,4 +89,7 @@ build.args CXX=${configure.cxx} \ CXXFLAGS="[get_canonical_archflags cxx]" \ LDFLAGS="[get_canonical_archflags ld]" + + livecheck.type sourceforge + livecheck.regex "/${subport}/${name}-(\[0-9.\]+\[0-9\])" }