# -*- 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

PortSystem          1.0
PortGroup           python 1.0

name                py-csscompressor
version             0.9.5
revision            0
checksums           rmd160  23c00abcceae07604b52ec1f4cf0725f217f2640 \
                    sha256  afa22badbcf3120a4f392e4d22f9fff485c044a1feda4a950ecc5eba9dd31a05 \
                    size    237808

categories-append   www
license             BSD
supported_archs     noarch
platforms           {darwin any}
maintainers         {isi.edu:calvin @cardi} openmaintainer

description         Python implementation of the YUI CSS Compressor
long_description    Python implementation and almost exact port of \
                    Yahoo!'s CSS Compressor. Removes comments and \
                    compresses whitespace from CSS files.
homepage            https://github.com/sprymix/csscompressor

python.versions     312

if {${name} ne ${subport}} {
    test.run        yes
    python.test_framework unittest

    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE \
            ${destroot}${docdir}
    }
}
