freebsd-ports/net-p2p/ktorrent/Makefile
Matthias Andree 515db2ed10 Upgrade OpenEXR and ilmbase to 2.2.0.
GCC 4.2 in FreeBSD 8.X/9.X base is now too old to compile OpenEXR, so
GCC-based systems will upgrade to the default ports compiler (GCC 4.7
currently.)

Add two patches to OpenEXR to permit building it in a live system with
the older OpenEXR version installed. Bug report filed to upstream Github
at https://github.com/openexr/openexr/issues/130

Couple OpenEXR more tightly to ilmbase and require its exact .so
version.

Add UPDATING note, and bump PORTREVISION of all dependent ports.

Proto-STAGE hugin-devel, and mark it IGNORE because hugin is newer.

Approved by:	portmgr (implicit for bumping PORTREVISION on unstaged ports)
2014-08-15 20:37:31 +00:00

36 lines
1,010 B
Makefile

# Created by: Markus Brueffer <markus@FreeBSD.org>
# $FreeBSD$
PORTNAME= ktorrent
DISTVERSION= 4.3.1
PORTREVISION= 4
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= libtag.so:${PORTSDIR}/audio/taglib \
libgmp.so:${PORTSDIR}/math/gmp \
libktorrent.so:${PORTSDIR}/net-p2p/libktorrent
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 gettext tar:bzip2
USE_LDCONFIG= 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>