Date: Sun, 20 Oct 2013 00:25:06 +0800 (CST) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: FreeBSD-gnats-submit@freebsd.org Cc: araujo@FreeBSD.org Subject: ports/183103: [PATCH] www/youtube_dl: update to 2013.10.15 Message-ID: <20131019162506.3F75B46BE@sunpoet.net> Resent-Message-ID: <201310191630.r9JGU0Da008501@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 183103 >Category: ports >Synopsis: [PATCH] www/youtube_dl: update to 2013.10.15 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Oct 19 16:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Sunpoet Po-Chuan Hsieh >Release: FreeBSD 10.0-BETA1 amd64 >Organization: The FreeBSD Project >Environment: System: FreeBSD bonjour.sunpoet.net 10.0-BETA1 FreeBSD 10.0-BETA1 #0 r256445: Tue Oct 15 04:48:04 CST >Description: - Update to 2013.10.15 - Convert to new options helper - Support STAGEDIR Port maintainer (araujo@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99_8 (mode: update, diff: SVN) >How-To-Repeat: >Fix: --- youtube_dl-2013.10.15.patch begins here --- Index: Makefile =================================================================== --- Makefile (revision 330904) +++ Makefile (working copy) @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= youtube_dl -PORTVERSION= 2013.09.24.2 -PORTREVISION= 1 +PORTVERSION= 2013.10.15 CATEGORIES= www MASTER_SITES= http://youtube-dl.org/downloads/${PORTVERSION}/ \ http://ftp.de.netbsd.org/pub/unix/Linux/MIRROR.gentoo/distfiles/ @@ -32,32 +31,25 @@ WRKSRC= ${WRKDIR}/youtube-dl -.include <bsd.port.options.mk> +BASH_PLIST_FILES= etc/bash_completion.d/youtube-dl.sh +RTMPDUMP_RUN_DEPENDS= ${LOCALBASE}/bin/rtmpdump:${PORTSDIR}/multimedia/rtmpdump -.if ${PORT_OPTIONS:MRTMPDUMP} -RUN_DEPENDS+= rtmpdump:${PORTSDIR}/multimedia/rtmpdump +# allow either multimedia/ffmpeg or multimedia/ffmpeg-devel +.if exists(${LOCALBASE}/include/libavcodec/vda.h) +FFMPEG_RUN_DEPENDS= ${LOCALBASE}/bin/ffprobe:${PORTSDIR}/multimedia/ffmpeg-devel +.else +FFMPEG_RUN_DEPENDS= ${LOCALBASE}/bin/ffprobe:${PORTSDIR}/multimedia/ffmpeg .endif -.if ${PORT_OPTIONS:MBASH} -PLIST_FILES+= etc/bash_completion.d/youtube-dl.sh -.endif +.include <bsd.port.options.mk> -.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 ${STAGEDIR}${PREFIX}/bin/youtube-dl - @${INSTALL_DATA} ${WRKSRC}/youtube-dl.1 ${STAGEDIR}${PREFIX}/man/man1 + ${INSTALL_SCRIPT} ${WRKSRC}/youtube-dl ${STAGEDIR}${PREFIX}/bin/youtube-dl + ${INSTALL_DATA} ${WRKSRC}/youtube-dl.1 ${STAGEDIR}${PREFIX}/man/man1/ .if ${PORT_OPTIONS:MBASH} ${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${INSTALL_DATA} ${WRKSRC}/youtube-dl.bash-completion \ @@ -64,9 +56,4 @@ ${STAGEDIR}${PREFIX}/etc/bash_completion.d/youtube-dl.sh .endif -.if ${PORT_OPTIONS:MFFMPEG} -post-install: - @${CAT} ${PKGMESSAGE} -.endif - .include <bsd.port.mk> Index: distinfo =================================================================== --- distinfo (revision 330904) +++ distinfo (working copy) @@ -1,2 +1,2 @@ -SHA256 (youtube-dl-2013.09.24.2.tar.gz) = 0ff095bd09f30c7c77758f6a74feaf163b88b06eefed5b865caedcf4623f7708 -SIZE (youtube-dl-2013.09.24.2.tar.gz) = 392769 +SHA256 (youtube-dl-2013.10.15.tar.gz) = f09a629f2d16f591413e9c1bcf62de3188792b638ae8bec005a0fa002404d717 +SIZE (youtube-dl-2013.10.15.tar.gz) = 1224060 --- youtube_dl-2013.10.15.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131019162506.3F75B46BE>