diff --git a/www/youtube_dl/Makefile b/www/youtube_dl/Makefile index def8ea1..90797af 100644 --- a/www/youtube_dl/Makefile +++ b/www/youtube_dl/Makefile @@ -1,8 +1,8 @@ # $FreeBSD: head/www/youtube_dl/Makefile 366432 2014-08-28 16:34:35Z sunpoet $ PORTNAME= youtube_dl -PORTVERSION= 2014.08.10 -PORTREVISION= 1 +PORTVERSION= 2014.09.16.1 +PORTREVISION= 0 CATEGORIES= www MASTER_SITES= https://yt-dl.org/downloads/${PORTVERSION}/ DISTNAME= youtube-dl-${PORTVERSION} diff --git a/www/youtube_dl/distinfo b/www/youtube_dl/distinfo index e43267a..100c2a7 100644 --- a/www/youtube_dl/distinfo +++ b/www/youtube_dl/distinfo @@ -1,2 +1,2 @@ -SHA256 (youtube-dl-2014.08.10.tar.gz) = a1131ff8aa636b6e99baf1b6226dab137500cd0a5cdeb4d76db102be4138caa9 -SIZE (youtube-dl-2014.08.10.tar.gz) = 931916 +SHA256 (youtube-dl-2014.09.16.1.tar.gz) = 4ca2d48ef7f75b6055519389298831abdf9a191ad81098a6175fd11a544594b4 +SIZE (youtube-dl-2014.09.16.1.tar.gz) = 1040609 diff --git a/www/youtube_dl/files/patch-Makefile b/www/youtube_dl/files/patch-Makefile index c384d05..01d1862 100644 --- a/www/youtube_dl/files/patch-Makefile +++ b/www/youtube_dl/files/patch-Makefile @@ -1,9 +1,9 @@ ---- Makefile.orig 2013-10-17 06:55:06.000000000 +0800 -+++ Makefile 2013-10-26 18:28:59.588795031 +0800 +--- Makefile.orig 2014-09-14 17:48:07.000000000 +0300 ++++ Makefile 2014-09-17 17:53:58.000000000 +0300 @@ -10,17 +10,7 @@ - BINDIR=$(PREFIX)/bin - MANDIR=$(PREFIX)/man - PYTHON=/usr/bin/env python + BINDIR ?= $(PREFIX)/bin + MANDIR ?= $(PREFIX)/man + PYTHON ?= /usr/bin/env python - -# set SYSCONFDIR to /etc if PREFIX=/usr or PREFIX=/usr/local -ifeq ($(PREFIX),/usr) diff --git a/www/youtube_dl/files/patch-youtube_dl____init__.py b/www/youtube_dl/files/patch-youtube_dl____init__.py index 3682fe1..79dff3b 100644 --- a/www/youtube_dl/files/patch-youtube_dl____init__.py +++ b/www/youtube_dl/files/patch-youtube_dl____init__.py @@ -1,6 +1,6 @@ ---- youtube_dl/__init__.py.orig 2014-07-29 23:18:51.000000000 +0800 -+++ youtube_dl/__init__.py 2014-07-31 01:10:45.923443081 +0800 -@@ -97,7 +97,6 @@ +--- youtube_dl/__init__.py.orig 2014-09-17 00:03:32.000000000 +0300 ++++ youtube_dl/__init__.py 2014-09-17 17:54:22.000000000 +0300 +@@ -106,7 +106,6 @@ std_headers, write_string, ) @@ -8,18 +8,9 @@ from .downloader import ( FileDownloader, ) -@@ -230,8 +229,6 @@ - action='help', help='print this help text and exit') - general.add_option('-v', '--version', - action='version', help='print program version and exit') -- general.add_option('-U', '--update', -- 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)') - general.add_option('-i', '--ignore-errors', - action='store_true', dest='ignoreerrors', help='continue on download errors, for example to skip unavailable videos in a playlist', default=False) - general.add_option('--abort-on-error', -@@ -844,10 +841,6 @@ - ydl.add_post_processor(FFmpegAudioFixPP()) - ydl.add_post_processor(AtomicParsleyPP()) +@@ -397,17 +396,13 @@ + ydl.add_post_processor(ExecAfterDownloadPP( + verboseOutput=opts.verbose, exec_cmd=opts.exec_cmd)) - # Update version - if opts.update_self: @@ -27,8 +18,7 @@ - # Remove cache dir if opts.rm_cachedir: - if opts.cachedir is None: -@@ -867,7 +860,7 @@ + ydl.cache.remove() # Maybe do nothing if (len(all_urls) < 1) and (opts.load_info_filename is None):