# $Id: Portfile 59685 2009-10-19 23:09:21Z jeremyhu@macports.org $

PortSystem          1.0
name                xmh
version             1.0.1
revision            2
categories          x11 mail
maintainers         jeremyhu openmaintainer
description         Send and read mail with an X11 interface to MH
long_description    ${description}

platforms           darwin

homepage            http://www.x.org/
master_sites        http://xorg.freedesktop.org/archive/individual/app/
use_bzip2           yes

checksums           md5     656bcbdd41818a8b5a9f7dba77a3eeba \
                    sha1    4b7c2f3ba115c6011737137da0aecc29d648b234 \
                    rmd160  dfdb66f2ebdb19ddffcaecca664a222883c9f129

depends_build       port:pkgconfig

depends_lib         port:xorg-libXaw

configure.args      --mandir=${prefix}/share/man --disable-xprint

post-destroot {
	# This got moved into xbitmaps
	delete ${destroot}${prefix}/include/X11/bitmaps/black6
	delete ${destroot}${prefix}/include/X11/bitmaps/box6
}

livecheck.type      regex
livecheck.regex     ${name}-(\[\\d.\]+)${extract.suffix}
livecheck.url       ${master_sites}

