Ticket #52105: Portfile-get_iplayer.diff

File Portfile-get_iplayer.diff, 2.2 KB (added by dliessi (Davide Liessi), 8 years ago)
  • Portfile

    old new PortSystem 1.0 
    55PortGroup           perl5 1.0
    66PortGroup           github 1.0
    77
    8 github.setup        get-iplayer get_iplayer 2.94 v
     8github.setup        get-iplayer get_iplayer 2.96 v
    99categories          net multimedia
    1010platforms           darwin
    1111maintainers         gmail.com:davide.liessi openmaintainer
    description A utility for downloading TV and radio from BBC iPlayer 
    1616long_description    ${description}. \
    1717                    \nThis port does not install the Web PVR Manager (get_iplayer.cgi).
    1818
    19 checksums           rmd160  5f43f5840ad2eb6c07a8c95effa5bf1d6f100a6b \
    20                     sha256  06caa8f96ad6fba53c3a7f97400a5701d013d3edee1658a6e0a3cbed4f94ae57
     19checksums           rmd160  fcf390ad60d337b4b71c665a8eeb2d619d347440 \
     20                    sha256  4d675c3da69bca878477649649d6344a4f18defa0c486deef04c76589b391163
    2121
    2222perl5.require_variant   yes
    2323perl5.conflict_variants yes
    24 perl5.branches          5.22 5.24
     24perl5.branches          5.24
    2525perl5.create_variants   ${perl5.branches}
    2626
    2727depends_run         port:perl${perl5.major} \
    2828                    port:p${perl5.major}-libwww-perl \
    2929                    port:p${perl5.major}-xml-simple \
     30                    port:p${perl5.major}-xml-libxml \
    3031                    port:p${perl5.major}-mp3-tag \
    3132                    port:p${perl5.major}-mp3-info \
    3233                    port:p${perl5.major}-net-smtp-tls-butmaintained \
    destroot { 
    5859
    5960    xinstall -d ${destroot}${prefix}/share/doc/${name}
    6061    xinstall -m 644 -W ${worksrcpath} \
    61         CHANGELOG.txt \
     62        CHANGELOG.md \
    6263        CONTRIBUTORS \
    6364        LICENSE.txt \
    6465        README.md \
    6566        ${destroot}${prefix}/share/doc/${name}
    66 
    67     xinstall -d ${destroot}${prefix}/share/${name}/plugins
    68     xinstall -m 644 {*}[glob ${worksrcpath}/plugins/*.plugin] \
    69         ${destroot}${prefix}/share/${name}/plugins
    70     xinstall -m 644 ${worksrcpath}/plugins/plugin.template \
    71         ${destroot}${prefix}/share/${name}/plugins
    72 
    73     xinstall -d ${destroot}${prefix}/etc/${name}
    74     set optionsfile [open ${destroot}${prefix}/etc/${name}/options w]
    75     puts ${optionsfile} "packagemanager MacPorts"
    76     close ${optionsfile}
    7767}
    7868
    7969notes-append \