# Created by: Kevin Lo <kevlo@FreeBSD.org>
# $FreeBSD: tags/RELEASE_10_1_0/textproc/chm2pdf/Makefile 363904 2014-08-03 14:15:08Z olgeni $

PORTNAME=	chm2pdf
PORTVERSION=	0.9.1
PORTREVISION=	3
CATEGORIES=	textproc python
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}

MAINTAINER=	kevlo@FreeBSD.org
COMMENT=	Python script that converts CHM files into PDF files

LICENSE=	GPLv2

RUN_DEPENDS=	htmldoc:${PORTSDIR}/textproc/htmldoc \
		${PYTHON_SITELIBDIR}/chm/chm.py:${PORTSDIR}/textproc/pychm

USE_PYTHON=	yes
USE_PYDISTUTILS=	yes
PYDISTUTILS_PKGVERSION=	0.9

PLIST_FILES=	bin/chm2pdf

.include <bsd.port.mk>
