1 | # $Id: Portfile 513 2007-12-18 03:46:05Z ecronin $ |
---|
2 | |
---|
3 | # -*- 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 |
---|
4 | |
---|
5 | PortSystem 1.0 |
---|
6 | |
---|
7 | name tablet-encode |
---|
8 | version 2.16 |
---|
9 | categories multimedia |
---|
10 | maintainers gizmolabs.org:ecronin |
---|
11 | platforms darwin |
---|
12 | description Transcoding video files for Nokia Internet Tablets |
---|
13 | long_description \ |
---|
14 | As the Nokia Internet Tablets have relatively slow \ |
---|
15 | processors, and relatively little storage space it is \ |
---|
16 | a good idea to "transcode" your videos to a smaller, \ |
---|
17 | more suitable format for watching them. |
---|
18 | homepage http://mediautils.garage.maemo.org/tablet-encode.html |
---|
19 | master_sites https://garage.maemo.org/frs/download.php/2853 |
---|
20 | livecheck.check regex |
---|
21 | livecheck.url https://garage.maemo.org/frs/?group_id=455 |
---|
22 | livecheck.regex tablet-encode-\(\[0-9\]+\.\[0-9\]+\)\.tar\.gz |
---|
23 | checksums md5 e737d5bbc3a7b6d369c5c6c5b148cc9b \ |
---|
24 | sha1 e1512feb2ec5d82144872c587f73e0c62e429161 \ |
---|
25 | rmd160 e1785a774f8553c931f1fca74e261b29c1f7bec7 |
---|
26 | worksrcdir ${name} |
---|
27 | |
---|
28 | depends_run port:perl5.8 port:mplayer |
---|
29 | |
---|
30 | variant gui \ |
---|
31 | description {GTK2 Graphical User Interface} { |
---|
32 | depends_run-append port:p5-gtk2 |
---|
33 | } |
---|
34 | |
---|
35 | post-patch { |
---|
36 | reinplace "s|/usr/bin/perl|${prefix}/bin/perl|g" \ |
---|
37 | ${worksrcpath}/tablet-encode |
---|
38 | } |
---|
39 | |
---|
40 | configure {} |
---|
41 | |
---|
42 | build {} |
---|
43 | |
---|
44 | destroot { |
---|
45 | xinstall -m 755 ${worksrcpath}/tablet-encode \ |
---|
46 | ${destroot}${prefix}/bin/tablet-encode |
---|
47 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} |
---|
48 | xinstall -m 644 ${worksrcpath}/README.txt \ |
---|
49 | ${destroot}${prefix}/share/doc/${name}/README.txt |
---|
50 | } |
---|