# $Id: Portfile,v 1.16 2006/01/26 20:48:09 toby Exp $

PortSystem 1.0
name             lcms
version          1.15
categories       graphics
maintainers      toby@opendarwin.org
description      Little Color Management System, a color matching method library
long_description \
    LCMS is the Little Color Management System, a Color Matching Method \
    (CMM) library which implements fast transforms between ICC profiles. \
    It is released under LGPL with source code and meant to be portable. \
    Color management refers to techniques that ensure consistent color \
    as images are transferred from scanners or cameras to monitors and \
    printers.
homepage         http://www.littlecms.com/
platforms        darwin
master_sites     ${homepage}	
checksums        md5 76c921973fdea4f880944a024197f924

depends_lib      lib:libjpeg:jpeg \
                 lib:libtiff:tiff \
                 lib:libz:zlib

configure.env    CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
configure.args   --mandir=${prefix}/share/man

test.run         yes
test.target      check

