Files
2026-03-22 20:02:37 +04:00

52 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:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup boost 1.0
name libmspub
version 0.1.4
revision 11
categories graphics
license {GPL-2.1+ LGPL-2.1+ MPL-1.1+}
maintainers {zip.com.au:cbradney @cbradney} openmaintainer
homepage https://wiki.documentfoundation.org/DLP/Libraries/${name}
master_sites http://dev-www.libreoffice.org/src/${name}
description ${name} is a library and a set of tools for reading and converting \
binary files produced by Microsoft Publisher.
long_description {*}${description}
use_xz yes
checksums rmd160 197e1a169d7367d16c852ff925e29b3b8db52725 \
sha256 ef36c1a1aabb2ba3b0bedaaafe717bf4480be2ba8de6f3894be5fd3702b013ba \
size 377472
# MSPUBMetaData.h: error: 'uint32_t' has not been declared
patchfiles patch-fix-includes.diff
depends_build path:bin/pkg-config:pkgconfig
depends_lib port:librevenge \
path:lib/pkgconfig/icu-uc.pc:icu \
port:zlib
# Required for ICU
compiler.cxx_standard 2017
configure.cxxflags-append -std=c++17
configure.env-append ICU_LIBS=-licui18n\ -licuuc
configure.args --disable-werror \
--disable-silent-rules \
--without-docs
variant docs description {Build API documentation} {
depends_build-append path:bin/doxygen:doxygen
configure.args-replace --without-docs --with-docs
}
livecheck.type regex
livecheck.url ${master_sites}
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"