most recent changes, diff for ecm

Index: archivers/ecm/Portfile
--- archivers/ecm/Portfile (revision 28962)
+++ archivers/ecm/Portfile (revision 28963)
@@ -29,27 +29,23 @@
file mkdir ${worksrcpath}
}

-# Dummy configure to enable universal variant
-configure {}
-
build {
- cd ${worksrcpath}
-
foreach {bin} {ecm unecm} {
- system "gcc [join ${configure.cflags} " "] ${bin}.c -o ${bin}"
+ system "cd ${worksrcpath} && \
+ gcc [join ${configure.cflags} " "] ${bin}.c -o ${bin}"
}
}

destroot {
- cd ${worksrcpath}
+ xinstall -W ${worksrcpath} ecm unecm ${destroot}${prefix}/bin

- xinstall ecm unecm ${destroot}${prefix}/bin
-
set docdir ${prefix}/share/doc/${name}-${version}
xinstall -d ${destroot}${docdir}
- eval xinstall -m 0644 [glob *.txt] ${destroot}${docdir}
+ eval xinstall -m 0644 [glob ${worksrcpath}/*.txt] ${destroot}${docdir}
}

+variant universal {}
+
livecheck.check regex
livecheck.url ${homepage}
livecheck.regex "ECM v(\\d+(?:\\.\\d+)*)"