Revision
77430
Author
ryandesign@macports.org
Date
2011-03-29 22:52:02 -0700 (Tue, 29 Mar 2011)

Log Message

timeout: new port, version 1.19; see #28967

Added Paths

Diff

Added: trunk/dports/sysutils/timeout/Portfile (0 => 77430)


--- trunk/dports/sysutils/timeout/Portfile	                        (rev 0)
+++ trunk/dports/sysutils/timeout/Portfile	2011-03-30 05:52:02 UTC (rev 77430)
@@ -0,0 +1,49 @@
+# -*- 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.0
+
+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}
Property changes on: trunk/dports/sysutils/timeout/Portfile
___________________________________________________________________

Added: svn:keywords

Added: svn:eol-style