aboutsummaryrefslogtreecommitdiff
path: root/x11/kdebase4-runtime/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-02-08 20:23:45 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-02-08 20:23:45 +0000
commitef1b3d107105075700da0844ac072acae2de7726 (patch)
tree14d3f35f7d5dc26e8e8feed96c01af49bd9e4d3d /x11/kdebase4-runtime/Makefile
parenta71e0ff08b3f1acf82cd96524c18b3a653ed1954 (diff)
Notes
Diffstat (limited to 'x11/kdebase4-runtime/Makefile')
-rw-r--r--x11/kdebase4-runtime/Makefile22
1 files changed, 13 insertions, 9 deletions
diff --git a/x11/kdebase4-runtime/Makefile b/x11/kdebase4-runtime/Makefile
index 9c9b84157b75..b37826a60f10 100644
--- a/x11/kdebase4-runtime/Makefile
+++ b/x11/kdebase4-runtime/Makefile
@@ -8,21 +8,14 @@
PORTNAME= kdebase-runtime
PORTVERSION= ${KDE4_VERSION}
-PORTREVISION= 1
CATEGORIES= x11 kde
MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
+MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= Basic applications for the KDE system
-LIB_DEPENDS= usb-0.1.8:${PORTSDIR}/devel/libusb \
- xcb.2:${PORTSDIR}/x11/libxcb \
- xine.1:${PORTSDIR}/multimedia/libxine \
- xklavier.12:${PORTSDIR}/x11/libxklavier
-RUN_DEPENDS= ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
-
USE_KDE4= kdelibs pimlibs kdeprefix kdehier automoc4
KDE4_BUILDENV= yes
USE_BZIP2= yes
@@ -33,7 +26,18 @@ USE_GETTEXT= yes
MAN1= kdesu.1
+OPTIONS= PULSEAUDIO "Enable playback via PulseAudio soundserver" off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_PULSEAUDIO)
+CMAKE_ARGS+= -DWITH_PulseAudio:BOOL=ON
+LIB_DEPENDS+= pulse.0:${PORTSDIR}/audio/pulseaudio
+.else
+CMAKE_ARGS+= -DWITH_PulseAudio:BOOL=OFF
+.endif
+
post-extract:
${MKDIR} ${WRKSRC}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>