# -*- 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
PortGroup active_variants 1.1
PortGroup gobject_introspection 1.0
# Please keep the pango and pango-devel ports as similar as possible.
checksums rmd160 e91880e0e9a459bbc2c280ac747ab31f80352000 \
sha256 1d2b74cd63e8bd41961f2f8d952355aa0f9be6002b52c8aa7699d9f5da597c9d \
set branch [join [lrange [split ${version} .] 0 1] .]
maintainers {ryandesign @ryandesign} openmaintainer
homepage https://www.pango.org/
master_sites gnome:sources/${my_name}/${branch}
distname ${my_name}-${version}
Framework for the layout and rendering of i18n text
The goal of the Pango project is to provide an \
open-source framework for the layout and rendering \
of internationalized text.
path:lib/pkgconfig/glib-2.0.pc:glib2 \
path:lib/pkgconfig/cairo.pc:cairo \
configure.args --enable-static \
gobject_introspection yes
license_noconflict gobject-introspection
# Although this variant does nothing, pango will automatically build
# itself differently depending on whether or not cairo is installed with
# the quartz variant. Therefore this variant is necessary to be able to
# distinguish whether an installed pango has Quartz support or not.
# Don't allow Quartz support to be disabled. Keep the variant for awhile in
# case any dependents are using the active_variants portgroup to check for it.
if {[variant_isset quartz]} {
require_active_variants path:lib/pkgconfig/cairo.pc:cairo quartz
depends_lib-append port:Xft2
configure.args-delete --without-x
configure.args-append --x-include=${prefix}/include \
if {${os.platform} ne "darwin" || ${os.subplatform} ne "macosx"} {
# When not on OS X, don't allow X11 support to be disabled, since it is the
if {[variant_isset x11]} {
require_active_variants path:lib/pkgconfig/cairo.pc:cairo x11