source: trunk/dports/multimedia/dvdrip/Portfile

Last change on this file was 151907, checked in by mojca@…, 11 months ago

dvdrip: switch to perl5.24 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.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 151907 2016-08-23 21:57:28Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7name                dvdrip
8perl5.branches      5.24
9perl5.setup         ${name} 0.98.11
10revision            3
11categories          multimedia
12maintainers         nomaintainer
13license             {Artistic-1 GPL}
14
15description         perl front end for transcode
16long_description    dvd::rip is a full featured DVD copy program written in \
17                    Perl. It provides an easy to use but feature-rich Gtk+ GUI \
18                    to control almost all aspects of the ripping and transcoding \
19                    process. It uses the widely known video processing \
20                    swissknife transcode and many other Open Source tools.
21homepage            http://www.exit1.org/dvdrip/
22platforms           darwin
23master_sites        http://www.exit1.org/dvdrip/dist/
24
25checksums           rmd160  008afcecd1eaf6842e907d325b079cc60f4a6b1e \
26                    sha256  586c20968b2daa55c0afaaf334d5b9b8b6896d6ea45078a577e165806858c3a5
27
28depends_lib-append  port:ImageMagick \
29                    port:transcode \
30                    port:p${perl5.major}-anyevent \
31                    port:p${perl5.major}-event \
32                    port:p${perl5.major}-event-execflow \
33                    port:p${perl5.major}-event-rpc \
34                    port:p${perl5.major}-gtk2 \
35                    port:p${perl5.major}-gtk2-ex-formfactory \
36                    port:p${perl5.major}-libintl-perl
37
38# transcode is not universal
39universal_variant   no
40
41# skip installation of bundled dependencies that can conflict with the equivalent ports
42configure.env-append SKIP_UNPACK_REQUIRED_MODULES=1
43
44# mv: dvdrip-splitpipe: No such file or directory
45use_parallel_build  no
46
47build.args          CC="${configure.cc} [get_canonical_archflags cc]"
48
49# make unversioned links to binaries
50perl5.link_binaries_suffix
51
52post-destroot {
53    fs-traverse f ${destroot}${prefix} {
54        if {[file isfile ${f}]} {
55            switch [file tail ${f}] {
56                .packlist -
57                perllocal.pod {
58                    delete ${f}
59                }
60            }
61        }
62    }
63
64    ln -s ${prefix}/libexec/perl${perl5.major}/execflow ${destroot}${prefix}/bin/execflow
65
66    set docdir ${prefix}/share/doc/${subport}
67    xinstall -d ${destroot}${docdir}
68    xinstall -m 644 -W ${worksrcpath} \
69        COPYRIGHT \
70        Changes \
71        Changes.0.46 \
72        Credits \
73        README \
74        TODO \
75        ${destroot}${docdir}
76}
77
78livecheck.type      regex
79livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.