# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup muniversal 1.0 name librsvg version 2.26.0 revision 1 set branch [join [lrange [split ${version} .] 0 1] .] categories graphics gnome platforms darwin maintainers nomaintainer description Gnome implementation of rsvg. long_description \ ${description} homepage http://librsvg.sourceforge.net/ master_sites gnome:sources/${name}/${branch}/ use_bzip2 yes checksums md5 65dbd726a514fe8b797d26254b8efc1e \ sha1 61044be4bcd5945f5711f788e1aa303a80b69e32 \ rmd160 9e8197519e4e48f736e6bb65d2993478b0f64451 depends_lib port:libcroco \ port:libgsf \ port:libart_lgpl \ port:libxml2 depends_run port:python26 configure.args --enable-pixbuf-loader \ --with-svgz \ --disable-mozilla-plugin post-destroot { set python.branch 2.6 set python.bin ${frameworks_dir}/Python.framework/Versions/${python.branch}/bin/python${python.branch} reinplace "s|^#!/usr/bin/env python|#!${python.bin}|g" \ ${destroot}${prefix}/bin/rsvg } post-activate { ui_debug "Updating gdk-pixbuf.loaders..." system "gdk-pixbuf-query-loaders >${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders" } livecheck.check regex livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/ livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}