Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Aug 2006 10:31:51 GMT
From:      Pankov Pavel <pankov_p@mail.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/101912: New port: www/youtube_dl A program for downloading videos from YouTube.com
Message-ID:  <200608121031.k7CAVpBO052227@www.freebsd.org>
Resent-Message-ID: <200608121040.k7CAeGhc002448@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         101912
>Category:       ports
>Synopsis:       New port: www/youtube_dl A program for downloading videos from YouTube.com
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 12 10:40:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Pankov Pavel
>Release:        6.1-RELEASE/i386
>Organization:
MPEI
>Environment:
FreeBSD fb.home 6.1-RELEASE FreeBSD 6.1-RELEASE #1: Wed May 10 18:19:01 MSD 2006     pankovpv@fb.home:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
youtube-dl is a small command-line program for downloading videos
from YouTube.com.

WWW: http://www.arrakis.es/~rggi3/youtube-dl/
>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#       www/youtube_dl
#       www/youtube_dl/pkg-descr
#       www/youtube_dl/Makefile
#       www/youtube_dl/distinfo
#       www/youtube_dl/files
#       www/youtube_dl/files/patch-youtube-dl
#
echo c - www/youtube_dl
mkdir -p www/youtube_dl > /dev/null 2>&1
echo x - www/youtube_dl/pkg-descr
sed 's/^X//' >www/youtube_dl/pkg-descr << 'END-of-www/youtube_dl/pkg-descr'
Xyoutube-dl is a small command-line program for downloading videos
Xfrom YouTube.com.
X
XWWW: http://www.arrakis.es/~rggi3/youtube-dl/
END-of-www/youtube_dl/pkg-descr
echo x - www/youtube_dl/Makefile
sed 's/^X//' >www/youtube_dl/Makefile << 'END-of-www/youtube_dl/Makefile'
X# New ports collection makefile for:   youtube_dl
X# Date created:                2006-08-12
X# Whom:                        Pankov Pavel <pankov_p@mail.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=      youtube_dl
XPORTVERSION=   2006.08.11
XCATEGORIES=    www
XMASTER_SITES=  http://www.arrakis.es/~rggi3/youtube-dl/
XDISTFILES=     youtube-dl
XEXTRACT_ONLY=
X
XMAINTAINER=    pankov_p@mail.ru
XCOMMENT=       A program for downloading videos from YouTube.com
X
XNO_WRKSUBDIR=  yes
XNO_BUILD=      yes
X
XUSE_PYTHON=    2.4+
X
XPLIST_FILES=   bin/youtube-dl
X
Xpost-extract:
X       @${CP} ${DISTDIR}/youtube-dl ${WRKSRC}/youtube-dl
X
Xpost-patch:
X       @${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|g' ${WRKSRC}/youtube-dl
X
Xdo-install:
X       @${INSTALL_SCRIPT} ${WRKSRC}/youtube-dl ${TARGETDIR}/bin/youtube-dl
X
X.include <bsd.port.mk>
END-of-www/youtube_dl/Makefile
echo x - www/youtube_dl/distinfo
sed 's/^X//' >www/youtube_dl/distinfo << 'END-of-www/youtube_dl/distinfo'
XMD5 (youtube-dl) = faae21b5ffaa31a6ee5f06b77226d4ed
XSHA256 (youtube-dl) = 1d66a2ace674cec775cc58266343fca0b0729b3c0b5b1d6cbeaa4f6e3b5f9139
XSIZE (youtube-dl) = 9673
END-of-www/youtube_dl/distinfo
echo c - www/youtube_dl/files
mkdir -p www/youtube_dl/files > /dev/null 2>&1
echo x - www/youtube_dl/files/patch-youtube-dl
sed 's/^X//' >www/youtube_dl/files/patch-youtube-dl << 'END-of-www/youtube_dl/files/patch-youtube-dl'
X--- youtube-dl-orig    Fri Aug 11 01:00:08 2006
X+++ youtube-dl Sat Aug 12 13:46:38 2006
X@@ -1,4 +1,4 @@
X-#!/usr/bin/env python
X+#!%%PYTHON_CMD%%
X #
X # Copyright (c) 2006 Ricardo Garcia Gonzalez
X #
END-of-www/youtube_dl/files/patch-youtube-dl
exit
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608121031.k7CAVpBO052227>