# -*- 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: Portfile 112956 2013-11-05 03:36:56Z ryandesign@macports.org $

PortSystem          1.0

name                ETL
version             0.04.17
set synfig_version  0.64.1
categories          graphics
platforms           darwin
maintainers         ryandesign
license             GPL-2+
supported_archs     noarch

description         multi-platform class and template library

long_description    ${name} is a ${description} designed to add new datatypes \
                    and functions which combine well with the existing types \
                    and functions from the C++ Standard Template Library (STL).

homepage            http://www.synfig.org/
master_sites        sourceforge:project/synfig/releases/${synfig_version}/source

checksums           rmd160  d1f0353eba477ad01ff65b03e042f76fb7817323 \
                    sha256  3e222c1ad8fd0e3b77b49281342cde0aab0208c8985ec65d72515ff6b88e778e

# ETL-config is a wrapper around pkg-config
depends_run         port:pkgconfig

post-destroot {
    set docdir ${destroot}${prefix}/share/doc/${name}
    xinstall -d ${docdir}
    xinstall -m 644 -W ${worksrcpath} \
        AUTHORS \
        ChangeLog \
        COPYING \
        NEWS \
        README \
        ${docdir}
}

livecheck.name      synfig
livecheck.type      sourceforge
livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}
