blob: c98f559efbae36d501d2a0bdae750e2e5563431a (
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
|
# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$
PORTNAME= TVGrab
PORTVERSION= 0.5.1
PORTREVISION= 3
CATEGORIES= textproc python
MASTER_SITES= SF/py${PORTNAME:tl}/lib/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pytvgrab-lib-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Library to write grabbers of tv scheduling collections
EXTRACT_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=1.4:${PORTSDIR}/devel/py-dateutil:extract
USE_BZIP2= yes
USE_PYTHON= 2
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
PORTDOCS= README
post-extract:
@${CP} ${FILESDIR}/timezone.py ${WRKSRC}/lib/timezone.py
post-patch:
@${REINPLACE_CMD} -e 's,python -c,${PYTHON_CMD} -c,' ${WRKSRC}/setup.py
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|