# -*- 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 91800 2012-04-10 22:53:54Z ryandesign@macports.org $

PortSystem          1.0

name                ETL
version             0.04.15
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/ETL/${version}

checksums           rmd160  aa2e7ea6ad9762b2b6c1ac6c0d1995445dbbfb37 \
                    sha256  8010f71d585fe8543738d129e0beef7aa0bc431e046d48a33409e6b701aba916

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