aboutsummaryrefslogtreecommitdiff
path: root/multimedia/phonon/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/phonon/Makefile')
-rw-r--r--multimedia/phonon/Makefile21
1 files changed, 9 insertions, 12 deletions
diff --git a/multimedia/phonon/Makefile b/multimedia/phonon/Makefile
index 11b9dcf5c31e..6d1c7179411d 100644
--- a/multimedia/phonon/Makefile
+++ b/multimedia/phonon/Makefile
@@ -11,7 +11,9 @@ DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE multimedia framework
-LIB_DEPENDS= qzeitgeist:${PORTSDIR}/sysutils/qzeitgeist
+LICENSE= LGPL21
+
+LIB_DEPENDS= libqzeitgeist.so:${PORTSDIR}/sysutils/qzeitgeist
CONFLICTS= qt4-phonon-4*
@@ -27,19 +29,14 @@ CMAKE_ARGS= -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT:BOOL=TRUE \
-DPHONON_BUILD_DESIGNER_PLUGIN:BOOL=OFF
USE_LDCONFIG= yes
-OPTIONS_DEFINE= PULSEAUDIO
-
-.include <bsd.port.options.mk>
+PLIST_SUB= QT_PREFIX=${QT_PREFIX}
-.if ${PORT_OPTIONS:MPULSEAUDIO}
-LIB_DEPENDS+= pulse:${PORTSDIR}/audio/pulseaudio
-USE_GNOME+= glib20
-CMAKE_ARGS+= -DWITH_PulseAudio:BOOL=ON
-.else
-CMAKE_ARGS+= -DWITH_PulseAudio:BOOL=OFF
-.endif
+OPTIONS_DEFINE= PULSEAUDIO
-PLIST_SUB+= QT_PREFIX=${QT_PREFIX}
+PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio
+PULSEAUDIO_USE= GNOME=glib20
+PULSEAUDIO_CMAKE_ON= -DWITH_PulseAudio:BOOL=ON
+PULSEAUDIO_CMAKE_OFF= -DWITH_PulseAudio:BOOL=OFF
post-install:
${MKDIR} ${STAGEDIR}${QT_INCDIR}