# -*- 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
set branch [join [lrange [split ${version} .] 0 1] .]
description library for dealing with RFC-822, 2822, MIME messages
long_description VMime is a C++ class library for parsing, generating, or \
editing Internet RFC-822, 2822 and MIME messages. It is \
designed to provide a fast and an easy way to manipulate \
homepage https://www.vmime.org/
master_sites sourceforge:project/vmime/vmime/${branch}
checksums rmd160 ebdca890dee9466e63cf43dced40d5527bb3fc4e \
sha256 3b66cb76d9bc7da80ef1f271cc29d3a183b5ff8b560ef60e85ff006bffb4d1ae
patchfiles 3878c6b691a66cdc96cb3ab72d534d84a212433f.diff \
patch-automake-1.13.diff \
patch-m4-acx_pthread.m4.diff
depends_build port:autoconf \
depends_lib port:gnutls \
system -W ${worksrcpath} "${prefix}/bin/scons autotools"
# disable static library because it doesn't seem to get built very well
configure.args --disable-static
file rename ${destroot}${prefix}/share/doc/vmime \
${destroot}${prefix}/share/doc/${name}
livecheck.url http://www.vmime.org/downloads.html
livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}