aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/py-xmltv/Makefile
blob: b1b229c7ab59932af00a51cbe981e20d8a1f29f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 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$
#

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= ports@FreeBSD.org
COMMENT=    A Python module that provides access to XMLTV TV listings

USE_PYTHON=     yes
USE_PYDISTUTILS=    yes
PYDISTUTILS_PKGNAME=    python-xmltv

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

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

.include <bsd.port.mk>