ports/183103: [PATCH] www/youtube_dl: update to 2013.10.15

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Oct 19 16:30:00 UTC 2013


>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 at 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:


More information about the freebsd-ports-bugs mailing list