# $Id: Portfile 63610 2010-02-10 08:55:24Z blb@macports.org $

PortSystem          1.0
PortGroup           python26 1.0
name                py26-colormath
version             1.0.5
categories-append   math
maintainers         nomaintainer
description         Simplify color math operations in python
long_description \
   The python-colormath is a python module that abstracts common color math \
   operations

platforms           darwin

homepage            http://code.google.com/p/python-colormath/
master_sites        http://pypi.python.org/packages/source/c/colormath/
distname            colormath-${version}

checksums           md5     58d44e1e71537e06469050aa25fea0e0 \
                    sha1    53ea8c654aa9040862b01cd163ee1db1e00001fe \
                    rmd160  f2e910730cd7791f864ed1fab192e08e1333b961

depends_lib-append  port:py26-numpy

post-destroot {
   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
   xinstall -m 644 -W ${worksrcpath} README.txt \
      ${destroot}${prefix}/share/doc/${name}
}

livecheck.type      regex
livecheck.url       [lindex ${master_sites} 0]
livecheck.regex     {colormath-([0-9.]+)\.tar\.gz}

