# Created by: Mario Sergio Fujikawa Ferreira # $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 LICENSE= GPLv2 # only LICENSE_FILE= ${WRKSRC}/COPYING OPTIONS_DEFINE= DOCS USES= python:2 tar:bzip2 USE_PYTHON= distutils autoplist NO_ARCH= 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-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include