# -*- 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-chm2pdf
version             0.9.1
categories-append   textproc
platforms           darwin
maintainers         nomaintainer

description         chm2pdf is a convenient wrapper around chmlib and htmldoc\
                    for quickly converting chm files.
long_description    ${description}
homepage            http://gnochm.sourceforge.net/pychm.html

master_sites        googlecode:chm2pdf
distname            chm2pdf-${version}
checksums           md5     2d5518e3284cca496270566c2554b713 \
                    sha1    92c3dc39aaa3d5452cc9d37d1d34385e8698888b \
                    rmd160  3778083bad1bf8c528b4cbde94e5ca0b511cb9af

python.versions     27

if {${name} ne ${subport}} {
    depends_run-append  port:chmlib \
                        port:py${python.version}-chm \
                        port:htmldoc
}