pkgsrc/net/rtorrent/Makefile
tron 3405645ea4 Update the "libtorrent" package to version 0.10.3 and the "rtorrent"
package to version 0.6.3. Change since version 0.10.2 respectively 0.6.2:
- Didn't properly clean up when a torrent with the same info hash was
  rejected. This caused random crashes and memory leaks.
- Properly cancel pieces that are skipped when downloading.
2006-10-17 12:28:12 +00:00

40 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.14 2006/10/17 12:28:13 tron Exp $
DISTNAME= rtorrent-0.6.3
CATEGORIES= net
MASTER_SITES= http://libtorrent.rakshasa.no/downloads/
MAINTAINER= tron@NetBSD.org
HOMEPAGE= http://libtorrent.rakshasa.no/
COMMENT= Ncurses based torrent client with support for sessions
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_NCURSES= yes
USE_TOOLS+= gmake pkg-config
GNU_CONFIGURE= yes
GCC_REQD+= 3.3
.include "../../mk/bsd.prefs.mk"
.if !empty(OPSYS:M*BSD) || ${OPSYS} == "Darwin" || ${OPSYS} == "DragonFly"
MESSAGE_SRC= ${PKGDIR}/MESSAGE.BSD
.endif
.include "../../mk/compiler.mk"
# See http://libtorrent.rakshasa.no/ticket/96
.if !empty(CC_VERSION:Mgcc-4.*)
CXXFLAGS+= -fpermissive -fno-strength-reduce -fno-thread-jumps \
-fno-inline -fforce-addr
.endif
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/rtorrent
${INSTALL_DATA} ${WRKSRC}/doc/rtorrent.rc \
${PREFIX}/share/examples/rtorrent
.include "../../devel/ncurses/buildlink3.mk"
.include "../../net/libtorrent/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"