summaryrefslogtreecommitdiff
path: root/net/kdenetwork4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/kdenetwork4/Makefile')
-rw-r--r--net/kdenetwork4/Makefile37
1 files changed, 6 insertions, 31 deletions
diff --git a/net/kdenetwork4/Makefile b/net/kdenetwork4/Makefile
index 79d032da8fc3..636e5f4066a3 100644
--- a/net/kdenetwork4/Makefile
+++ b/net/kdenetwork4/Makefile
@@ -6,7 +6,6 @@
PORTNAME= kdenetwork
PORTVERSION= ${KDE4_VERSION}
-PORTREVISION= 1
CATEGORIES= net kde ipv6
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
@@ -15,7 +14,8 @@ DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE Network applications
-BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev.h:${PORTSDIR}/multimedia/v4l_compat
+BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev.h:${PORTSDIR}/multimedia/v4l_compat \
+ ${LOCALBASE}/share/xml/docbook/4.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml
LIB_DEPENDS= slp.1:${PORTSDIR}/net/openslp \
idn.16:${PORTSDIR}/dns/libidn \
qimageblitz.4:${PORTSDIR}/x11/qimageblitz \
@@ -29,7 +29,9 @@ LIB_DEPENDS= slp.1:${PORTSDIR}/net/openslp \
telepathy-qt4.8:${PORTSDIR}/net-im/telepathy-qt4 \
meanwhile.1:${PORTSDIR}/net-im/meanwhile \
speex.1:${PORTSDIR}/audio/speex \
- v4l2.0:${PORTSDIR}/multimedia/libv4l
+ v4l2.0:${PORTSDIR}/multimedia/libv4l \
+ kwebkit.1:${PORTSDIR}/www/kwebkitpart \
+ ktorrent.2:${PORTSDIR}/net-p2p/libktorrent
RUN_DEPENDS= qca-ossl>=2.0.0.b3:${PORTSDIR}/security/qca-ossl
LATEST_LINK= ${PORTNAME}4
@@ -48,18 +50,13 @@ MAKE_JOBS_SAFE= yes
# http://mail.kde.org/pipermail/kde-freebsd/2010-March/008015.html
CMAKE_ARGS+= -DWITH_Alsa:BOOL=OFF
-# Embedded btcore support already disconnected from the build and outdated
-CMAKE_ARGS+= -DENABLE_EMBEDDED_TORRENT_SUPPORT=FALSE
-
# Route mozilla plugin by standard path
CMAKE_ARGS+= -DMOZPLUGIN_INSTALL_DIR=${PREFIX}/lib/browser_plugins
# Fix build with fresh multimedia/v4l_compat installed
CFLAGS+= -DHAVE_LINUX_INTEGER_TYPES=1
-OPTIONS= BTCORE "Enable Bittorrent support in KGet" off \
- WEBKIT "Enable KWebKit support in KGet" off \
- XMMS "Enable XMMS Kopete nowlistening plugin" off
+OPTIONS= XMMS "Enable XMMS Kopete nowlistening plugin" off
.include <bsd.port.options.mk>
@@ -79,26 +76,4 @@ LIB_DEPENDS+= xmms.4:${PORTSDIR}/multimedia/xmms
CMAKE_ARGS+= -DWITH_Xmms:BOOL=OFF
.endif
-.if defined(WITH_BTCORE)
-LIB_DEPENDS+= btcore.12:${PORTSDIR}/net-p2p/ktorrent
-PLIST_SUB+= BTCORE=""
-.else
-PLIST_SUB+= BTCORE="@comment "
-.endif
-
-.ifdef(WITH_WEBKIT)
-LIB_DEPENDS+= kwebkit.1:${PORTSDIR}/www/kwebkitpart
-CMAKE_ARGS+= -DWITH_KWebKitPart:BOOL=ON
-PLIST_SUB+= WEBKIT=""
-.else
-CMAKE_ARGS+= -DWITH_KWebKitPart:BOOL=OFF
-PLIST_SUB+= WEBKIT="@comment "
-.endif
-
-pre-configure:
-.if !defined(WITH_BTCORE)
- ${REINPLACE_CMD} -e '/bittorrent/ d' \
- ${WRKSRC}/kget/transfer-plugins/CMakeLists.txt
-.endif
-
.include <bsd.port.mk>