Modified: trunk/dports/science/KlustaKwik/Portfile (103369 => 103370)
--- 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\])"
}