# $Id: Portfile 58334 2009-09-26 21:16:02Z blb@macports.org $

PortSystem          1.0
PortGroup           python25 1.0
name                py25-colormath
version             1.0.4
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     6dce7e48a77159f5e13fae78c2bc95be \
                    sha1    d1c567e7b56c2f172e59ff9528f7457b9e961e44 \
                    rmd160  11d98a59725662a68a7070ecf04a98398792fc95

depends_lib-append  port:py25-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}

