[81440] trunk/dports/net

ryandesign at macports.org ryandesign at macports.org
Sat Jul 30 15:10:40 PDT 2011


Revision: 81440
          http://trac.macports.org/changeset/81440
Author:   ryandesign at macports.org
Date:     2011-07-30 15:10:38 -0700 (Sat, 30 Jul 2011)
Log Message:
-----------
youtube-dl: new port, version 2011.03.29; see #30469

Added Paths:
-----------
    trunk/dports/net/youtube-dl/
    trunk/dports/net/youtube-dl/Portfile

Added: trunk/dports/net/youtube-dl/Portfile
===================================================================
--- trunk/dports/net/youtube-dl/Portfile	                        (rev 0)
+++ trunk/dports/net/youtube-dl/Portfile	2011-07-30 22:10:38 UTC (rev 81440)
@@ -0,0 +1,42 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+PortGroup           python27 1.0
+
+name                youtube-dl
+version             2011.03.29
+categories          net
+platforms           darwin
+maintainers         ryandesign openmaintainer
+supported_archs     noarch
+license             public-domain
+
+description         command-line program to download videos from YouTube.com and other sites
+
+long_description    ${name} is a small ${description}.
+
+
+
+homepage            http://rg3.github.com/youtube-dl/
+master_sites        https://github.com/rg3/youtube-dl/tarball/${version}
+dist_subdir         ${name}
+
+checksums           sha1    c773a6a58f99316613fb217ddd92bf7153b0c1ca \
+                    rmd160  eab8a97bf731acea53d28b991a36f63a48bf701c
+
+post-extract {
+    move [glob ${workpath}/*] ${worksrcpath}
+}
+
+post-patch {
+    reinplace "s|#!/usr/bin/env python|#!${python.bin}|g" ${worksrcpath}/${name}
+}
+
+use_configure       no
+
+build {}
+
+destroot {
+    copy ${worksrcpath}/${name} ${destroot}${prefix}/bin
+}


Property changes on: trunk/dports/net/youtube-dl/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110730/d24a280d/attachment.html>


More information about the macports-changes mailing list