Files
2023-06-20 21:33:13 -07:00

59 lines
1.9 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 libwpg-0.3
set dname libwpg
version 0.3.4
revision 0
license LGPL-2+
categories graphics
description Libwpg is a C++ library for reading and parsing graphics in WPG (Word Perfect Graphics) format.
long_description {*}${description} WPG is the format used among others in Corel software such as WordPerfect(tm) \
and Presentations(tm).
maintainers {devans @dbevans} openmaintainer
platforms darwin
homepage http://libwpg.sourceforge.net/
master_sites sourceforge:project/libwpg/libwpg/libwpg-${version}
use_xz yes
distname ${dname}-${version}
checksums rmd160 a7def861a12a7ad9769783a80459e684659791ed \
sha256 b55fda9440d1e070630eb2487d8b8697cf412c214a27caee9df69cec7c004de3 \
size 340428
boost.depends_type build
depends_build-append port:pkgconfig
depends_lib port:librevenge \
port:libwpd-0.10
compiler.cxx_standard 2011
# Teach glibtool about -stdlib=libc++
use_autoreconf yes
autoreconf.args -fvi
configure.args --without-docs \
--disable-silent-rules \
--disable-werror
variant docs description {Build API documentation} {
depends_build-append path:bin/doxygen:doxygen
configure.args-delete --without-docs
}
# delete binaries that conflict with libwpd
post-destroot {
file delete -force ${destroot}${prefix}/bin
}
livecheck.regex /${dname}-(\[0-9.\]+)${extract.suffix}