Ticket #54257: Portfile

File Portfile, 1.5 KB (added by 1-61803, 7 years ago)
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
3PortSystem          1.0
4PortGroup           github 1.0
5PortGroup           python 1.0
6
7github.setup        asciinema asciinema 1.4.0 v
8
9categories          sysutils
10platforms           darwin
11license             GPL-3+
12maintainers         larryv
13
14description         Record and share your terminal sessions, the right way
15long_description    Forget screen recording apps and blurry video. \
16                    Enjoy a lightweight, purely text based approach to \
17                    terminal recording. asciinema is a free and open \
18                    source solution for recording terminal sessions \
19                    and sharing them on the web.
20
21homepage            https://asciinema.org
22
23python.default_version \
24                    36
25
26depends_lib         port:py${python.version}-setuptools
27
28checksums           rmd160  41c1a85478daef3304be1d308956ed63a3d2ba74 \
29                    sha256  cafdfc422abb1df2f6dc3504d7f3b606ef18ea66a19b5a814342ee9ae40d0039
30
31post-destroot {
32    set docdir ${prefix}/share/doc/${subport}
33    xinstall -d ${destroot}${docdir}
34    xinstall -m 644 -W ${worksrcpath} \
35        CHANGELOG.md \
36        CONTRIBUTING.md \
37        LICENSE \
38        README.md \
39        doc/asciicast-v1.md \
40        ${destroot}${docdir}
41}
42
43livecheck.type      regex
44livecheck.url       ${github.homepage}/releases.atom
45livecheck.regex     {<id>tag:github.com,2008:Repository/2823326/v(\d+(\.\d+)+)</id>}
46livecheck.version   ${version}