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 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup github 1.0 |
---|
5 | |
---|
6 | github.setup icholy ttygif 1.0.8 |
---|
7 | categories graphics |
---|
8 | license MIT |
---|
9 | maintainers gmail.com:xuchunyang56 |
---|
10 | platforms darwin |
---|
11 | |
---|
12 | description Convert terminal recordings to animated gifs |
---|
13 | long_description \ |
---|
14 | ttygif converts a ttyrec file into gif files. It's a stripped down \ |
---|
15 | version of ttyplay which calls import on every frame. |
---|
16 | |
---|
17 | |
---|
18 | checksums rmd160 a4e40d2cdfe65dfd51180f4114af658c0ac08a22 \ |
---|
19 | sha256 005d8c6a45daac8ae0e6b1e701bf043a819e2ea61734c95ba600d3a44eaec255 |
---|
20 | |
---|
21 | depends_run port:ttyrec |
---|
22 | |
---|
23 | use_configure no |
---|
24 | |
---|
25 | variant universal {} |
---|
26 | |
---|
27 | build.args CC='${configure.cc}' \ |
---|
28 | CFLAGS='${configure.cflags} [get_canonical_archflags cc]' \ |
---|
29 | LDFLAGS='${configure.ldflags} [get_canonical_archflags ld]' |
---|
30 | |
---|
31 | destroot { |
---|
32 | xinstall -m 755 -W ${worksrcpath} ttygif concat.sh concat_osx.sh ${destroot}${prefix}/bin |
---|
33 | |
---|
34 | set docdir ${prefix}/share/doc/${name} |
---|
35 | xinstall -d ${destroot}${docdir} |
---|
36 | xinstall -m 644 -W ${worksrcpath} README.md ${destroot}${docdir} |
---|
37 | } |
---|