aboutsummaryrefslogtreecommitdiff
path: root/x11/kde4-runtime/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kde4-runtime/Makefile')
-rw-r--r--x11/kde4-runtime/Makefile25
1 files changed, 20 insertions, 5 deletions
diff --git a/x11/kde4-runtime/Makefile b/x11/kde4-runtime/Makefile
index 2d46b8fd30f0..9706e61b9eb7 100644
--- a/x11/kde4-runtime/Makefile
+++ b/x11/kde4-runtime/Makefile
@@ -8,7 +8,6 @@
PORTNAME= kdebase-runtime
PORTVERSION= ${KDE4_VERSION}
-PORTREVISION= 1
CATEGORIES= x11 kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
@@ -17,18 +16,23 @@ DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= Basic applications for the KDE system
-USE_KDE4= kdelibs pimlibs kdeprefix kdehier automoc4
+LIB_DEPENDS+= lzma.0:${PORTSDIR}/archivers/lzmautils-devel \
+ xine.1:${PORTSDIR}/multimedia/libxine \
+ slp.1:${PORTSDIR}/net/openslp
+
+USE_KDE4= kdelibs pimlibs kdeprefix kdehier automoc4 kdeexp
KDE4_BUILDENV= yes
USE_BZIP2= yes
USE_QT_VER= 4
-QT_COMPONENTS= corelib opengl dbus \
+QT_COMPONENTS= corelib opengl dbus phonon \
qmake_build moc_build rcc_build uic_build
USE_GETTEXT= yes
MAKE_JOBS_SAFE= yes
-MAN1= kdesu.1
+MAN1= kdesu.1
+MAN8= nepomukserver.8 nepomukservicestub.8
-OPTIONS= PULSEAUDIO "Enable playback via PulseAudio soundserver" off
+OPTIONS= PULSEAUDIO "Enable playback via PulseAudio soundserver" off
.include <bsd.port.pre.mk>
@@ -39,7 +43,18 @@ LIB_DEPENDS+= pulse.0:${PORTSDIR}/audio/pulseaudio
CMAKE_ARGS+= -DWITH_PulseAudio:BOOL=OFF
.endif
+CMAKE_ARGS+= -DCMAKE_REQUIRED_FLAGS:STRING="-L${LOCALBASE}/lib"
+CMAKE_ARGS+= -DCMAKE_INCLUDE_PATH:STRING="${LOCALBASE}/include"
+CMAKE_ARGS+= -DCMAKE_EXE_LINKER_FLAGS:STRING="-L${LOCALBASE}/lib"
+
post-extract:
${MKDIR} ${WRKSRC}
+post-patch:
+ @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \
+ ${WRKSRC}/../khelpcenter/infotree.cpp \
+ ${WRKSRC}/../kioslave/info/kde-info2html.conf \
+ ${WRKSRC}/../kioslave/man/kio_man.cpp \
+ ${WRKSRC}/../kioslave/man/man2html.cpp
+
.include <bsd.port.post.mk>