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

PortSystem      1.0

name            libass
version         0.10.0
categories      multimedia
license         ISC
maintainers     tds.net:coax openmaintainer
platforms       darwin
description     subtitle renderer for the ASS/SSA subtitle format

long_description \
    libass is a portable subtitle renderer for the \
    ASS/SSA (Advanced Substation Alpha/Substation Alpha) \
    subtitle format. It is mostly compatible with VSFilter.

depends_build   port:pkgconfig
depends_lib     port:fribidi \
                port:fontconfig

homepage        http://code.google.com/p/libass/
master_sites    googlecode

checksums       md5 05cc8cc5eb4265b55ab0821f0825b719 \
                sha1 82bfda2b78f74cf75a4dd0283d090ad1a71a697f \
                rmd160 07e505267c471644a888cdecac97e2296f0142c7

post-destroot {
    set docdir ${prefix}/share/doc/${name}
    xinstall -d ${destroot}${docdir}
    xinstall -m 0644 -W ${worksrcpath} COPYING Changelog ${destroot}${docdir}
}