# $Id: Portfile 111136 2013-09-15 23:48:11Z jeremyhu@macports.org $

PortSystem 1.0

name		xpm
version		3.5.11
categories	x11 devel graphics
license		X11
maintainers	 jeremyhu openmaintainer
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           sha1    77b95dd1c8cd9bc00b3b834b53d824409202acbb \
                    rmd160  4a28185ca8b1b5b65e41bceb5fc0edd01ceebb8a \
                    sha256  c5bdafa51d1ae30086fac01ab83be8d47fe117b238d3437f8e965434090e041c
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+)*)
