# -*- 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

PortSystem          1.0
PortGroup           github 1.0

set uname           av
github.setup        paumard yorick-${uname} 0.0.5 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
categories          science multimedia yorick
license             MIT
maintainers         {thibaut @paumard} openmaintainer

description         Write movies to various formats from within Yorick

long_description    This plug-in links against FFmpeg to allow writing movies \
                    in various popular formats directly from within Yorick.

homepage            https://paumard.github.io/yorick-av/

checksums           rmd160  fcaa86c2d0ba23c7ca5bdfcaa6859044b1c72502 \
                    sha256  e8ecdb5dc480dcb4e232958c244258fa6904dcbccc1fa2cf08760421d5ecc980 \
                    size    10789

depends_lib-append  path:bin/yorick:yorick \
                    path:lib/libavcodec.dylib:ffmpeg

# yorick is not universal
universal_variant   no

configure.cmd       ${prefix}/bin/yorick
configure.pre_args
configure.args      -batch make.i
