# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name timeout version 1.19 categories sysutils platforms darwin maintainers ryandesign license IPL-1 installs_libs no description tct ${name} long_description ${name} executes a command and imposes an elapsed time limit. homepage http://www.porcupine.org/forensics/tct.html master_sites http://www.porcupine.org/forensics/ distname tct-${version} dist_subdir tct checksums sha1 6ca3e507cbd9845593c93f4f5768f2e64e77a60a \ rmd160 40a40256f0afc30a712d3e2f43771a67d7bc7808 use_configure no variant universal {} if {[variant_isset universal]} { set archflags ${configure.universal_cflags} } else { set archflags ${configure.cc_archflags} } build.dir ${worksrcpath}/src/misc build.target ../../bin/${name} build.args CC="${configure.cc} ${archflags}" \ OPT="${configure.optflags}" destroot { xinstall ${worksrcpath}/bin/${name} ${destroot}${prefix}/bin xinstall -m 644 ${worksrcpath}/man/man1/${name}.1 ${destroot}${prefix}/share/man/man1 set docdir ${destroot}${prefix}/share/doc/${name} xinstall -d ${docdir} xinstall -m 644 -W ${worksrcpath} CHANGES COPYRIGHT LICENSE ${docdir} } livecheck.type regex livecheck.regex tct-(\[0-9.\]+)${extract.suffix}