Ticket #53550: asciinema_2.diff

File asciinema_2.diff, 1.1 KB (added by 1-61803, 7 years ago)

added docs

  • sysutils/asciinema/Portfile

    old new  
    1818                    and sharing them on the web.
    1919homepage            https://asciinema.org
    2020
    21 python.default_version 35
    22 depends_build       port:py${python.version}-setuptools
     21python.default_version \
     22                    35
     23depends_run         port:py${python.version}-setuptools
    2324
    2425checksums           rmd160  4e53a8a0dbeff0f0d8a571fc2601b454e2c419fb \
    2526                    sha256  3f09e7fb1ab6b1fdbf578fdb93ea520ba7425ec1af4d5a0863f378a63188dcea
    2627
     28post-destroot {
     29    set docdir ${prefix}/share/doc/${subport}
     30    xinstall -d ${destroot}${docdir}
     31    xinstall -m 644 -W ${worksrcpath} \
     32        CHANGELOG.md \
     33        CONTRIBUTING.md \
     34        LICENSE \
     35        README.md \
     36        doc/asciicast-v1.md \
     37        ${destroot}${docdir}
     38}
     39
    2740livecheck.type      regex
    2841livecheck.url       ${github.homepage}/releases.atom
    2942livecheck.regex     {<id>tag:github.com,2008:Repository/2823326/v(\d+(\.\d+)+)</id>}