source: trunk/dports/multimedia/subtitleripper/Portfile

Last change on this file was 115019, checked in by ryandesign@…, 4 years ago

revbump ports depending on libpng following libpng 1.6.x update (#41842)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.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 115019 2013-12-22 09:29:46Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                subtitleripper
7version             0.3-4
8revision            3
9categories          multimedia
10platforms           darwin
11maintainers         shortround.net:stephen
12
13description         DVD subtitle ripper
14
15long_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
19homepage            http://subtitleripper.sourceforge.net/
20master_sites        sourceforge
21extract.suffix      .tgz
22worksrcdir          ${name}
23
24checksums           sha1    d93ff3578dd5f722c8f4ef16bc0903eec5781a0d \
25                    rmd160  141355960773ab2dfe3782522858273d197cf797
26
27depends_lib         port:netpbm \
28                    port:libpng \
29                    port:transcode
30
31patchfiles          Makefile.patch
32
33use_configure       no
34
35set defines ""
36if {${os.platform} eq "darwin" && ${os.major} >= 11} {
37    set defines -DHAVE_GETLINE
38}
39
40build.env           DEFINES="${defines}" \
41                    INCLUDES="${configure.cppflags} -I${prefix}/include/netpbm" \
42                    LDFLAGS="${configure.ldflags} ${configure.ld_archflags}"
43build.args          CC="${configure.cc}" \
44                    COPT="${configure.cflags} ${configure.cc_archflags}"
45
46destroot {
47    xinstall -W ${worksrcpath} \
48        srttool \
49        subtitle2pgm \
50        subtitle2vobsub \
51        vobsub2pgm \
52        ${destroot}${prefix}/bin
53}
Note: See TracBrowser for help on using the repository browser.