aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/py-xmltv/Makefile
blob: 9f8eaba810241dcd6622b8c0e6f20b66aa6df311 (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
# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$

PORTNAME=   xmltv
PORTVERSION=    1.3
PORTREVISION=   1
CATEGORIES= textproc python
MASTER_SITES=   GOOGLE_CODE
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   python-xmltv-${PORTVERSION}

MAINTAINER= jun-g@daemonfreaks.com
COMMENT=    Python module that provides access to XMLTV TV listings

LICENSE=    LGPL21

USES=       python
USE_PYTHON= distutils
PYDISTUTILS_PKGNAME=    python-xmltv
PROJECTHOST=    python-xmltv
OPTIONS_DEFINE= DOCS

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MDOCS}
PORTDOCS=   README.txt
.endif

post-install:
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
.endif

.include <bsd.port.mk>