Files
Ryan Schmidt f039d3a0ff pangoxsl: Fix build with pango 1.50 and later
Now uses pango's pango_attr_line_height_new when available instead of
the one in pangoxsl, therefore revbump to rebuild.
2022-06-21 02:42:44 -05:00

46 lines
1.5 KiB
Tcl

# -*- 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 pangoxsl
version 1.6.0.3
revision 1
categories textproc
license LGPL
maintainers nomaintainer
description Extends Pango with additional XSL properties.
long_description PangoXSL is a supplementary library that supports some \
additional PangoAttribute types corresponding to XSL \
properties.
homepage http://pangopdf.sourceforge.net
master_sites sourceforge:project/pangopdf/pangoxsl/${version}
checksums rmd160 a0a94bf5c7011f4d82d0bb72e7628d440ddac372 \
sha256 16554a407f1c56a42514afd979ff797a25c9bf67c51c985d9edc126747298df1 \
size 323755
depends_build port:pkgconfig
depends_lib path:lib/pkgconfig/pango.pc:pango
patchfiles implicit.patch \
pango-1.50.patch
platform darwin arm {
depends_build-append port:automake
post-patch {
# Use newer config.guess and config.sub to support Apple Silicon.
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}
}
}
livecheck.regex "/${name}-(\\d+(?:\\.\\d+)*)"