aboutsummaryrefslogtreecommitdiff
path: root/multimedia/qt4-phonon/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/qt4-phonon/Makefile')
-rw-r--r--multimedia/qt4-phonon/Makefile20
1 files changed, 11 insertions, 9 deletions
diff --git a/multimedia/qt4-phonon/Makefile b/multimedia/qt4-phonon/Makefile
index 56de6baaae64..39aed4d497f2 100644
--- a/multimedia/qt4-phonon/Makefile
+++ b/multimedia/qt4-phonon/Makefile
@@ -30,10 +30,12 @@ MAKE_ENV?= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib \
PATH=${WRKSRC}/bin:$$PATH
DO_NOT_EXTRACT= demos doc examples mkspecs qmake tools translations \
- src/network src/opengl \
- src/qt3support src/script src/sql src/svg src/testlib \
- src/tools src/xmlpatterns src/3rdparty/clucene \
- src/3rdparty/webkit
+ src/activeqt src/multimedia src/network src/opengl src/openvg \
+ src/qt3support src/s60installs src/s60main src/script \
+ src/scripttools src/sql src/svg src/testlib src/tools \
+ src/winmain src/xmlpatterns src/3rdparty/clucene \
+ src/3rdparty/freetype src/3rdparty/libjpeg src/3rdparty/libmng \
+ src/3rdparty/libpng src/3rdparty/libtiff src/3rdparty/webkit
EXTRACT_AFTER_ARGS= | ${TAR} -xf -
.for dne in ${DO_NOT_EXTRACT}
EXTRACT_AFTER_ARGS+= --exclude '${DISTNAME}/${dne}'
@@ -42,14 +44,15 @@ EXTRACT_AFTER_ARGS+= --exclude '${DISTNAME}/${dne}'
BUILD_WRKSRC= ${WRKSRC}/src/${PORTNAME}
INSTALL_WRKSRC= ${BUILD_WRKSRC}
+EXTRA_PATCHES= ${.CURDIR}/../../devel/qt4/files/patch-configure
+
.include <bsd.port.pre.mk>
-.if exists(${KDE4_PREFIX}/lib/libphonon.so)
-IGNORE= conflicts with KDE4 phonon. Please, deinstall multimedia/phonon
+.if defined(WITH_KDE_PHONON)
+IGNORE= conflicts with multimedia/phonon. You have defined WITH_KDE_PHONON to override Qt4 phonon
.endif
pre-configure:
- ${CP} ${.CURDIR}/../../devel/qt4/files/configure ${CONFIGURE_WRKSRC}
${MKDIR} ${WRKSRC}/mkspecs
${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/bin/qmake
${LN} -sf ${LOCALBASE}/bin/moc-qt4 ${WRKSRC}/bin/moc
@@ -64,7 +67,6 @@ pre-install:
post-install:
${MKDIR} ${QT_PLUGINDIR}/phonon_backend
- ${LN} -sf ${LOCALBASE}/include/qt4/phonon ${LOCALBASE}/include/qt4/Phonon
- ${LN} -sf ${LOCALBASE}/include/qt4/Phonon/phononnamespace.h ${LOCALBASE}/include/qt4/Phonon/Global
+ ${LN} -sf ${PREFIX}/include/qt4/phonon ${PREFIX}/include/qt4/Phonon
.include <bsd.port.post.mk>