# -*- 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 name libsvg version 0.1.4 revision 8 checksums rmd160 7e324f88313c3963bac1d57e3b77d7827b2c65e0 \ sha256 4c3bf9292e676a72b12338691be64d0f38cd7f2ea5e8b67fbbf45f1ed404bc8f \ size 366688 categories graphics license LGPL-2.1+ maintainers nomaintainer description SVG Rendering library using cairo long_description {*}${description} # +universal isn't supported yet. universal_variant no homepage https://www.cairographics.org master_sites ${homepage}/snapshots/ depends_build path:bin/pkg-config:pkgconfig depends_lib port:fontconfig \ port:libpng \ path:include/turbojpeg.h:libjpeg-turbo \ port:libxml2 patchfiles implicit.patch \ libs.patch \ libxml2-2.12.patch \ svg_image.c.patch # Update config.guess and config.sub to be able to build on arm64. depends_build-append port:automake post-patch { set automake_dirs [glob -directory ${prefix}/share automake-*] set automake_dir [lindex [lsort -command vercmp $automake_dirs] end] copy -force ${automake_dir}/config.guess ${automake_dir}/config.sub \ ${worksrcpath} }