# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 118195 2014-03-25 08:33:46Z devans@macports.org $

PortSystem              1.0
PortGroup               muniversal 1.0

name                    lcms2
version                 2.6
worksrcdir              lcms2-${version}
categories              graphics
platforms               darwin
maintainers             nomaintainer
license                 MIT
use_parallel_build      yes

description             Little Color Management System, a color matching \
                        method library (version 2)
long_description        LCMS is the Little Color Management System, a portable \
                        Color Matching Method (CMM) library which implements \
                        fast transforms between ICC profiles. \
                        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/

master_sites            sourceforge:project/lcms/lcms/${version}/ \
                        ${homepage}

checksums               rmd160  ce9490771e022e318115930d50309aeb24251bfb \
                        sha256  5172528839647c54c3da211837225e221be93e4733f5b5e9f57668f7107e14b1

depends_lib             port:jpeg \
                        port:tiff \
                        port:zlib

test.run                yes
test.target             check

livecheck.type  regex
livecheck.url   http://www.littlecms.com/download.html
livecheck.regex "Current version is (\[A-Za-z0-9.\]+)"
