# -*- 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 synfig version 1.0.2 categories graphics platforms darwin maintainers ryandesign openmaintainer license GPL-2+ homepage http://www.synfig.org/ master_sites sourceforge:project/synfig/releases/${version}/source/ dist_subdir ${subport} default distname {${subport}-${version}} if {${subport} eq ${name}} { revision 3 description vector-based 2-D animation package long_description Synfig is a ${description}. It is designed to be \ capable of producing feature-film-quality animation. \ It eliminates the need for tweening, preventing the \ need to hand-draw each frame. Synfig features spatial \ and temporal resolution independence (sharp and smooth \ at any resolution or framerate), high dynamic range \ images, and a flexible plugin system. checksums rmd160 19fe6bf2ed0daa14534ff7bed4878fe6820261af \ sha256 34cdf9eac90aadea29fb2997e82da1c32713ab02940f7c8873330f894e167fb4 depends_build port:pkgconfig depends_lib port:boost \ path:lib/pkgconfig/cairo.pc:cairo \ port:ETL \ path:lib/libavcodec.dylib:ffmpeg \ port:freetype \ port:fontconfig \ port:gettext \ port:ImageMagick \ port:jpeg \ port:libdv \ port:libiconv \ port:libmng \ port:libpng \ port:libsigcxx2 \ port:libtool \ port:libxmlxx2 \ port:mlt \ port:openexr \ path:lib/pkgconfig/pango.pc:pango configure.args --with-boost=${prefix} post-destroot { set docdir ${destroot}${prefix}/share/doc/${subport} xinstall -d ${docdir} xinstall -m 644 -W ${worksrcpath} \ ABOUT-NLS \ AUTHORS \ COPYING \ ChangeLog \ ChangeLog.old \ NEWS \ README \ TODO \ ${docdir} } livecheck.name synfig livecheck.type sourceforge livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix} } else { livecheck.type none } subport ETL { version 0.04.19 revision 0 supported_archs noarch description multi-platform class and template library long_description ETL 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). checksums rmd160 1e1458c549460c9e01095f2674dc9a0833ff7b5a \ sha256 21696881fab1b9a3458aaa77a8b10c899c297b2d132e3ed4cfb7ffa29cd8b8fe # The ETL 0.04.19 tarball was rebuilt with automake 1.15 for the Synfig 1.0.2 release. master_sites macports_distfiles # ETL-config is a wrapper around pkg-config depends_run port:pkgconfig post-destroot { set docdir ${destroot}${prefix}/share/doc/${subport} xinstall -d ${docdir} xinstall -m 644 -W ${worksrcpath} \ AUTHORS \ ChangeLog \ COPYING \ NEWS \ README \ ${docdir} } } subport synfigstudio { revision 0 description synfig animation studio long_description Synfig Studio is the animation studio for synfig and \ provides a GUI to create Synfig animations which are \ saved in Synfig .sif or .sifz format. checksums rmd160 13db5860638315fad31e21877bff6fc4985444f6 \ sha256 e44584aa0b561f374edcfb792eb601083c7e7e111d68d6fe0356def9682347f5 depends_build port:intltool \ port:pkgconfig depends_lib port:ETL \ port:gtkmm3 \ port:synfig post-destroot { foreach f [glob ${destroot}${prefix}/share/mime/*] { if {[file isfile ${f}]} { delete ${f} } } set docdir ${destroot}${prefix}/share/doc/${subport} xinstall -d ${docdir} xinstall -m 644 -W ${worksrcpath} \ ABOUT-NLS \ AUTHORS \ COPYING \ ChangeLog \ ChangeLog.old \ NEWS \ README \ TODO \ ${docdir} } post-activate { system "${prefix}/bin/update-mime-database ${prefix}/share/mime" } post-deactivate { system "${prefix}/bin/update-mime-database ${prefix}/share/mime" } }