mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
f7455240e3
PR: 225752 Submitted by: Yasuhiro KIMURA
37 lines
847 B
Makefile
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>
|