Ticket #18286: Portfile.9

File Portfile.9, 2.4 KB (added by nerdling (Jeremy Lavergne), 15 years ago)

from portfile.8: fixed ffmpeg, lint

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