# $Id: Portfile 60627 2009-11-18 03:26:37Z blb@macports.org $

PortSystem 1.0

name		gmime
version		2.4.11
set branch              [strsed ${version} {s/\.[0-9]*$//}]

description	MIME mail utilities
long_description  The GMime suite provides a core library and set of utilities \
                  which may be used for the creation and parsing of messages \
                  using the Multipurpose Internet Mail Extension (MIME) \
                  configurable and incorporating all the features you would expect \
                  in a robust mail client.
maintainers	boeyms openmaintainer
categories	mail
platforms	darwin
homepage	http://spruce.sourceforge.net/gmime/
master_sites    gnome:sources/${name}/${branch}
checksums       md5     f459ab41e8104bfb62332cc4739ae64e \
                sha1    7795a99005313114c1ac4219901aaeddc2dc6980 \
                rmd160  8838a14f5a4598cd9f599ed9da97da83c2358c0f

depends_build   path:bin/pkg-config:pkgconfig
depends_lib     port:libiconv \
                path:lib/pkgconfig/glib-2.0.pc:glib2 \
                port:gettext \
                port:zlib

configure.args	--disable-mono --enable-largefile

test.run        yes
test.target     check

livecheck.type  regex
livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
