View | Details | Raw Unified | Return to bug 195204
Collapse All | Expand All

(-)www/youtube_dl/Makefile (-3 / +15 lines)
Lines 1-7 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	youtube_dl
3
PORTNAME=	youtube_dl
4
PORTVERSION=	2014.09.29.2
4
PORTVERSION=	2014.11.16
5
CATEGORIES=	www
5
CATEGORIES=	www
6
MASTER_SITES=	https://yt-dl.org/downloads/${PORTVERSION}/
6
MASTER_SITES=	https://yt-dl.org/downloads/${PORTVERSION}/
7
DISTNAME=	youtube-dl-${PORTVERSION}
7
DISTNAME=	youtube-dl-${PORTVERSION}
Lines 20-29 ALL_TARGET= youtube-dl Link Here
20
MAKE_ARGS=	PYTHON=${PYTHON_CMD}
20
MAKE_ARGS=	PYTHON=${PYTHON_CMD}
21
USES=		python:run
21
USES=		python:run
22
22
23
OPTIONS_DEFINE=	BASH RTMPDUMP FFMPEG
23
OPTIONS_DEFINE=	BASH FISH RTMPDUMP FFMPEG ZSH
24
OPTIONS_DEFAULT=RTMPDUMP
24
OPTIONS_DEFAULT=RTMPDUMP
25
25
26
BASH_DESC=	Install programmable completions for Bash
26
FISH_DESC=	Install programmable completions for Fish
27
RTMPDUMP_DESC=	Use RTMPDUMP to download rtmp video streams
27
RTMPDUMP_DESC=	Use RTMPDUMP to download rtmp video streams
28
28
29
PLIST_FILES=	bin/youtube-dl \
29
PLIST_FILES=	bin/youtube-dl \
Lines 32-37 PLIST_FILES= bin/youtube-dl \ Link Here
32
WRKSRC=		${WRKDIR}/youtube-dl
32
WRKSRC=		${WRKDIR}/youtube-dl
33
33
34
BASH_PLIST_FILES=	etc/bash_completion.d/youtube-dl.sh
34
BASH_PLIST_FILES=	etc/bash_completion.d/youtube-dl.sh
35
FISH_PLIST_FILES=	share/fish/completions/youtube-dl.fish
36
ZSH_PLIST_FILES=	share/zsh/site-functions/_youtube-dl
35
FFMPEG_RUN_DEPENDS=	${LOCALBASE}/bin/ffprobe:${PORTSDIR}/multimedia/ffmpeg
37
FFMPEG_RUN_DEPENDS=	${LOCALBASE}/bin/ffprobe:${PORTSDIR}/multimedia/ffmpeg
36
RTMPDUMP_RUN_DEPENDS=	${LOCALBASE}/bin/rtmpdump:${PORTSDIR}/multimedia/rtmpdump
38
RTMPDUMP_RUN_DEPENDS=	${LOCALBASE}/bin/rtmpdump:${PORTSDIR}/multimedia/rtmpdump
37
39
Lines 49-53 do-install: Link Here
49
	${INSTALL_DATA} ${WRKSRC}/youtube-dl.bash-completion \
51
	${INSTALL_DATA} ${WRKSRC}/youtube-dl.bash-completion \
50
		${STAGEDIR}${PREFIX}/etc/bash_completion.d/youtube-dl.sh
52
		${STAGEDIR}${PREFIX}/etc/bash_completion.d/youtube-dl.sh
51
.endif
53
.endif
54
.if ${PORT_OPTIONS:MFISH}
55
	${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/completions
56
	${INSTALL_DATA} ${WRKSRC}/youtube-dl.fish \
57
		${STAGEDIR}${PREFIX}/share/fish/completions/
58
.endif
59
.if ${PORT_OPTIONS:MZSH}
60
	${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
61
	${INSTALL_DATA} ${WRKSRC}/youtube-dl.zsh \
62
		${STAGEDIR}${PREFIX}/share/zsh/site-functions/_youtube-dl
63
.endif
52
64
53
.include <bsd.port.mk>
65
.include <bsd.port.mk>
(-)www/youtube_dl/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (youtube-dl-2014.09.29.2.tar.gz) = 4192ad648e21e8ab1a4e9b4fe130e47623834407737fd40a0197c61fe38b50f1
1
SHA256 (youtube-dl-2014.11.16.tar.gz) = 78f0e7e4edbae25d12d6a9964b23c61cc9fa8fc7f02d0371e985465e7f2b1244
2
SIZE (youtube-dl-2014.09.29.2.tar.gz) = 1072137
2
SIZE (youtube-dl-2014.11.16.tar.gz) = 1129759
(-)www/youtube_dl/files/patch-youtube_dl__options.py (-9 / +11 lines)
Lines 1-11 Link Here
1
--- youtube_dl/options.py.orig	2014-10-01 13:10:09 UTC
1
--- youtube_dl/options.py.orig	2014-10-01 13:10:09 UTC
2
+++ youtube_dl/options.py
2
+++ youtube_dl/options.py
3
@@ -127,8 +127,6 @@
3
@@ -125,10 +125,6 @@ def parseOpts(overrideArguments=None):
4
             action='help', help='print this help text and exit')
4
         action='version',
5
     general.add_option('-v', '--version',
5
         help='print program version and exit')
6
             action='version', help='print program version and exit')
6
     general.add_option(
7
-    general.add_option('-U', '--update',
7
-        '-U', '--update',
8
-            action='store_true', dest='update_self', help='update this program to latest version. Make sure that you have sufficient permissions (run with sudo if needed)')
8
-        action='store_true', dest='update_self',
9
     general.add_option('-i', '--ignore-errors',
9
-        help='update this program to latest version. Make sure that you have sufficient permissions (run with sudo if needed)')
10
             action='store_true', dest='ignoreerrors', help='continue on download errors, for example to skip unavailable videos in a playlist', default=False)
10
-    general.add_option(
11
     general.add_option('--abort-on-error',
11
         '-i', '--ignore-errors',
12
         action='store_true', dest='ignoreerrors', default=False,
13
         help='continue on download errors, for example to skip unavailable videos in a playlist')

Return to bug 195204