From owner-svn-ports-head@FreeBSD.ORG Mon Dec 17 09:34:33 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 20B835D7; Mon, 17 Dec 2012 09:34:33 +0000 (UTC) (envelope-from araujo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 03A008FC12; Mon, 17 Dec 2012 09:34:33 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBH9YW9d059068; Mon, 17 Dec 2012 09:34:32 GMT (envelope-from araujo@svn.freebsd.org) Received: (from araujo@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBH9YW48059066; Mon, 17 Dec 2012 09:34:32 GMT (envelope-from araujo@svn.freebsd.org) Message-Id: <201212170934.qBH9YW48059066@svn.freebsd.org> From: Marcelo Araujo Date: Mon, 17 Dec 2012 09:34:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309073 - head/www/youtube_dl X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 09:34:33 -0000 Author: araujo Date: Mon Dec 17 09:34:32 2012 New Revision: 309073 URL: http://svnweb.freebsd.org/changeset/ports/309073 Log: - Update to 2012.12.11. - Convert to OptionsNG. PR: ports/174455 Submitted by: Po-Chien Lin Modified: head/www/youtube_dl/Makefile (contents, props changed) head/www/youtube_dl/distinfo (contents, props changed) Modified: head/www/youtube_dl/Makefile ============================================================================== --- head/www/youtube_dl/Makefile Mon Dec 17 09:25:41 2012 (r309072) +++ head/www/youtube_dl/Makefile Mon Dec 17 09:34:32 2012 (r309073) @@ -1,12 +1,11 @@ # $FreeBSD$ PORTNAME= youtube_dl -PORTVERSION= 2012.09.27 +PORTVERSION= 2012.12.11 CATEGORIES= www -MASTER_SITES= GH \ +MASTER_SITES= https://cloud.github.com/downloads/rg3/youtube-dl/ \ CRITICAL - -EXTRACT_SUFX= # empty +DISTNAME= youtube-dl.${PORTVERSION} MAINTAINER= araujo@FreeBSD.org COMMENT= A program for downloading videos from YouTube.com @@ -16,24 +15,31 @@ LICENSE= GPLv2 BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip USE_PYTHON_RUN= 2.6-2.7 -ALL_TARGET= compile -USE_GITHUB= yes -GH_ACCOUNT= rg3 -GH_PROJECT= youtube-dl -GH_COMMIT= b5de8af +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 -OPTIONS= RTMPDUMP "Use RTMPDUMP to download rtmp video streams" on \ - FFMPEG "Use ffmpeg (required for audio conversion)" off +WRKSRC= ${WRKDIR}/youtube-dl .include -.if defined(WITH_RTMPDUMP) +.if ${PORT_OPTIONS:MRTMPDUMP} RUN_DEPENDS+= rtmpdump:${PORTSDIR}/multimedia/rtmpdump .endif -.if defined(WITH_FFMPEG) +.if ${PORT_OPTIONS:MBASH} +ALL_TARGET+= youtube-dl.bash-completion +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 @@ -44,8 +50,14 @@ RUN_DEPENDS+= ffprobe:${PORTSDIR}/multim 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 defined(WITH_FFMPEG) +.if ${PORT_OPTIONS:MFFMPEG} post-install: @${CAT} ${PKGMESSAGE} .endif Modified: head/www/youtube_dl/distinfo ============================================================================== --- head/www/youtube_dl/distinfo Mon Dec 17 09:25:41 2012 (r309072) +++ head/www/youtube_dl/distinfo Mon Dec 17 09:34:32 2012 (r309073) @@ -1,2 +1,2 @@ -SHA256 (youtube_dl-2012.09.27) = 45e88c1a5b81e633bddd43d5363e7ade92af2eeb534c37a5170f4b68d73605ea -SIZE (youtube_dl-2012.09.27) = 2874838 +SHA256 (youtube-dl.2012.12.11.tar.gz) = b6d259c60fefba76701ea0ea7b34c99169fc2644ce1d89ad10213a70d11ffb0f +SIZE (youtube-dl.2012.12.11.tar.gz) = 120301