# $Id: Portfile 93119 2012-05-15 16:56:27Z jmr@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name			          py-chm2pdf
version			        0.9.1
categories		      python textproc
platforms		        darwin
maintainers		      jameskyle
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     26 27
python.default_version 27

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