1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/textproc/py-tvgrab/Makefile
Marcus von Appen 1fd066ebe5 - Convert textproc/ to USES=python
With hat:	python@
2014-12-07 10:01:36 +00:00

34 lines
841 B
Makefile

# 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
USES= python:2 tar:bzip2
USE_PYTHON= distutils autoplist
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>