summaryrefslogtreecommitdiff
path: root/net/get-flash-videos/Makefile
blob: 57eefe0b927121f8b2a9b576ffb4d26adfff21a4 (plain)
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
# $NetBSD: Makefile,v 1.7 2014/05/06 05:37:05 dsainty Exp $

DISTNAME=	${GHACCOUNT}-${GHNAME}-${GHDESCRIBE}-g${GHCOMMIT}
PKGNAME=	${GHNAME}-0.0.${GHDATE}
PKGREVISION=	1
GHNAME=		get-flash-videos

# git describe + GHVERSION from the last commit + GHCOMMIT from the tar.
GHACCOUNT=	monsieurvideo
GHDATE=		20140129
GHDESCRIBE=	v1.22-586
GHVERSION=	d6e4f43fbb858dd0ba94a2c9431f40a9af13dbfe
GHCOMMIT=	d6e4f43

CATEGORIES=	net
MASTER_SITES=	https://github.com/${GHACCOUNT}/${GHNAME}/tarball/${GHVERSION}/

MAINTAINER=	dsainty@NetBSD.org
HOMEPAGE=	http://code.google.com/p/get-flash-videos/
COMMENT=	Tool for using various Flash-based video hosting sites
LICENSE=	apache-2.0

DEPENDS+=	p5-Crypt-Blowfish_PP-[0-9]*:../../security/p5-Crypt-Blowfish_PP
DEPENDS+=	p5-Data-AMF-[0-9]*:../../comms/p5-Data-AMF
DEPENDS+=	p5-HTML-Tree-[0-9]*:../../www/p5-HTML-Tree
DEPENDS+=	p5-LWP-Protocol-https-[0-9]*:../../www/p5-LWP-Protocol-https
DEPENDS+=	{perl>=5.7.3,p5-MIME-Base64-[0-9]*}:../../converters/p5-MIME-Base64
DEPENDS+=	p5-Module-Find-[0-9]*:../../devel/p5-Module-Find
DEPENDS+=	p5-Tie-IxHash-[0-9]*:../../devel/p5-Tie-IxHash
DEPENDS+=	p5-URI-[0-9]*:../../www/p5-URI
DEPENDS+=	p5-WWW-Mechanize-[0-9]*:../../www/p5-WWW-Mechanize
DEPENDS+=	rtmpdump-[0-9]*:../../net/rtmpdump

USE_TOOLS+=	perl:run

WRKSRC=		${WRKDIR}/${GHACCOUNT}-${GHNAME}-${GHCOMMIT}

PERL5_PACKLIST=	auto/App/get_flash_videos/.packlist

.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"