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 76432 2011-02-23 05:33:36Z ryandesign@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name subtitleripper |
---|
7 | version 0.3-4 |
---|
8 | revision 1 |
---|
9 | categories multimedia |
---|
10 | platforms darwin |
---|
11 | maintainers shortround.net:stephen |
---|
12 | |
---|
13 | description DVD subtitle ripper |
---|
14 | |
---|
15 | long_description If you want to convert DVD subtitles into text format \ |
---|
16 | (e.g. subrip format) or VobSub format this program could \ |
---|
17 | be useful for you. |
---|
18 | |
---|
19 | homepage http://subtitleripper.sourceforge.net/ |
---|
20 | master_sites sourceforge |
---|
21 | extract.suffix .tgz |
---|
22 | worksrcdir ${name} |
---|
23 | |
---|
24 | checksums sha1 d93ff3578dd5f722c8f4ef16bc0903eec5781a0d \ |
---|
25 | rmd160 141355960773ab2dfe3782522858273d197cf797 |
---|
26 | |
---|
27 | depends_lib port:netpbm \ |
---|
28 | port:libpng \ |
---|
29 | port:transcode |
---|
30 | |
---|
31 | use_configure no |
---|
32 | |
---|
33 | build.args CC="${configure.cc} ${configure.cc_archflags}" \ |
---|
34 | CFLAGS="${configure.cflags}" \ |
---|
35 | LDFLAGS="${configure.ldflags}" |
---|
36 | |
---|
37 | platform darwin 11 { |
---|
38 | build.args CC="${configure.cc} ${configure.cc_archflags}" \ |
---|
39 | CFLAGS="${configure.cflags} -DHAVE_GETLINE" \ |
---|
40 | LDFLAGS="${configure.ldflags}" |
---|
41 | } |
---|
42 | |
---|
43 | destroot { |
---|
44 | xinstall -W ${worksrcpath} \ |
---|
45 | srttool \ |
---|
46 | subtitle2pgm \ |
---|
47 | subtitle2vobsub \ |
---|
48 | vobsub2pgm \ |
---|
49 | ${destroot}${prefix}/bin |
---|
50 | } |
---|