# $Id: Portfile 54724 2009-08-01 01:36:39Z snc@macports.org $

PortSystem 1.0

name		xpm
version		3.5.7
revision	1
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	 ${homepage}/pub/individual/lib/

distname	libXpm-${version}
checksums           md5     cd15ee542d9f515538b4462a6f79d977 \
                    sha1    215208091051530867efae0a4c1cedb7385d5f0e \
                    rmd160  6bd355cb5f011b271b177d86db7f9a4e9d885ed3
use_bzip2	yes
use_parallel_build      yes

depends_build	port:pkgconfig

depends_lib	port:xorg-libX11 \
                port:xorg-xproto

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