source: trunk/dports/multimedia/tablet-encode/Portfile

Last change on this file was 151846, checked in by mojca@…, 13 months ago

tablet-encode: switch to perl5.24

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 151846 2016-08-23 12:15:30Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7name                tablet-encode
8license             Artistic-1
9version             2.30
10revision            3
11categories          multimedia
12maintainers         nomaintainer
13platforms           darwin
14description         Transcoding video files for Nokia Internet Tablets
15long_description    As the Nokia Internet Tablets have relatively slow \
16                    processors, and relatively little storage space it is \
17                    a good idea to "transcode" your videos to a smaller, \
18                    more suitable format for watching them.
19homepage            http://mediautils.garage.maemo.org/tablet-encode.html
20master_sites        https://garage.maemo.org/frs/download.php/6892
21
22checksums           rmd160  71aa43d56df5c70484dda3dd882033e8639ae8e0 \
23                    sha256  ce1f413c111429db14f41ca611297896357065d0934b7dce9e341a77e178f557
24
25perl5.branches      5.24
26
27depends_run         port:perl${perl5.major} \
28                    path:bin/mplayer:mplayer-devel
29
30variant gui description {GTK2 Graphical User Interface} {
31    depends_run-append  port:p${perl5.major}-gtk2
32}
33
34post-patch {
35    reinplace "s|/usr/bin/perl|${perl5.bin}|g" \
36        ${worksrcpath}/tablet-encode
37}
38
39use_configure   no
40
41build           {}
42
43destroot {
44    xinstall -m 755 ${worksrcpath}/tablet-encode \
45        ${destroot}${prefix}/bin/tablet-encode
46    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
47    xinstall -m 644 ${worksrcpath}/README.txt \
48        ${destroot}${prefix}/share/doc/${name}/README.txt
49}
50
51livecheck.type      regex
52livecheck.url       https://garage.maemo.org/frs/?group_id=455
53livecheck.regex     tablet-encode-\(\[0-9\]+\.\[0-9\]+\)\.tar\.gz
Note: See TracBrowser for help on using the repository browser.