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

name                vcdimager
version             2.0.1
revision            0
categories          multimedia
# lib/sector.c is GPL-2 only, the rest is GPL-2+
license             GPL-2
platforms           darwin
maintainers         nomaintainer

description         Free software (Super) video CD authoring solution

long_description    The GNU (Super)VideoCD authoring solution for mastering, \
                    extracting and analyzing Video CDs and Super Video CDs.

homepage            http://www.vcdimager.org/
master_sites        gnu

checksums           rmd160  171b0deccee94281b2ef780056ab1d696bf54cd3 \
                    sha256  67515fefb9829d054beae40f3e840309be60cda7d68753cafdd526727758f67a \
                    size    1115207

depends_build       port:pkgconfig

depends_lib         port:libcdio \
                    port:popt \
                    port:libxml2

configure.args      --disable-silent-rules \
                    --with-cli-frontend \
                    --with-xml-frontend

post-destroot {
    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    xinstall -m 644 -W ${worksrcpath} AUTHORS BUGS COPYING FAQ HACKING \
        NEWS README THANKS TODO ${destroot}${prefix}/share/doc/${name}
    file delete -force ${destroot}${prefix}/share/info/dir
}
