# Created by: Mario Sergio Fujikawa Ferreira # $FreeBSD: head/textproc/py-tvgrab/Makefile 405427 2016-01-07 11:17:23Z miwi $ 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