Files
2026-03-10 15:55:12 +11:00

61 lines
1.8 KiB
Tcl

# -*- 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
PortSystem 1.0
PortGroup meson 1.0
name libxmlxx5
set gname libxml++
version 5.4.0
revision 2
categories textproc
license LGPL-2+
maintainers {mascguy @mascguy} openmaintainer
description libxml++ is a C++ interface for working with XML files
long_description ${description}, using \
libxml (gnome-xml) to parse and write the actual XML files. \
It has a simple but complete API.
homepage https://libxmlplusplus.github.io/libxmlplusplus/
set branch [join [lrange [split ${version} .] 0 1] .]
master_sites gnome:sources/${gname}/${branch}/
distname ${gname}-${version}
use_xz yes
checksums rmd160 eb2cbdb2d3a9e9d2ae309c303c2b6e70a962137e \
sha256 e9a23c436686a94698d2138e6bcbaf849121d63bfa0f50dc34fefbfd79566848 \
size 887292
# Disable unexpected download of subprojects
meson.wrap_mode nodownload
patchfiles-append patch-meson-build.diff
compiler.cxx_standard 2017
depends_build-append \
port:mm-common \
port:pkgconfig
depends_lib-append \
port:libxml2
variant docs description {Build documentation} {
depends_build-append \
port:docbook-xsl-nons \
port:docbook-xml \
path:bin/doxygen:doxygen \
port:fop \
port:libxslt \
port:perl5
configure.args-append \
-Dbuild-documentation=true
}
test.run yes
livecheck.type gnome
livecheck.name ${gname}