# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 54373 2009-07-25 18:00:16Z billitch@macports.org $

PortSystem              1.0
PortGroup               python25 1.0

name                    py25-cssutils
version                 0.9.5.1
revision                1

categories              python www
maintainers             gmail.com:billitch
description             CSS parser and library for Python
long_description        A Python package to parse and build \
                        CSS Cascading Style Sheets.

platforms               darwin

homepage                http://cthedot.de/cssutils/
master_sites            http://cssutils.googlecode.com/files/
distname                cssutils-${version}
use_zip                 yes

checksums               md5     b5ee33892918c6589017cfb318db8190 \
                        sha1    bdf53ff8b0417c064daaa585389e99bed79e6bbf \
                        rmd160  104246a4a07861236644c010f734b5265fdd797f

post-destroot {
    # We should notify upstream not to install tests.
    delete ${destroot}${prefix}/lib/python2.5/site-packages/tests

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