# New ports collection makefile for:	python xmltv
# Date created:		Sun May  8 21:31:15 UTC 2005
# Whom:			Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD: ports/textproc/py-xmltv/Makefile,v 1.2 2005/12/09 02:27:12 lioux Exp $
#

PORTNAME=	xmltv
PORTVERSION=	0.5.39
CATEGORIES=	textproc python
MASTER_SITES=	http://www.funktronics.ca/python-xmltv/releases/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	python-xmltv-${PORTVERSION}

BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/_xmlplus/__init__.py:${PORTSDIR}/textproc/py-xml
RUN_DEPENDS=	${BUILD_DEPENDS}

MAINTAINER=	lioux@FreeBSD.org
COMMENT=	A Python module that provides access to XMLTV TV listings

USE_PYTHON=		yes
USE_PYDISTUTILS=	yes

.ifndef(NOPORTDOCS)
PORTDOCS=	README.txt
.endif

post-install:
.ifndef(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	@${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
.endif

.include <bsd.port.mk>
