aboutsummaryrefslogtreecommitdiff
path: root/www/metacafe_dl/Makefile
blob: 7ca819fdb3ce833c6bc46a5598fe0e458fe41d8f (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
# New ports collection makefile for:	metacafe_dl
# Date created:		2007-08-17
# Whom:			Fernando Durango <fernando@secret.org>
#
# $FreeBSD$
#

PORTNAME=	metacafe_dl
PORTVERSION=	2007.09.13
CATEGORIES=	www
MASTER_SITES=	http://www.arrakis.es/~rggi3/metacafe-dl/
DISTNAME=	metacafe-dl-${PORTVERSION}
EXTRACT_SUFX=
EXTRACT_ONLY=

MAINTAINER=	fernando@secret.org
COMMENT=	A program for downloading videos from metacafe.com

NO_WRKSUBDIR=	yes
NO_BUILD=	yes

USE_PYTHON=	2.4+

PLIST_FILES=	bin/metacafe-dl

.include <bsd.port.pre.mk>

post-extract:
	@${CP} ${DISTDIR}/metacafe-dl-${PORTVERSION} ${WRKSRC}/metacafe-dl

post-patch:
	@${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|g' ${WRKSRC}/metacafe-dl

do-install:
	@${INSTALL_SCRIPT} ${WRKSRC}/metacafe-dl ${PREFIX}/bin

.include <bsd.port.post.mk>