2013-09-20 23:17:30 +00:00
|
|
|
# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
2005-05-08 08:02:12 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= TVGrab
|
|
|
|
PORTVERSION= 0.5.1
|
2008-06-27 08:55:38 +00:00
|
|
|
PORTREVISION= 3
|
2005-05-08 21:05:23 +00:00
|
|
|
CATEGORIES= textproc python
|
2014-05-05 09:45:36 +00:00
|
|
|
MASTER_SITES= SF/py${PORTNAME:tl}/lib/${PORTVERSION}
|
2005-05-08 08:02:12 +00:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
2009-09-02 15:01:56 +00:00
|
|
|
DISTNAME= pytvgrab-lib-${PORTVERSION}
|
2005-05-08 08:02:12 +00:00
|
|
|
|
2008-06-15 19:06:36 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-12-14 23:18:22 +00:00
|
|
|
COMMENT= Library to write grabbers of tv scheduling collections
|
2005-05-08 08:02:12 +00:00
|
|
|
|
2008-04-11 08:27:14 +00:00
|
|
|
EXTRACT_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=1.4:${PORTSDIR}/devel/py-dateutil:extract
|
2005-05-08 08:02:12 +00:00
|
|
|
|
2014-12-07 10:01:36 +00:00
|
|
|
USES= python:2 tar:bzip2
|
|
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
|
2005-05-08 08:02:12 +00:00
|
|
|
|
2005-05-08 21:19:03 +00:00
|
|
|
PORTDOCS= README
|
|
|
|
|
2005-05-08 08:02:12 +00:00
|
|
|
post-extract:
|
2005-08-05 12:23:32 +00:00
|
|
|
@${CP} ${FILESDIR}/timezone.py ${WRKSRC}/lib/timezone.py
|
2005-05-08 08:02:12 +00:00
|
|
|
|
2013-12-14 23:18:22 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's,python -c,${PYTHON_CMD} -c,' ${WRKSRC}/setup.py
|
|
|
|
|
2005-05-08 21:19:03 +00:00
|
|
|
post-install:
|
2013-12-14 23:18:22 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
2005-05-08 21:19:03 +00:00
|
|
|
|
2005-08-05 12:23:32 +00:00
|
|
|
.include <bsd.port.mk>
|