1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/net-p2p/ktorrent/Makefile
Max Brazhnikov f60233ccc6 - Change dependency type for Boost: required only at build stage
- Adjust USE_QT4 components
- Switch to out-of-source build

ktorrent only:
- Explicitly depend on math/gmp
- Fix potential build failure
2013-03-28 12:06:41 +00:00

40 lines
1.0 KiB
Makefile

# Created by: Markus Brueffer <markus@FreeBSD.org>
# $FreeBSD$
PORTNAME= ktorrent
DISTVERSION= 4.3.1
PORTREVISION= 1
CATEGORIES= net-p2p kde
MASTER_SITES= http://ktorrent.org/downloads/${DISTVERSION}/
MAINTAINER= makc@FreeBSD.org
COMMENT= BitTorrent client for KDE
BUILD_DEPENDS= ${LOCALBASE}/include/boost/bind.hpp:${PORTSDIR}/devel/boost-libs
LIB_DEPENDS= tag:${PORTSDIR}/audio/taglib \
gmp:${PORTSDIR}/math/gmp \
ktorrent.5:${PORTSDIR}/net-p2p/libktorrent
USE_BZIP2= yes
USE_KDE4= kdelibs kdehier kdeprefix automoc4 pimlibs workspace
USE_QT4= corelib gui network qt3support qtestlib webkit \
qmake_build moc_build rcc_build uic_build
USES= cmake:outsource
USE_GETTEXT= yes
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
CONFLICTS_BUILD= ktorrent-2*
SHLIB_VER= 15.0.0
PLIST_SUB+= SHLIB_VER=${SHLIB_VER} \
SHLIB_SHVER=${SHLIB_VER:R:R}
CMAKE_ARGS+= -DENABLE_KIO_MAGNET=1
post-patch:
${REINPLACE_CMD} -e 's,ktorrent,$${LIBKTORRENT_LIBRARIES},' \
${WRKSRC}/plugins/ipfilter/tests/CMakeLists.txt
.include <bsd.port.mk>