[72609] trunk/dports/multimedia/mlt/Portfile
michaelld at macports.org
michaelld at macports.org
Thu Oct 21 05:44:50 PDT 2010
Revision: 72609
http://trac.macports.org/changeset/72609
Author: michaelld at macports.org
Date: 2010-10-21 05:44:48 -0700 (Thu, 21 Oct 2010)
Log Message:
-----------
Changes to use qt4 portgroup.
Modified Paths:
--------------
trunk/dports/multimedia/mlt/Portfile
Modified: trunk/dports/multimedia/mlt/Portfile
===================================================================
--- trunk/dports/multimedia/mlt/Portfile 2010-10-21 12:44:20 UTC (rev 72608)
+++ trunk/dports/multimedia/mlt/Portfile 2010-10-21 12:44:48 UTC (rev 72609)
@@ -2,9 +2,10 @@
# $Id$
PortSystem 1.0
+PortGroup qt4 1.0
name mlt
-epoch 1
+epoch 2
version 0.5.10
categories multimedia
maintainers dennedy.org:dan
@@ -28,11 +29,10 @@
# ffmpeg-devel is not universal
universal_variant no
-depends_build port:pkgconfig \
- port:git-core \
+depends_build-append port:git-core \
port:doxygen
-depends_lib port:atk \
+depends_lib-append port:atk \
port:frei0r-plugins \
path:lib/libavcodec.dylib:ffmpeg \
port:gtk2 \
@@ -40,12 +40,11 @@
port:libsamplerate \
path:lib/pkgconfig/sdl.pc:libsdl \
port:libvorbis \
- port:qt4-mac \
port:sox
configure.args --enable-gpl \
- --qimage-libdir=${prefix}/libexec/qt4-mac/lib \
- --qimage-includedir=${prefix}/libexec/qt4-mac/include/Qt \
+ --qimage-libdir=${qt_libs_dir} \
+ --qimage-includedir=${qt_includes_dir}/Qt \
--disable-jackrack \
--disable-mmx
@@ -55,15 +54,12 @@
}
}
-configure.pkg_config_path ${prefix}/lib/pkgconfig:${prefix}/libexec/qt4-mac/lib/pkgconfig
-configure.pkg_config ${prefix}/bin/pkg-config
-
configure.cflags-append "-I${prefix}/include"
-configure.cflags-append "-I${prefix}/libexec/qt4-mac/include"
+configure.cflags-append "-I${qt_includes_dir}"
configure.ldflags-delete "-L${prefix}/lib"
configure.ldflags-append "-L${worksrcpath}/src/framework"
configure.ldflags-append "-L${prefix}/lib"
-build.env CFLAGS="${configure.cflags}" LDFLAGS="${configure.ldflags}"
+build.env-append CFLAGS="${configure.cflags}" LDFLAGS="${configure.ldflags}"
build.args-append CC="${configure.cc}" CXX="${configure.cxx}" CPP="${configure.cpp}"
variant no_x11 {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101021/8c045292/attachment.html>
More information about the macports-changes
mailing list