8dfa34e702
Also add patches to build with latest boost. The biggest changes since the 4.2 release include: - Reintroduction of a tabbed torrent list widget, though a bit different then the old tab widget from the 4.1 days. - Improved support for magnet links - Support for removable storage - A whole bunch of bugfixes and smaller improvements over ktorrent
48 lines
1.3 KiB
Makefile
48 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.28 2014/11/17 19:59:40 markd Exp $
|
|
|
|
DISTNAME= libktorrent-${LIBKTORRENT_VER}
|
|
CATEGORIES= net kde
|
|
MASTER_SITES= http://ktorrent.pwsp.net/downloads/${KTORRENT_VER}/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
.include "../../net/libktorrent/Makefile.version"
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://ktorrent.pwsp.net/
|
|
COMMENT= Torrent library split from KTorrent
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.libktorrent
|
|
PKG_SUPPORTED_OPTIONS= docs
|
|
PLIST_VARS+= docs
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_TOOLS+= gmake msgfmt pkg-config perl
|
|
USE_CMAKE= yes
|
|
APIDOCS= /share/docs/libktorrent-api
|
|
WRKSRC= ${WRKDIR}/libktorrent-${LIBKTORRENT_FILEVER}
|
|
|
|
BUILD_DEPENDS+= automoc4>=0.9.87:../../devel/automoc4
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mdocs)
|
|
BUILD_DEPENDS+= doxygen>=1.8.2:../../devel/doxygen
|
|
BUILD_TARGET= all docs
|
|
PLIST.docs= yes
|
|
USE_TOOLS+= pax
|
|
.endif
|
|
|
|
post-install:
|
|
.if !empty(PKG_OPTIONS:Mdocs)
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}${APIDOCS}
|
|
cd ${WRKSRC}/apidocs && ${PAX} -wr * ${DESTDIR}${PREFIX}${APIDOCS}
|
|
.endif
|
|
|
|
.include "../../devel/boost-libs/buildlink3.mk"
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../devel/gmp/buildlink3.mk"
|
|
.include "../../security/qca2/buildlink3.mk"
|
|
.include "../../x11/kdelibs4/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|