source: trunk/dports/net/youtube-upload/Portfile

Last change on this file was 136000, checked in by ryandesign@…, 2 years ago

youtube-upload: update to 0.8.0

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- 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
2# $Id: Portfile 136000 2015-05-09 09:58:05Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6PortGroup           python 1.0
7
8github.setup        tokland youtube-upload 0.8.0
9categories          net
10platforms           darwin
11maintainers         ryandesign openmaintainer
12license             GPL-3+
13supported_archs     noarch
14
15description         script to upload videos to YouTube
16
17long_description    ${name} is a command-line script that uploads videos to \
18                    YouTube.
19
20checksums           rmd160  f8c72d83736e54765afd72e60124e340b2cb9754 \
21                    sha256  86fe582ceaac9e5de0bdba2e95afad3b7a9dd4dc9f17295d70bc164e68f8aef3
22
23post-destroot {
24    set docdir ${prefix}/share/doc/${subport}/
25    xinstall -d ${destroot}${docdir}
26    xinstall -m 644 -W ${worksrcpath} \
27        CHANGELOG \
28        README.md \
29        ${destroot}${docdir}
30    # https://trac.macports.org/ticket/47687
31    delete ${destroot}${docdir}/examples
32    copy ${worksrcpath}/examples ${destroot}${docdir}
33}
34
35if {![variant_isset python26] && ![variant_isset python27]} {
36    default_variants +python27
37}
38
39variant python26 conflicts python27 description {Use python26} {}
40if {[variant_isset python26]} {
41    python.default_version  26
42}
43
44variant python27 conflicts python26 description {Use python27} {}
45if {[variant_isset python27]} {
46    python.default_version  27
47}
48
49depends_lib-append  port:py${python.version}-curl \
50                    port:py${python.version}-gdata \
51                    port:py${python.version}-progressbar
Note: See TracBrowser for help on using the repository browser.