source: trunk/dports/sysutils/ttyrec/Portfile

Last change on this file was 93208, checked in by ryandesign@…, 5 years ago

ttyrec: make universal variant actually build universal, and therefore increase revision; simplify destroot

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 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 93208 2012-05-17 19:53:54Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                ttyrec
7version             1.0.8
8revision            1
9categories          sysutils
10maintainers         cal openmaintainer
11platforms           darwin
12license             BSD
13description         ttyrec is a tty recorder and player.
14long_description    \
15    ttyrec is a tty recorder. Recorded data can be played back with the \
16    included ttyplay command. ttyrec is just a derivative of script command \
17    for recording timing information with microsecond accuracy as well. It \
18    can record emacs -nw, vi, lynx, or any programs running on tty.
19
20homepage            http://0xcc.net/ttyrec/
21master_sites        ${homepage}
22
23checksums           sha256  ef5e9bf276b65bb831f9c2554cd8784bd5b4ee65353808f82b7e2aef851587ec \
24                    rmd160  f7538fa742d1c1e07b8b48f3fa79cfcf13ca8044
25
26use_configure       no
27
28variant universal {}
29
30build.args          CC='${configure.cc}' \
31                    CFLAGS='${configure.cflags} [get_canonical_archflags cc]' \
32                    LDFLAGS='${configure.ldflags} [get_canonical_archflags ld]'
33
34destroot {
35    xinstall -m 755 -W ${worksrcpath} ttyrec ttyplay ttytime ${destroot}${prefix}/bin
36    xinstall -m 644 -W ${worksrcpath} ttyrec.1 ttyplay.1 ttytime.1 ${destroot}${prefix}/share/man/man1
37   
38    set docdir ${prefix}/share/doc/${name}
39    xinstall -d ${destroot}${docdir}
40    xinstall -m 644 -W ${worksrcpath} README ${destroot}${docdir}
41}
42
43livecheck.regex     "${name}-(\[0-9.\]+)\\${extract.suffix}"
44livecheck.type      regex
45livecheck.url       ${homepage}
46
Note: See TracBrowser for help on using the repository browser.