# $Id: Portfile 62525 2010-01-09 21:53:58Z jeremyhu@macports.org $

PortSystem 1.0

name		xpm
version		3.5.8
categories	x11 devel graphics
maintainers	jeremyhu
description	The X Pixmap Library
homepage	http://www.x.org
platforms	darwin macosx
long_description XPM, X PixMap, is a format for storing/retrieving X pixmaps to/from files.  It is used by a large number of common X applications and has become something of a de-facto standard.
master_sites	 http://xorg.freedesktop.org/archive/individual/lib/

distname	libXpm-${version}
checksums           md5     38e58e72d476a74298a59052fde185a3 \
                    sha1    3bfc833ed4527f74b1c66c386da62271d0313413 \
                    rmd160  3b2bd291c0037d646042cb502dfffa1ee62c237e
use_bzip2	yes
use_parallel_build      yes

depends_build	port:pkgconfig \
                port:xorg-xproto

depends_lib	port:xorg-libXt \
		port:xorg-libXext \
		port:gettext

livecheck.type  regex
livecheck.url   [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libXpm-(\\d+(?:\\.\\d+)*)
