# -*- 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 PortGroup github 1.0 PortGroup boost 1.0 github.setup synfig synfig 1.4.4 v categories graphics maintainers {ryandesign @ryandesign} openmaintainer license GPL-2+ homepage https://www.synfig.org master_sites sourceforge:project/synfig/stable/${version}/source/ dist_subdir ${subport} compiler.cxx_standard \ 2011 if {${subport} in [list ${name} ${name}studio]} { depends_build port:intltool \ port:pkgconfig # checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool # https://bugs.launchpad.net/intltool/+bug/1197875 use_autoreconf yes autoreconf.args -fvi configure.checks.implicit_function_declaration.whitelist-append strchr } if {${subport} eq ${name}} { revision 3 checksums rmd160 35f55a26bdc7bce9a4675ed5ac259edb52d254ab \ sha256 cd9882a091433e22e484e47d7bfe542aaefd3f62bfd746d306be4ce964756f06 \ size 5177728 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. depends_lib path:lib/pkgconfig/cairo.pc:cairo \ port:ETL \ path:lib/libavcodec.dylib:ffmpeg \ port:freetype \ port:fontconfig \ port:gettext \ port:ImageMagick \ path:include/turbojpeg.h:libjpeg-turbo \ 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=[boost::install_area] post-destroot { set docdir ${destroot}${prefix}/share/doc/${subport} xinstall -d ${docdir} xinstall -m 0644 -W ${worksrcpath} \ ABOUT-NLS \ AUTHORS \ COPYING \ ChangeLog \ ChangeLog.old \ NEWS \ README \ TODO \ ${docdir} } github.livecheck.regex {(\d+\.\d*[02468](?:\.\d+)*)} } else { livecheck.type none } subport ETL { revision 1 checksums rmd160 b1cc028d7211b7c757034ec91b6568a4ddad1270 \ sha256 cc87e478d8e808b1a2266f8f6a3eb54396ba54ff63abb30ea5b9b7bcfb85caca \ size 271762 supported_archs noarch platforms any 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). depends_lib-append port:glibmm # ETL-config is a wrapper around pkg-config depends_lib-append port:pkgconfig post-destroot { set docdir ${destroot}${prefix}/share/doc/${subport} xinstall -d ${docdir} xinstall -m 0644 -W ${worksrcpath} \ AUTHORS \ ChangeLog \ COPYING \ NEWS \ README \ ${docdir} } } subport synfigstudio { revision 1 checksums rmd160 ba177b494fc50ea99aca416980b9e76c03c2096c \ sha256 8893c681ccda6bc34f173d5183e28fbf78feb348f26a7661bc3c038e837eb21f \ size 6828795 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. depends_lib port:ETL \ port:gtkmm3 \ port:synfig configure.args --disable-jack 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 0644 -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" } } distname ${subport}-${version}