head	1.70;
access;
symbols
	RELEASE_8_3_0:1.64
	RELEASE_9_0_0:1.61
	RELEASE_7_4_0:1.54
	RELEASE_8_2_0:1.54
	RELEASE_6_EOL:1.52
	RELEASE_8_1_0:1.47
	RELEASE_7_3_0:1.44
	RELEASE_8_0_0:1.41
	RELEASE_7_2_0:1.32
	RELEASE_7_1_0:1.24
	RELEASE_6_4_0:1.24
	RELEASE_5_EOL:1.22
	RELEASE_7_0_0:1.15
	RELEASE_6_3_0:1.15
	PRE_XORG_7:1.10
	RELEASE_4_EOL:1.8
	RELEASE_6_2_0:1.2;
locks; strict;
comment	@# @;


1.70
date	2013.02.19.07.00.53;	author svnexp;	state Exp;
branches;
next	1.69;

1.69
date	2013.01.29.03.41.38;	author svnexp;	state Exp;
branches;
next	1.68;

1.68
date	2013.01.21.05.20.46;	author svnexp;	state Exp;
branches;
next	1.67;

1.67
date	2012.12.17.09.38.52;	author svnexp;	state Exp;
branches;
next	1.66;

1.66
date	2012.11.17.06.03.13;	author svnexp;	state Exp;
branches;
next	1.65;

1.65
date	2012.10.03.14.45.45;	author araujo;	state Exp;
branches;
next	1.64;

1.64
date	2012.03.06.11.43.58;	author ehaupt;	state Exp;
branches;
next	1.63;

1.63
date	2012.03.03.23.06.38;	author araujo;	state Exp;
branches;
next	1.62;

1.62
date	2012.01.15.17.20.31;	author araujo;	state Exp;
branches;
next	1.61;

1.61
date	2011.10.19.17.53.57;	author bf;	state Exp;
branches;
next	1.60;

1.60
date	2011.10.15.12.14.22;	author itetcu;	state Exp;
branches;
next	1.59;

1.59
date	2011.08.05.09.32.30;	author bf;	state Exp;
branches;
next	1.58;

1.58
date	2011.08.04.23.36.51;	author bf;	state Exp;
branches;
next	1.57;

1.57
date	2011.04.25.19.45.07;	author araujo;	state Exp;
branches;
next	1.56;

1.56
date	2011.02.27.16.54.15;	author araujo;	state Exp;
branches;
next	1.55;

1.55
date	2011.02.13.16.55.26;	author araujo;	state Exp;
branches;
next	1.54;

1.54
date	2010.12.09.22.33.57;	author araujo;	state Exp;
branches;
next	1.53;

1.53
date	2010.12.05.15.20.04;	author araujo;	state Exp;
branches;
next	1.52;

1.52
date	2010.11.11.23.23.28;	author araujo;	state Exp;
branches;
next	1.51;

1.51
date	2010.10.21.15.37.48;	author araujo;	state Exp;
branches;
next	1.50;

1.50
date	2010.08.19.23.09.58;	author araujo;	state Exp;
branches;
next	1.49;

1.49
date	2010.07.26.01.17.22;	author araujo;	state Exp;
branches;
next	1.48;

1.48
date	2010.07.18.15.54.36;	author araujo;	state Exp;
branches;
next	1.47;

1.47
date	2010.06.26.18.50.22;	author araujo;	state Exp;
branches;
next	1.46;

1.46
date	2010.04.05.22.55.14;	author araujo;	state Exp;
branches;
next	1.45;

1.45
date	2010.03.18.13.32.34;	author araujo;	state Exp;
branches;
next	1.44;

1.44
date	2010.02.17.11.16.22;	author araujo;	state Exp;
branches;
next	1.43;

1.43
date	2010.01.26.00.24.06;	author araujo;	state Exp;
branches;
next	1.42;

1.42
date	2010.01.20.00.44.08;	author araujo;	state Exp;
branches;
next	1.41;

1.41
date	2009.09.23.00.31.56;	author araujo;	state Exp;
branches;
next	1.40;

1.40
date	2009.07.17.17.40.58;	author araujo;	state Exp;
branches;
next	1.39;

1.39
date	2009.06.15.06.39.44;	author pav;	state Exp;
branches;
next	1.38;

1.38
date	2009.06.14.20.37.44;	author pav;	state Exp;
branches;
next	1.37;

1.37
date	2009.06.13.17.46.31;	author araujo;	state Exp;
branches;
next	1.36;

1.36
date	2009.05.22.19.21.43;	author araujo;	state Exp;
branches;
next	1.35;

1.35
date	2009.05.11.16.56.57;	author araujo;	state Exp;
branches;
next	1.34;

1.34
date	2009.05.06.00.28.19;	author araujo;	state Exp;
branches;
next	1.33;

1.33
date	2009.05.04.13.27.09;	author araujo;	state Exp;
branches;
next	1.32;

1.32
date	2009.04.09.01.27.27;	author araujo;	state Exp;
branches;
next	1.31;

1.31
date	2009.04.09.01.13.48;	author araujo;	state Exp;
branches;
next	1.30;

1.30
date	2009.03.07.04.15.34;	author araujo;	state Exp;
branches;
next	1.29;

1.29
date	2008.12.09.13.26.36;	author araujo;	state Exp;
branches;
next	1.28;

1.28
date	2008.11.29.14.12.01;	author araujo;	state Exp;
branches;
next	1.27;

1.27
date	2008.11.29.10.32.48;	author linimon;	state Exp;
branches;
next	1.26;

1.26
date	2008.10.12.13.14.35;	author amdmi3;	state Exp;
branches;
next	1.25;

1.25
date	2008.10.11.13.53.08;	author amdmi3;	state Exp;
branches;
next	1.24;

1.24
date	2008.07.27.20.16.39;	author miwi;	state Exp;
branches;
next	1.23;

1.23
date	2008.06.14.08.41.42;	author rafan;	state Exp;
branches;
next	1.22;

1.22
date	2008.04.22.00.44.54;	author lwhsu;	state Exp;
branches;
next	1.21;

1.21
date	2008.04.11.15.16.43;	author pav;	state Exp;
branches;
next	1.20;

1.20
date	2008.03.26.13.04.05;	author rafan;	state Exp;
branches;
next	1.19;

1.19
date	2008.03.13.20.57.18;	author miwi;	state Exp;
branches;
next	1.18;

1.18
date	2008.02.13.10.57.54;	author araujo;	state Exp;
branches;
next	1.17;

1.17
date	2008.02.04.10.22.13;	author obrien;	state Exp;
branches;
next	1.16;

1.16
date	2008.02.04.10.08.39;	author obrien;	state Exp;
branches;
next	1.15;

1.15
date	2007.10.09.11.36.05;	author miwi;	state Exp;
branches;
next	1.14;

1.14
date	2007.08.29.13.57.38;	author sem;	state Exp;
branches;
next	1.13;

1.13
date	2007.08.04.11.41.30;	author gabor;	state Exp;
branches;
next	1.12;

1.12
date	2007.06.25.13.09.01;	author rafan;	state Exp;
branches;
next	1.11;

1.11
date	2007.06.11.14.42.07;	author rafan;	state Exp;
branches;
next	1.10;

1.10
date	2007.03.28.20.44.13;	author miwi;	state Exp;
branches;
next	1.9;

1.9
date	2007.02.20.00.58.13;	author vanilla;	state Exp;
branches;
next	1.8;

1.8
date	2007.01.23.08.12.48;	author miwi;	state Exp;
branches;
next	1.7;

1.7
date	2007.01.03.01.26.40;	author rafan;	state Exp;
branches;
next	1.6;

1.6
date	2006.12.04.22.55.19;	author miwi;	state Exp;
branches;
next	1.5;

1.5
date	2006.12.02.00.29.39;	author miwi;	state Exp;
branches;
next	1.4;

1.4
date	2006.11.04.22.31.45;	author miwi;	state Exp;
branches;
next	1.3;

1.3
date	2006.11.04.22.03.18;	author miwi;	state Exp;
branches;
next	1.2;

1.2
date	2006.09.05.17.32.56;	author miwi;	state Exp;
branches;
next	1.1;

1.1
date	2006.08.16.12.51.40;	author itetcu;	state Exp;
branches;
next	;


desc
@@


1.70
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/312544
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# $FreeBSD: head/www/youtube_dl/Makefile 312544 2013-02-19 06:47:41Z pclin $

PORTNAME=	youtube_dl
PORTVERSION=	2013.02.02
CATEGORIES=	www
MASTER_SITES=	http://youtube-dl.org/downloads/${PORTVERSION}/ \
		http://ftp.de.netbsd.org/pub/unix/Linux/MIRROR.gentoo/distfiles/
DISTNAME=	youtube-dl-${PORTVERSION}

MAINTAINER=	araujo@@FreeBSD.org
COMMENT=	A program for downloading videos from YouTube.com

LICENSE=	UNLICENSE
LICENSE_NAME=	The Unlicense
LICENSE_FILE=	${WRKSRC}/LICENSE
LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

BUILD_DEPENDS=	zip:${PORTSDIR}/archivers/zip

USE_PYTHON_RUN=	2.6-2.7
ALL_TARGET=	youtube-dl

OPTIONS_DEFINE=	BASH RTMPDUMP FFMPEG
OPTIONS_DEFAULT=RTMPDUMP

BASH_DESC=	Install programmable completions for Bash
RTMPDUMP_DESC=	Use RTMPDUMP to download rtmp video streams

PLIST_FILES=	bin/youtube-dl
MAN1=		youtube-dl.1

WRKSRC=		${WRKDIR}/youtube-dl

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MRTMPDUMP}
RUN_DEPENDS+=	rtmpdump:${PORTSDIR}/multimedia/rtmpdump
.endif

.if ${PORT_OPTIONS:MBASH}
PLIST_FILES+=	etc/bash_completion.d/youtube-dl.sh
.endif

.if ${PORT_OPTIONS:MFFMPEG}
# allow either multimedia/ffmpeg or multimedia/ffmpeg-devel
. if exists(${LOCALBASE}/include/libavcodec/vda.h)
RUN_DEPENDS+=	ffprobe:${PORTSDIR}/multimedia/ffmpeg-devel
. else
RUN_DEPENDS+=	ffprobe:${PORTSDIR}/multimedia/ffmpeg
. endif
.endif

post-extract:
	@@# remove tarball provided version, build our own
	@@${RM} -f ${WRKSRC}/youtube-dl

do-install:
	@@${INSTALL_SCRIPT} ${WRKSRC}/youtube-dl ${PREFIX}/bin/youtube-dl
	@@${INSTALL_DATA} ${WRKSRC}/youtube-dl.1 ${PREFIX}/man/man1
.if ${PORT_OPTIONS:MBASH}
	${MKDIR} ${PREFIX}/etc/bash_completion.d
	${INSTALL_DATA} ${WRKSRC}/youtube-dl.bash-completion \
		${PREFIX}/etc/bash_completion.d/youtube-dl.sh
.endif

.if ${PORT_OPTIONS:MFFMPEG}
post-install:
	@@${CAT} ${PKGMESSAGE}
.endif

.include <bsd.port.mk>
@


1.69
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/311145
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: head/www/youtube_dl/Makefile 311145 2013-01-29 02:40:21Z araujo $
d4 1
a4 1
PORTVERSION=	2013.01.28
d53 4
@


1.68
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310749
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: head/www/youtube_dl/Makefile 310749 2013-01-21 03:59:18Z araujo $
d4 1
a4 1
PORTVERSION=	2013.01.13
@


1.67
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/309073
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r309073 | araujo | 2012-12-17 09:34:32 +0000 (Mon, 17 Dec 2012) | 6 lines
## SVN ##
## SVN ## - Update to 2012.12.11.
## SVN ## - Convert to OptionsNG.
## SVN ##
## SVN ## PR:		ports/174455
## SVN ## Submitted by:	Po-Chien Lin <linpc@@cs.nctu.edu.tw>
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: head/www/youtube_dl/Makefile 309073 2012-12-17 09:34:32Z araujo $
d4 1
a4 1
PORTVERSION=	2012.12.11
d6 3
a8 3
MASTER_SITES=	https://cloud.github.com/downloads/rg3/youtube-dl/ \
		CRITICAL
DISTNAME=	youtube-dl.${PORTVERSION}
d13 4
a16 1
LICENSE=	GPLv2
a40 1
ALL_TARGET+=	youtube-dl.bash-completion
@


1.66
log
@Switch exporter over
@
text
@d1 1
a1 1
# $FreeBSD: head/www/youtube_dl/Makefile 305205 2012-10-03 14:45:45Z araujo $
d4 1
a4 1
PORTVERSION=	2012.09.27
d6 1
a6 1
MASTER_SITES=	GH \
d8 1
a8 2

EXTRACT_SUFX=	# empty
d18 7
a24 5
ALL_TARGET=	compile
USE_GITHUB=	yes
GH_ACCOUNT=	rg3
GH_PROJECT=	youtube-dl
GH_COMMIT=	b5de8af
d27 1
d29 1
a29 2
OPTIONS=	RTMPDUMP "Use RTMPDUMP to download rtmp video streams" on \
		FFMPEG   "Use ffmpeg (required for audio conversion)"  off
d33 1
a33 1
.if defined(WITH_RTMPDUMP)
d37 6
a42 1
.if defined(WITH_FFMPEG)
d53 6
d60 1
a60 1
.if defined(WITH_FFMPEG)
@


1.65
log
@SVN rev 305205 on 2012-10-03 14:45:45Z by araujo

- Update to 2012.09.27.
- Drops support for python 2.5.
- Switch to USE_GITHUB.

PR:		ports/172153
Submitted by:	"4721@@hushmail.com" <4721@@hushmail.com>
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.64
log
@Add an option to support audio conversion with ffmpeg. Also make a not that
ffmpeg needs to be built with the "LAME" option enabled. While here add LICENSE,
WWW and a few additional mirrors.

Approved by:	araujo (maintainer)
@
text
@a0 4
# New ports collection makefile for:	youtube_dl
# Date created:		2006-08-12
# Whom:			Pankov Pavel <pankov_p@@mail.ru>
#
a1 1
#
d4 1
a4 1
PORTVERSION=	2012.02.27
d6 1
a6 1
MASTER_SITES=	https://raw.github.com/rg3/youtube-dl/${PORTVERSION}/ \
d8 1
a8 1
DISTNAME=	youtube-dl
a9 2
DIST_SUBDIR=	${PORTNAME}/${PORTVERSION}
EXTRACT_ONLY=	# empty
d16 8
a23 3
NO_BUILD=	yes
NO_WRKSUBDIR=	yes
USE_PYTHON_RUN=	2.5-2.7
a44 3
post-extract:
	@@${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${WRKSRC}/youtube-dl

@


1.63
log
@- Update to 2012.02.27.
@
text
@d11 2
a12 1
MASTER_SITES=	https://raw.github.com/rg3/youtube-dl/${PORTVERSION}/
d21 2
d29 2
a30 1
OPTIONS=	RTMPDUMP	"Use RTMPDUMP to download rtmp video streams"	on
d38 9
d53 5
@


1.62
log
@- Update to 2012.01.08b.
@
text
@d9 1
a9 1
PORTVERSION=	2012.01.08b
@


1.61
log
@update to 2011.10.19

PR:		161563
Approved by:	araujo
@
text
@d9 1
a9 1
PORTVERSION=	2011.10.19
@


1.60
log
@Update to 2011.09.30

PR:		161563
Submitted by:	4720@@hushmail.com
Approved by:	araujo@@ (committed on his behalf)
@
text
@d9 1
a9 1
PORTVERSION=	2011.09.30
@


1.59
log
@revert to less concise expression

Requested by:	sunpoet
@
text
@d9 1
a9 1
PORTVERSION=	2011.08.04
@


1.58
log
@update to 2011-08-04

Approved by:	araujo
@
text
@d35 1
a35 1
	@@${CP} ${_DISTDIR}/${DISTNAME} ${WRKSRC}/youtube-dl
@


1.57
log
@- Update to 2011.03.29.

PR:		ports/156360
Submitted by:	Barbara <barbara.xxx1975@@libero.it>
@
text
@d9 1
a9 1
PORTVERSION=	2011.03.29
d11 1
a11 1
MASTER_SITES=	https://github.com/rg3/youtube-dl/raw/${PORTVERSION}/
d35 1
a35 1
	@@${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${WRKSRC}/youtube-dl
@


1.56
log
@- Update to 2011.02.25c.
@
text
@d9 1
a9 1
PORTVERSION=	2011.02.25c
@


1.55
log
@- Update to 2011.01.30.

PR:		ports/154654
Submitted by:	sunpoet@@
@
text
@d9 1
a9 1
PORTVERSION=	2011.01.30
@


1.54
log
@- Update to 2010.12.09.

Reported by:	Michal Pietras <pietrasm@@me.com>
@
text
@d9 1
a9 1
PORTVERSION=	2010.12.09
@


1.53
log
@- Update to 2010.11.19.
- Fix files downloaded that depends directly of rtmpdump.

PR:		ports/152452
Submitted by:	Jamie Landeg Jones <jamie@@bishopston.net>
@
text
@d9 1
a9 1
PORTVERSION=	2010.11.19
@


1.52
log
@- Update to 2010.10.24.

PR:		ports/151839
Submitted by:	sunpoet@@
@
text
@d9 1
a9 1
PORTVERSION=	2010.10.24
d11 1
a11 1
MASTER_SITES=	http://bitbucket.org/rg3/youtube-dl/raw/${PORTVERSION}/
d26 8
@


1.51
log
@- Update to 2010.10.03.
@
text
@d9 1
a9 1
PORTVERSION=	2010.10.03
@


1.50
log
@- Update to 2010.08.04.

PR:		ports/149777
Submitted by:	bf <bf1783@@gmail.com>
@
text
@d9 1
a9 1
PORTVERSION=	2010.08.04
@


1.49
log
@- Update to 2010.07.22.

PR:		ports/148892
Submitted by:	Christoph Moench-Tegeder <cmt@@burggraben.net>
@
text
@d9 1
a9 1
PORTVERSION=	2010.07.22
d22 1
a22 1
USE_PYTHON=	2.5-2.6
@


1.48
log
@- Update to 2010.07.14.

PR:		ports/148713
Submitted by:	Sunpoet Po-Chuan Hsieh <sunpoet@@sunpoet.net>
@
text
@d9 1
a9 1
PORTVERSION=	2010.07.14
@


1.47
log
@- Update to 2010.06.06.

PR:		ports/147834
Submitted by:	Sunpoet Po-Chuan Hsieh <sunpoet@@sunpoet.net>
Feature safe:	YES
@
text
@d9 1
a9 1
PORTVERSION=	2010.06.06
d13 1
a13 1
EXTRACT_SUFX=
d15 1
a15 1
EXTRACT_ONLY=
@


1.46
log
@- Update to 2010.04.04.

PR:		ports/145404
Submitted by:	Christoph Moench-Tegeder <cmt@@burggraben.net>
@
text
@d9 1
a9 1
PORTVERSION=	2010.04.04
d20 1
d22 1
a22 3
NO_BUILD=	yes

USE_PYTHON=	2.5+
@


1.45
log
@- Update to 2010.03.13.

PR:		ports/144665 (based on)
Submitted by:	Sunpoet Po-Chuan Hsieh <sunpoet@@sunpoet.net>
@
text
@d9 1
a9 1
PORTVERSION=	2010.03.13
@


1.44
log
@- Update to 2010.02.13.

PR:		ports/143956
Submitted by:	Sunpoet Po-Chuan Hsieh <sunpoet@@sunpoet.net>
Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	2010.02.13
@


1.43
log
@- Update to 2010.01.19.

PR:		ports/143003
Submitted by:	Sunpoet Po-Chuan Hsieh <sunpoet__sunpoet.net>
@
text
@d9 1
a9 1
PORTVERSION=	2010.01.19
@


1.42
log
@- Update to 2009.12.26.

PR:		ports/142215
Submitted by:	Sunpoet Po-Chuan Hsieh <sunpoet__sunpoet.net>
@
text
@d9 1
a9 1
PORTVERSION=	2009.12.26
@


1.41
log
@- Update to 2009.09.13.

Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	2009.09.13
@


1.40
log
@- Update to 2009.06.29.
@
text
@d9 1
a9 1
PORTVERSION=	2009.06.29
@


1.39
log
@- Correct my previous fix

Reported by:	itetcu
Pointy hat to:	pav
@
text
@d9 1
a9 2
PORTVERSION=	2009.05.30
PORTREVISION=	1
@


1.38
log
@- Unbreak. The previous version of the port was completely wrong

With hat:	portmgr
@
text
@d29 1
a29 1
	@@${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}/youtube-dl
@


1.37
log
@- Update to 2009.05.30.
- DISTNAME changed to be more sane.
@
text
@d12 2
a13 2
MASTER_SITES=	http://bitbucket.org/rg3/youtube-dl/raw/
DISTNAME=	${PORTVERSION}/youtube-dl
d15 1
@


1.36
log
@- Update to 2009.05.13.
@
text
@d9 1
a9 1
PORTVERSION=	2009.05.13
d12 2
a13 2
MASTER_SITES=	http://bitbucket.org/rg3/youtube-dl/raw/${PORTVERSION}/
DISTNAME=	youtube-dl
d28 1
a28 1
	@@${CP} ${DISTDIR}/youtube-dl ${WRKSRC}/youtube-dl
@


1.35
log
@- Update MASTER_SITES.

PR:		ports/134411
Submitted by:	Nikolaj Thygesen <mailinglist@@diamondbox.dk>
@
text
@d9 1
a9 1
PORTVERSION=	2009.04.25
d12 1
a12 1
MASTER_SITES=	http://bitbucket.org/rg3/youtube-dl/raw/2009.04.25/
@


1.34
log
@- Remove support for FFMPEG and FLV2MPEG4, the code was changed and
  these unofficial patchs aren't more applicable.
- From now on USE_PYTHON = 2.5+.
- Bump PORTREVISION.

Reported by:	barbara <barbara.xxx1975@@libero.it>,
		Robert Huff <roberthuff@@rcn.com>
@
text
@d12 1
a12 1
MASTER_SITES=	http://bitbucket.org/rg3/youtube-dl/raw/c42582904adf/
@


1.33
log
@- Update to 2009.04.25.

PR:		ports/134180
Submitted by:	Sunpoet Po-Chuan Hsieh <sunpoet@@sunpoet.net>
@
text
@d10 1
d23 1
a23 1
USE_PYTHON=	2.4+
a26 20
OPTIONS=	FFMPEG "Use ffmpeg for avi output" off \
		FLV2MPEG4 "Use flv2mpeg4 for avi output" off

.include <bsd.port.pre.mk>

.if defined(WITH_FFMPEG) || defined(WITH_FLV2MPEG4)
EXTRA_PATCHES+=	${PATCHDIR}/conv2avi.patch
.endif

.if defined(WITH_FFMPEG)
.if defined (WITH_FLV2MPEG4)
IGNORE=	cannot use WITH_FFMPEG and WITH_FLV2MPEG4 simultaneously
.endif
CONV2AVI_CMD=	${PREFIX}/bin/ffmpeg -y -i
RUN_DEPENDS+=	ffmpeg:${PORTSDIR}/multimedia/ffmpeg
.elif defined (WITH_FLV2MPEG4)
CONV2AVI_CMD=	${PREFIX}/bin/flv2mpeg4
RUN_DEPENDS+=	flv2mpeg4:${PORTSDIR}/multimedia/flv2mpeg4
.endif

a29 6
post-patch:
	@@${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' ${WRKSRC}/youtube-dl
.if defined(WITH_FFMPEG) || defined(WITH_FLV2MPEG4)
	@@${REINPLACE_CMD} -e 's|%%CONV2AVI_CMD%%|${CONV2AVI_CMD}|' ${WRKSRC}/youtube-dl
.endif

d33 1
a33 1
.include <bsd.port.post.mk>
@


1.32
log
@- Update MASTER_SITES.
- Update DISTFILE to the right version.
- Bump PORTREVISION.
@
text
@d9 1
a9 2
PORTVERSION=	2009.04.06
PORTREVISION=	1
d11 1
a11 1
MASTER_SITES=	http://bitbucket.org/rg3/youtube-dl/raw/468b207ea6ee/
@


1.31
log
@- Update to 2009.04.06.
@
text
@d10 1
d12 1
a12 1
MASTER_SITES=	http://www.arrakis.es/~rggi3/youtube-dl/
@


1.30
log
@- Update to 2009.02.07.

PR:		ports/132375
Submitted by:	Sunpoet Po-Chuan Hsieh <sunpoet@@sunpoet.net>
@
text
@d9 1
a9 1
PORTVERSION=	2009.02.07
@


1.29
log
@- Update to 2008.11.01.
@
text
@d9 1
a9 1
PORTVERSION=	2008.11.01
d12 1
a12 1
DISTNAME=	youtube-dl-${PORTVERSION}
d47 1
a47 1
	@@${CP} ${DISTDIR}/youtube-dl-${PORTVERSION} ${WRKSRC}/youtube-dl
@


1.28
log
@- Take maintainership.
@
text
@d9 1
a9 2
PORTVERSION=	2008.08.09
PORTREVISION=	1
@


1.27
log
@Reset maintainer by request.
@
text
@d17 1
a17 1
MAINTAINER=	ports@@FreeBSD.org
@


1.26
log
@- Fix extra patch

Reported by:	"Herbert J. Skuhra" <h dot skuhra at gmail dot com
@
text
@d17 1
a17 1
MAINTAINER=	pankov_p@@mail.ru
@


1.25
log
@- Update to 2008.08.09

PR:		127488
Submitted by:	"Eric L. Chen" <d9364104 at mail dot nchu dot edu dot tw>
Approved by:	maintainer timeout
@
text
@d10 1
@


1.24
log
@- Update to 2008.07.26

PR:		125931
Submitted by:	Pankov Pavel <pankov_p@@mail.ru> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2008.07.26
@


1.23
log
@- Update to 2008.06.08

PR:		ports/124467
Submitted by:	Pankov Pavel <pankov_p at mail.ru> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2008.06.08
@


1.22
log
@- Update to 2008.04.20
@
text
@d9 1
a9 1
PORTVERSION=	2008.04.20
@


1.21
log
@- Update to 2008.04.07

PR:		ports/122594
Submitted by:	Pankov Pavel <pankov_p@@mail.ru> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2008.04.07
@


1.20
log
@- Update to 2008.03.22

PR:		ports/122111
Submitted by:	Pankov Pavel <pankov_p at mail.ru> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2008.03.22
d40 1
a40 1
RUN_DEPENDS=	ffmpeg:${PORTSDIR}/multimedia/ffmpeg
d43 1
a43 1
RUN_DEPENDS=	flv2mpeg4:${PORTSDIR}/multimedia/flv2mpeg4
@


1.19
log
@- Update to 2008.03.08

PR:		121593
Submitted by:	Pankov Pavel <pankov_p@@mail.ru> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2008.03.08
@


1.18
log
@- Fixed some problems with conv2avi.
- Bump PORTREVISION.

PR:		ports/120301
Submitted by:	Mel <mel@@rachie.is-a-geek.net>,
		Pankov Pavel <pankov_p@@mail.ru> (maintainer)
Approved by:	stas (mentor, implicit)
@
text
@d9 1
a9 2
PORTVERSION=	2008.01.24
PORTREVISION=	1
@


1.17
log
@Fix 'WITH_FLV2MPEG4' logic.
@
text
@d10 1
@


1.16
log
@+ Updates www/youtube_dl to 2008.01.24 [1][2]
+ Adds an ability to use multimedia/flv2mpeg4 for conversion [3]

Submitted by:	Pankov Pavel <pankov_p@@mail.ru>
PR:		119990, 120005, 117053
@
text
@d41 1
a41 1
.else
@


1.15
log
@- Update to 2007.10.09

PR:		117037
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	2007.10.09
d26 2
a27 1
OPTIONS=	FFMPEG "With optional avi output format" off
d31 4
d36 4
d41 3
a43 1
EXTRA_PATCHES+=	${PATCHDIR}/ffmpeg.patch
d50 4
a53 1
	@@${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|g' ${WRKSRC}/youtube-dl
@


1.14
log
@- Update to 2007.08.24

PR:		ports/115834
Submitted by:	glebius
Approved by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	2007.08.24
@


1.13
log
@- Remove the DESTDIR modifications from individual ports as we have a new,
  fully chrooted DESTDIR, which does not need such any more.

Sponsored by:	Google Summer of Code 2007
Approved by:	portmgr (pav)
@
text
@d9 1
a9 1
PORTVERSION=	2007.06.22
@


1.12
log
@- Update to 2007.06.22

PR:		ports/114010
Submitted by:	Pankov Pavel <pankov_p at mail.ru> (maintainer)
@
text
@d42 1
a42 1
	@@${INSTALL_SCRIPT} ${WRKSRC}/youtube-dl ${TARGETDIR}/bin/youtube-dl
@


1.11
log
@- Update to 2007.06.06

PR:		ports/113537
Submitted by:	Pankov Pavel <pankov_p at mail.ru> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2007.06.06
@


1.10
log
@- Update to 2007.03.27

PR:             110978
Submitted by:   Pankov Pavel <pankov_p@@mail.ru> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2007.03.27
@


1.9
log
@Upgrade to 2007.02.18

PR:		ports/109338
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	2007.02.18
@


1.8
log
@- Update to 2007.01.09 [1]
- Add an options to recode the movie in avi

PR:		ports/107890
Submitted by:	Sergio Lenzi <lenzi@@k1.com.br>
                Pankov Pavel <pankov_p@@mail.ru> [1] (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2007.01.19
@


1.7
log
@- Update to 2007.01.01

PR:		ports/107428
Submitted by:	Pankov Pavel <pankov_p at mail.ru> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2007.01.01
d26 9
d44 1
a44 1
.include <bsd.port.mk>
@


1.6
log
@- Update to 2006.12.03

PR:		ports/106299
Submitted by:	Pankov Pavel<pankov_p@@mail.ru> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2006.12.03
@


1.5
log
@- Update to 2006.11.12

PR:		ports/106083
Submitted by:	Pankov Pavel<pankov_p@@mail.ru> (Maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2006.11.12
@


1.4
log
@- Update to 2006.10.30

Submitted by:	Pawel Worach (on irc)
Sponsored by:   FreeBSD Bug-a-thon #2
@
text
@d9 1
a9 1
PORTVERSION=	2006.10.30
d12 2
a13 1
DISTFILES=	youtube-dl-${PORTVERSION}
@


1.3
log
@- Update to 2006.09.25

PR:		ports/104939
Submitted by:	Gleb Smirnoff <glebius@@>
Sponsored by:   FreeBSD Bug-a-thon #2
@
text
@d9 1
a9 1
PORTVERSION=	2006.09.25
d11 1
a11 2
MASTER_SITES=	http://www.arrakis.es/~rggi3/youtube-dl/ \
		http://pankovpv.sovietservers.com/freebsd/ports/distfiles/
@


1.2
log
@- Update to 2006.08.28

PR:             ports/102818
Submitted by:   Pankov Pavel <pankov_p(at)mail.ru> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2006.08.28
@


1.1
log
@youtube-dl is a small command-line program for downloading videos
from YouTube.com.

WWW: http://www.arrakis.es/~rggi3/youtube-dl/

PR:		ports/101912
Submitted by:	Pankov Pavel <pankov_p at mail.ru>
@
text
@d9 1
a9 1
PORTVERSION=	2006.08.13
d11 2
a12 1
MASTER_SITES=	http://www.arrakis.es/~rggi3/youtube-dl/
@

