2006-11-19 12:50:23 +01:00
|
|
|
# $NetBSD: Makefile,v 1.17 2006/11/19 11:50:25 wiz Exp $
|
2005-07-23 00:28:08 +02:00
|
|
|
|
2006-11-08 10:19:40 +01:00
|
|
|
DISTNAME= rtorrent-0.6.4
|
2006-11-19 12:50:23 +01:00
|
|
|
PKGREVISION= 1
|
2005-07-23 00:28:08 +02:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://libtorrent.rakshasa.no/downloads/
|
|
|
|
|
2006-02-25 18:24:21 +01:00
|
|
|
MAINTAINER= tron@NetBSD.org
|
2005-07-23 00:28:08 +02:00
|
|
|
HOMEPAGE= http://libtorrent.rakshasa.no/
|
|
|
|
COMMENT= Ncurses based torrent client with support for sessions
|
|
|
|
|
2006-11-05 18:31:09 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2006-07-22 06:46:13 +02:00
|
|
|
USE_LANGUAGES= c c++
|
2005-07-23 00:28:08 +02:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_NCURSES= yes
|
2006-06-07 15:03:01 +02:00
|
|
|
USE_TOOLS+= gmake pkg-config
|
2005-07-23 00:28:08 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2005-12-24 00:03:31 +01:00
|
|
|
GCC_REQD+= 3.3
|
2005-07-23 00:28:08 +02:00
|
|
|
|
2006-01-30 01:52:28 +01:00
|
|
|
.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
|
|
|
|
|
2006-11-05 18:31:09 +01:00
|
|
|
INSTALLATION_DIRS= share/examples/rtorrent
|
|
|
|
|
2005-07-23 00:28:08 +02:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/rtorrent.rc \
|
2006-11-05 18:31:09 +01:00
|
|
|
${DESTDIR}${PREFIX}/share/examples/rtorrent
|
2005-07-23 00:28:08 +02:00
|
|
|
|
|
|
|
.include "../../devel/ncurses/buildlink3.mk"
|
|
|
|
.include "../../net/libtorrent/buildlink3.mk"
|
|
|
|
.include "../../www/curl/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|