# -*- 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 # $Id: Portfile 148228 2016-04-30 17:55:10Z mps@macports.org $ PortSystem 1.0 name libvmime version 0.9.1 revision 3 set branch [join [lrange [split ${version} .] 0 1] .] categories mail devel platforms darwin maintainers nomaintainer license GPL-2+ 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 \ Internet mail messages. homepage http://www.vmime.org/ master_sites sourceforge:project/vmime/vmime/${branch} use_bzip2 yes checksums rmd160 ebdca890dee9466e63cf43dced40d5527bb3fc4e \ sha256 3b66cb76d9bc7da80ef1f271cc29d3a183b5ff8b560ef60e85ff006bffb4d1ae patchfiles 3878c6b691a66cdc96cb3ab72d534d84a212433f.diff \ patch-automake-1.13.diff \ patch-m4-acx_pthread.m4.diff depends_build port:autoconf \ port:automake \ port:libtool \ port:pkgconfig \ port:scons depends_lib port:gnutls \ port:libgsasl pre-configure { system -W ${worksrcpath} "${prefix}/bin/scons autotools" } # disable static library because it doesn't seem to get built very well configure.args --disable-static post-destroot { file rename ${destroot}${prefix}/share/doc/vmime \ ${destroot}${prefix}/share/doc/${name} } livecheck.type regex livecheck.url http://www.vmime.org/downloads.html livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}