aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberto Villa <avilla@FreeBSD.org>2012-04-07 00:01:37 +0000
committerAlberto Villa <avilla@FreeBSD.org>2012-04-07 00:01:37 +0000
commitb62f03a19edf55a9f0f3b4035dc55ad9ecf8e703 (patch)
tree9e7b89ce6be48377bbd998b3f6703a52981f1d99
parentcabb58a67feebf2736cde6990ddd4ca4b77c389d (diff)
downloadports-b62f03a19edf55a9f0f3b4035dc55ad9ecf8e703.tar.gz
ports-b62f03a19edf55a9f0f3b4035dc55ad9ecf8e703.zip
Notes
-rw-r--r--multimedia/qt4-phonon/Makefile9
-rw-r--r--multimedia/qt4-phonon/pkg-plist2
2 files changed, 3 insertions, 8 deletions
diff --git a/multimedia/qt4-phonon/Makefile b/multimedia/qt4-phonon/Makefile
index 44d0f80cc0f0..c598de46b44f 100644
--- a/multimedia/qt4-phonon/Makefile
+++ b/multimedia/qt4-phonon/Makefile
@@ -7,6 +7,7 @@
PORTNAME= phonon
DISTVERSION= ${QT4_VERSION}
+PORTREVISION= 1
CATEGORIES?= multimedia
PKGNAMEPREFIX= qt4-
@@ -19,7 +20,6 @@ USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build corelib dbus gui xml
QT_NONSTANDARD= yes
QT_DIST= yes
-USE_KDE4= #dummy, we need to know KDE4_PREFIX
HAS_CONFIGURE= yes
USE_LDCONFIG= ${PREFIX}/lib/qt4
@@ -46,8 +46,6 @@ INSTALL_WRKSRC= ${BUILD_WRKSRC}
EXTRA_PATCHES= ${.CURDIR}/../../devel/qt4/files/patch-configure
-.include <bsd.port.pre.mk>
-
.if defined(PACKAGE_BUILDING)
WITH_QT_PHONON= yes
.endif
@@ -66,11 +64,10 @@ pre-install:
-e 's|${PREFIX}/lib/qt4/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \
${BUILD_WRKSRC}/Makefile
${REINPLACE_CMD} -E -e 's|-L.[^[:space:]]*qt-x11-opensource.[^[:space:]]*lib||g' \
- -E -e 's|(.*location=).*moc|\1${PREFIX}/bin/moc-qt4|g' \
+ -E -e 's|(.*location=).*moc|\1${PREFIX}/bin/moc-qt4|g' \
${WRKSRC}/lib/pkgconfig/phonon.pc
post-install:
- ${MKDIR} ${QT_PLUGINDIR}/phonon_backend
${LN} -sf ${PREFIX}/include/qt4/phonon ${PREFIX}/include/qt4/Phonon
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/multimedia/qt4-phonon/pkg-plist b/multimedia/qt4-phonon/pkg-plist
index 28f2db26d1e3..c50438868784 100644
--- a/multimedia/qt4-phonon/pkg-plist
+++ b/multimedia/qt4-phonon/pkg-plist
@@ -98,5 +98,3 @@ libdata/pkgconfig/phonon.pc
@dirrmtry lib/qt4
@dirrm include/qt4/phonon
@dirrmtry include/qt4
-@exec mkdir -p %%QT_PLUGINDIR_REL%%/phonon_backend
-@dirrmtry %%QT_PLUGINDIR_REL%%/phonon_backend