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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name mkvtoolnix |
---|
7 | version 2.7.0 |
---|
8 | categories multimedia |
---|
9 | maintainers <nomaintainer> |
---|
10 | description Matroska media files manipulation tools. |
---|
11 | long_description mkvtoolnix will evolve to a set of tools to create, \ |
---|
12 | alter and inspect Matroska files under Linux and other \ |
---|
13 | Unices, just what the OGMtools do for the OGM format. |
---|
14 | homepage http://www.bunkus.org/videotools/mkvtoolnix/ |
---|
15 | platforms darwin |
---|
16 | master_sites ${homepage}sources/ |
---|
17 | use_bzip2 yes |
---|
18 | checksums md5 68448f25eeb1e65384de4979cfdc8ac9 \ |
---|
19 | sha1 d444986d68f1bc243cc6443b3e37f8c0d6d3a670 \ |
---|
20 | rmd160 b068108ef81fd6d0ea9143a9c460dff281dd2ef1 |
---|
21 | depends_lib port:boost \ |
---|
22 | port:expat \ |
---|
23 | port:libogg \ |
---|
24 | port:libmatroska \ |
---|
25 | port:libvorbis \ |
---|
26 | port:pcre \ |
---|
27 | port:zlib |
---|
28 | configure.args --mandir=${prefix}/share/man \ |
---|
29 | --with-boost-regex=boost_regex-mt \ |
---|
30 | --with-extra-libs=${prefix}/lib \ |
---|
31 | --with-extra-includes=${prefix}/include \ |
---|
32 | --without-flac \ |
---|
33 | --disable-gui \ |
---|
34 | --disable-wxwidgets |
---|
35 | default_variants +flac |
---|
36 | |
---|
37 | variant wxwidgets description {Build with the wxWidgets GUI} { |
---|
38 | depends_lib-append port:wxWidgets |
---|
39 | configure.args-delete \ |
---|
40 | --diable-gui \ |
---|
41 | --disable-wxwidgets |
---|
42 | configure.args-append \ |
---|
43 | --enable-gui \ |
---|
44 | --enable-wxwidgets |
---|
45 | } |
---|
46 | |
---|
47 | variant flac description {FLAC support} { |
---|
48 | depends_lib-append port:flac |
---|
49 | configure.args-delete --without-flac |
---|
50 | configure.args-append --with-flac |
---|
51 | } |
---|
52 | |
---|
53 | variant bzip2 description {bzip2 compression support, zlib is more common} { |
---|
54 | depends_lib-append port:bzip2 |
---|
55 | configure.args-append --enable-bzip2 |
---|
56 | } |
---|
57 | |
---|
58 | variant lzo description {lzo compression support, zlib is more common} { |
---|
59 | depends_lib-append port:lzo |
---|
60 | configure.args-append --enable-lzo |
---|
61 | } |
---|