aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-tvgrab/Makefile
blob: a60cf997429719c4d5ce30cc81e70e655babe068 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# New ports collection makefile for:	PyTVGrab
# Date created:		Sun May  8 07:22:39 UTC 2005
# Whom:			Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	TVGrab
PORTVERSION=	0.5.1
PORTREVISION=	1
CATEGORIES=	textproc python
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR=	pytvgrab
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	${MASTER_SITE_SUBDIR}-lib-${PORTVERSION}

MAINTAINER=	lioux@FreeBSD.org
COMMENT=	A xmltv python library to write grabbers of tv scheduling collections

EXTRACT_DEPENDS=	${PYTHON_SITELIBDIR}/dateutil/__init__.py:${PORTSDIR}/devel/py-dateutil:extract

USE_BZIP2=		yes
USE_PYTHON=		yes
USE_PYDISTUTILS=	yes

PORTDOCS=	README

post-extract:
# use tz.py from devel/py-dateutil
	@${INSTALL_DATA} ${PY_DATEUTIL_WRKSRC}/dateutil/tz.py \
		${WRKSRC}/lib/timezone.py

post-install:
	@${MKDIR} ${DOCSDIR}
	@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}

.include <bsd.port.pre.mk>

PY_DATEUTIL_PORTDIR=${PORTSDIR}/devel/py-dateutil
PY_DATEUTIL_WRKSRC!=cd ${PY_DATEUTIL_PORTDIR} && ${MAKE} -V WRKSRC

.include <bsd.port.post.mk>