[88929] trunk/dports/net/youtube-dl/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Jan 14 22:27:14 PST 2012


Revision: 88929
          http://trac.macports.org/changeset/88929
Author:   ryandesign at macports.org
Date:     2012-01-14 22:27:13 -0800 (Sat, 14 Jan 2012)
Log Message:
-----------
youtube-dl: use github portgroup

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

Modified: trunk/dports/net/youtube-dl/Portfile
===================================================================
--- trunk/dports/net/youtube-dl/Portfile	2012-01-15 06:26:54 UTC (rev 88928)
+++ trunk/dports/net/youtube-dl/Portfile	2012-01-15 06:27:13 UTC (rev 88929)
@@ -2,10 +2,10 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           github 1.0
 PortGroup           python27 1.0
 
-name                youtube-dl
-version             2012.01.08
+github.setup        rg3 youtube-dl 2012.01.08
 categories          net
 platforms           darwin
 maintainers         ryandesign openmaintainer
@@ -17,16 +17,11 @@
 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           rmd160  1b249b63972abdd9dfcabfced83d3953fef9f959 \
                     sha256  9655ac2d0a161502ae7da51bf1fdba769fe4f81dd587ee13e6e306fc6136defb
 
-post-extract {
-    move [glob ${workpath}/*] ${worksrcpath}
-}
-
 post-patch {
     reinplace "s|#!/usr/bin/env python|#!${python.bin}|g" ${worksrcpath}/${name}
 }
@@ -41,7 +36,3 @@
     xinstall -d ${docdir}
     copy ${worksrcpath}/README.md ${docdir}
 }
-
-livecheck.type      regex
-livecheck.url       ${homepage}download.html
-livecheck.regex     {raw/([0-9.]+)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120114/220c3f13/attachment.html>


More information about the macports-changes mailing list