Ticket #18286: Portfile.10

File Portfile.10, 2.3 KB (added by nerdling (Jeremy Lavergne), 15 years ago)

changed ffmpeg to use path, changed jm's name

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$
3
4PortSystem          1.0
5
6name                mlt
7version             20090212
8categories          multimedia
9maintainers         jmpoure
10description         Open source multimedia framework - core libraries
11long_description    MLT is an open source multimedia framework, designed and developed for \
12                    television broadcasting. It provides a toolkit for broadcasters, video \
13                    editors, media players, transcoders, web streamers and many more types of \
14                    applications. The functionality of the system is provided via an assortment \
15                    of ready to use tools, xml authoring components, and an extendible plug-in \
16                    based API. \
17                    \
18                    This package contains the files necessary for running applications that use \
19                    the MLT multimedia framework.
20homepage            http://www.mltframework.org
21platforms           darwin
22
23fetch.type          svn
24svn.url             http://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt
25svn.tag             1351
26worksrcdir          mlt
27
28depends_build       port:pkgconfig \
29                    port:subversion \
30                    port:doxygen
31
32depends_lib         port:atk \
33                    port:frei0r-plugins \
34                    path:lib/libavcodec.dylib:ffmpeg \
35                    port:gtk2 \
36                    port:libdv \
37                    port:libsamplerate \
38                    port:libsdl \
39                    port:libvorbis \
40                    port:qt4-mac \
41                    port:sox
42
43configure.args      --enable-gpl \
44                    --qimage-libdir=/opt/local/libexec/qt4-mac/lib \
45                    --qimage-includedir=/opt/local/libexec/qt4-mac/include/Qt \
46                    --avformat-swscale \
47                    --disable-jackrack
48
49configure.pkg_config_path   ${prefix}/lib/pkgconfig:${prefix}/libexec/qt4-mac/lib/pkgconfig
50configure.pkg_config        ${prefix}/bin/pkg-config
51
52configure.cflags-append     "-I${prefix}/include"
53configure.cflags-append     "-I${prefix}/libexec/qt4-mac/include"
54configure.ldflags-append    "-L${prefix}/lib"
55build.env                   CFLAGS="${configure.cflags}" LDFLAGS="${configure.ldflags}"
56