# -*- 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
PortGroup gobject_introspection 1.0
set branch [join [lrange [split ${version} .] 0 1] .]
description GMime is a C/C++ library for parsing and creating messages using \
the Multipurpose Internet Mail Extension (MIME). This is GMime-2.6 \
which installs in parallel with GMime-3.0 (port gmime3).
long_description ${description}
homepage http://spruce.sourceforge.net/${name}/
master_sites gnome:sources/${name}/${branch}
checksums rmd160 2a7e594814a6b9e95d55b6a370086606081e97a8 \
sha256 7149686a71ca42a1390869b6074815106b061aaeaaa8f2ef8c12c191d9a79f6a
depends_build port:pkgconfig
depends_lib port:libgpg-error \
path:lib/pkgconfig/glib-2.0.pc:glib2 \
gobject_introspection yes
configure.args --enable-vala=yes \
# restrict livecheck to gmime-2.x branches
livecheck.regex "LATEST-IS-(2\\.\\d*\[02468\](?:\\.\\d+)*)"