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 5 5 PortGroup perl5 1.0 6 6 PortGroup github 1.0 7 7 8 github.setup get-iplayer get_iplayer 2.9 4v8 github.setup get-iplayer get_iplayer 2.96 v 9 9 categories net multimedia 10 10 platforms darwin 11 11 maintainers gmail.com:davide.liessi openmaintainer … … description A utility for downloading TV and radio from BBC iPlayer 16 16 long_description ${description}. \ 17 17 \nThis port does not install the Web PVR Manager (get_iplayer.cgi). 18 18 19 checksums rmd160 5f43f5840ad2eb6c07a8c95effa5bf1d6f100a6b\20 sha256 06caa8f96ad6fba53c3a7f97400a5701d013d3edee1658a6e0a3cbed4f94ae5719 checksums rmd160 fcf390ad60d337b4b71c665a8eeb2d619d347440 \ 20 sha256 4d675c3da69bca878477649649d6344a4f18defa0c486deef04c76589b391163 21 21 22 22 perl5.require_variant yes 23 23 perl5.conflict_variants yes 24 perl5.branches 5.2 2 5.2424 perl5.branches 5.24 25 25 perl5.create_variants ${perl5.branches} 26 26 27 27 depends_run port:perl${perl5.major} \ 28 28 port:p${perl5.major}-libwww-perl \ 29 29 port:p${perl5.major}-xml-simple \ 30 port:p${perl5.major}-xml-libxml \ 30 31 port:p${perl5.major}-mp3-tag \ 31 32 port:p${perl5.major}-mp3-info \ 32 33 port:p${perl5.major}-net-smtp-tls-butmaintained \ … … destroot { 58 59 59 60 xinstall -d ${destroot}${prefix}/share/doc/${name} 60 61 xinstall -m 644 -W ${worksrcpath} \ 61 CHANGELOG. txt\62 CHANGELOG.md \ 62 63 CONTRIBUTORS \ 63 64 LICENSE.txt \ 64 65 README.md \ 65 66 ${destroot}${prefix}/share/doc/${name} 66 67 xinstall -d ${destroot}${prefix}/share/${name}/plugins68 xinstall -m 644 {*}[glob ${worksrcpath}/plugins/*.plugin] \69 ${destroot}${prefix}/share/${name}/plugins70 xinstall -m 644 ${worksrcpath}/plugins/plugin.template \71 ${destroot}${prefix}/share/${name}/plugins72 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}77 67 } 78 68 79 69 notes-append \