[100611] trunk/dports/net/youtube-dl/Portfile
and.damore at macports.org
and.damore at macports.org
Mon Dec 17 12:53:34 PST 2012
Revision: 100611
https://trac.macports.org/changeset/100611
Author: and.damore at macports.org
Date: 2012-12-17 12:53:34 -0800 (Mon, 17 Dec 2012)
Log Message:
-----------
port youtube-dl: currently broken from last update, it was trying to selfupdate the binary in $prefix; openmaintainer
Modified Paths:
--------------
trunk/dports/net/youtube-dl/Portfile
Modified: trunk/dports/net/youtube-dl/Portfile
===================================================================
--- trunk/dports/net/youtube-dl/Portfile 2012-12-17 20:41:49 UTC (rev 100610)
+++ trunk/dports/net/youtube-dl/Portfile 2012-12-17 20:53:34 UTC (rev 100611)
@@ -5,6 +5,7 @@
PortGroup github 1.0
github.setup rg3 youtube-dl 2012.12.11
+revision 1
categories net
platforms darwin
maintainers ryandesign openmaintainer
@@ -17,13 +18,22 @@
homepage http://rg3.github.com/youtube-dl/
-checksums rmd160 31152ff33836e72b40fe9ed6196d531f96cce9f2 \
- sha256 b3611b852a9c8f845121610a78e9db7fd1d9fdbdb7f583c38b04a578953f36e4
+checksums youtube-dl-2012.12.11.tar.gz \
+ rmd160 31152ff33836e72b40fe9ed6196d531f96cce9f2 \
+ sha256 b3611b852a9c8f845121610a78e9db7fd1d9fdbdb7f583c38b04a578953f36e4 \
+ youtube-dl \
+ rmd160 b576bf628a2567a6e26de3a75fdc42fbf01857b3 \
+ sha256 e2109ac82b05f910828a12b2de0d8e5d3b29b0ed9e2daeb68badb1fce8c1ec7a
depends_build bin:zip:zip
depends_run port:python27
+# NOTE: this is going away soon - Github download API is deprecated cf. https://github.com/blog/1302-goodbye-uploads
+master_sites-append http://cloud.github.com/downloads/rg3/${name}:actual_script
+distfiles-append ${name}:actual_script
+worksrcdir rg3-youtube-dl-7a13130
+
post-patch {
reinplace "s|#!/usr/bin/env python|#!${prefix}/bin/python2.7|g" ${worksrcpath}/Makefile
}
@@ -38,4 +48,5 @@
set docdir ${prefix}/share/doc/${name}
xinstall -d ${destroot}${docdir}
xinstall -m 644 -W ${worksrcpath} README.md ${destroot}${docdir}
+ xinstall -m 755 ${distpath}/youtube-dl ${destroot}${prefix}/bin/youtube-dl
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121217/240a31e3/attachment.html>
More information about the macports-changes
mailing list