source: trunk/dports/sysutils/timeout/Portfile

Last change on this file was 119865, checked in by ryandesign@…, 3 years ago

timeout: installs_libs no

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- 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
2# $Id: Portfile 119865 2014-05-08 14:24:42Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                timeout
7version             1.19
8categories          sysutils
9platforms           darwin
10maintainers         ryandesign
11license             IPL-1
12installs_libs       no
13
14description         tct ${name}
15
16long_description    ${name} executes a command and imposes an elapsed time limit.
17
18homepage            http://www.porcupine.org/forensics/tct.html
19master_sites        http://www.porcupine.org/forensics/
20
21distname            tct-${version}
22dist_subdir         tct
23
24checksums           sha1    6ca3e507cbd9845593c93f4f5768f2e64e77a60a \
25                    rmd160  40a40256f0afc30a712d3e2f43771a67d7bc7808
26
27use_configure       no
28
29variant universal {}
30if {[variant_isset universal]} {
31    set archflags ${configure.universal_cflags}
32} else {
33    set archflags ${configure.cc_archflags}
34}
35
36build.dir           ${worksrcpath}/src/misc
37build.target        ../../bin/${name}
38build.args          CC="${configure.cc} ${archflags}" \
39                    OPT="${configure.optflags}"
40
41destroot {
42    xinstall ${worksrcpath}/bin/${name} ${destroot}${prefix}/bin
43    xinstall -m 644 ${worksrcpath}/man/man1/${name}.1 ${destroot}${prefix}/share/man/man1
44    set docdir ${destroot}${prefix}/share/doc/${name}
45    xinstall -d ${docdir}
46    xinstall -m 644 -W ${worksrcpath} CHANGES COPYRIGHT LICENSE ${docdir}
47}
48
49livecheck.type      regex
50livecheck.regex     tct-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.