Update net-p2p/ktorrent to version 4.3.1_5
[dports.git] / net-p2p / ktorrent / Makefile
1 # Created by: Markus Brueffer <markus@FreeBSD.org>
2 # $FreeBSD$
3
4 PORTNAME=       ktorrent
5 DISTVERSION=    4.3.1
6 PORTREVISION=   5
7 CATEGORIES=     net-p2p kde
8 MASTER_SITES=   http://ktorrent.org/downloads/${DISTVERSION}/
9
10 MAINTAINER=     makc@FreeBSD.org
11 COMMENT=        BitTorrent client for KDE
12
13 BUILD_DEPENDS=  ${LOCALBASE}/include/boost/bind.hpp:${PORTSDIR}/devel/boost-libs
14 LIB_DEPENDS=    libtag.so:${PORTSDIR}/audio/taglib \
15                 libgmp.so:${PORTSDIR}/math/gmp \
16                 libktorrent.so:${PORTSDIR}/net-p2p/libktorrent
17
18 USE_KDE4=       kdelibs kdehier kdeprefix automoc4 pimlibs workspace
19 USE_QT4=        corelib gui network qt3support qtestlib webkit \
20                 qmake_build moc_build rcc_build uic_build
21 USES=           cmake:outsource gettext tar:bzip2
22 USE_LDCONFIG=   yes
23
24 CONFLICTS_BUILD=        ktorrent-2*
25
26 SHLIB_VER=      15.0.0
27 PLIST_SUB+=     SHLIB_VER=${SHLIB_VER} \
28                 SHLIB_SHVER=${SHLIB_VER:R:R}
29
30 CMAKE_ARGS+=    -DENABLE_KIO_MAGNET=1
31
32 post-patch:
33         ${REINPLACE_CMD} -e 's,ktorrent,$${LIBKTORRENT_LIBRARIES},' \
34                 ${WRKSRC}/plugins/ipfilter/tests/CMakeLists.txt
35
36 .include <bsd.port.mk>