1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/textproc/py-tvgrab/Makefile
Antoine Brodin f7455240e3 Reduce dependency on the python2 metaport
PR:		225752
Submitted by:	Yasuhiro KIMURA
2018-02-19 11:10:43 +00:00

37 lines
847 B
Makefile

# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$
PORTNAME= TVGrab
PORTVERSION= 0.5.1
PORTREVISION= 4
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.7 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 <bsd.port.mk>