[135768] trunk/dports/graphics

ryandesign at macports.org ryandesign at macports.org
Fri May 1 23:42:58 PDT 2015


Revision: 135768
          https://trac.macports.org/changeset/135768
Author:   ryandesign at macports.org
Date:     2015-05-01 23:42:58 -0700 (Fri, 01 May 2015)
Log Message:
-----------
synfig, synfigstudio: update to 1.0
ETL: update to 0.04.18

Modified Paths:
--------------
    trunk/dports/graphics/synfig/Portfile

Removed Paths:
-------------
    trunk/dports/graphics/ETL/
    trunk/dports/graphics/synfigstudio/

Modified: trunk/dports/graphics/synfig/Portfile
===================================================================
--- trunk/dports/graphics/synfig/Portfile	2015-05-02 06:32:56 UTC (rev 135767)
+++ trunk/dports/graphics/synfig/Portfile	2015-05-02 06:42:58 UTC (rev 135768)
@@ -4,62 +4,155 @@
 PortSystem          1.0
 
 name                synfig
-version             0.64.3
+version             1.0
 categories          graphics
 platforms           darwin
-maintainers         ryandesign
+maintainers         ryandesign openmaintainer
 license             GPL-2+
 
-description         vector-based 2-D animation package
-
-long_description    ${name} 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. ${name} features spatial and temporal \
-                    resolution independence (sharp and smooth at any \
-                    resolution or framerate), high dynamic range images, \
-                    and a flexible plugin system.
-
 homepage            http://www.synfig.org/
 master_sites        sourceforge:project/synfig/releases/${version}/source/
+dist_subdir         ${subport}
+default distname    {${subport}-${version}}
 
-checksums           rmd160  ebd93fd3bc35c8ae59894096f884cddd40c5f9a0 \
-                    sha256  504fbcb54578b9a23bec9bd81daf8bc59d73e0fa9c4c0655dc6392d5a2c49c5c
+if {${subport} eq ${name}} {
+    revision            0
 
-depends_build       port:pkgconfig
+    description         vector-based 2-D animation package
 
-depends_lib         port:boost \
-                    path:lib/pkgconfig/cairo.pc:cairo \
-                    port:ETL \
-                    port:freetype \
-                    port:fontconfig \
-                    port:gettext \
-                    port:ImageMagick \
-                    port:libmng \
-                    port:libpng \
-                    port:libsigcxx2 \
-                    port:libtool \
-                    port:libxmlxx2 \
-                    port:openexr \
-                    path:lib/pkgconfig/pango.pc:pango
+    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.
 
-configure.args      --with-boost=${prefix}
+    checksums           rmd160  aba3396da5c6bf0c4ade3bbe41cde6140cc3d001 \
+                        sha256  1f2f9b209d49dff838049e9817b0458ac6987e912a56c061aa2f9c2faeb40720
 
-post-destroot {
-    set docdir ${destroot}${prefix}/share/doc/${name}
-    xinstall -d ${docdir}
-    xinstall -m 644 -W ${worksrcpath} \
-        ABOUT-NLS \
-        AUTHORS \
-        COPYING \
-        ChangeLog \
-        ChangeLog.old \
-        NEWS \
-        README \
-        TODO \
-        ${docdir}
+    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
 }
 
-livecheck.name      synfig
-livecheck.type      sourceforge
-livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}
+subport ETL {
+    version             0.04.18
+    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  dee4c2d7da216a50596344b182250ea037263166 \
+                        sha256  53953e477a37d2e870e3be4b22f519474c24537b0e6eb1633e3402273a684a98
+
+    # 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  6d98b09f8d147c772d695d8d342c4fa964134ad4 \
+                        sha256  2b23916ca0be4073edad9b0cb92fd30311dd3b8f73372c836ba735100251ee28
+
+    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"
+    }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150501/9ea57d02/attachment-0001.html>


More information about the macports-changes mailing list