Annotation of pkgsrc/net/rtorrent/Makefile, Revision 1.42
1.42 ! tron 1: # $NetBSD: Makefile,v 1.41 2011/08/01 13:12:38 wiz Exp $
1.1 adam 2:
1.40 tron 3: DISTNAME= rtorrent-0.8.9
1.42 ! tron 4: PKGREVISION= 2
1.1 adam 5: CATEGORIES= net
1.20 tron 6: MASTER_SITES= ${HOMEPAGE:=downloads/}
1.1 adam 7:
1.28 tron 8: OWNER= tron@NetBSD.org
1.1 adam 9: HOMEPAGE= http://libtorrent.rakshasa.no/
10: COMMENT= Ncurses based torrent client with support for sessions
1.30 tron 11: LICENSE= gnu-gpl-v2
12:
1.15 joerg 13: PKG_DESTDIR_SUPPORT= user-destdir
14:
1.11 rillig 15: USE_LANGUAGES= c c++
1.1 adam 16: USE_LIBTOOL= yes
1.41 wiz 17: USE_NCURSES= yes # chgat
1.10 joerg 18: USE_TOOLS+= gmake pkg-config
1.1 adam 19: GNU_CONFIGURE= yes
1.4 heinz 20: GCC_REQD+= 3.3
1.1 adam 21:
1.40 tron 22: .include "../../mk/pthread.buildlink3.mk"
23: LDFLAGS+= ${PTHREAD_LDFLAGS}
24:
1.39 tron 25: .include "options.mk"
1.6 tron 26:
27: .if !empty(OPSYS:M*BSD) || ${OPSYS} == "Darwin" || ${OPSYS} == "DragonFly"
28: MESSAGE_SRC= ${PKGDIR}/MESSAGE.BSD
29: .endif
30:
1.39 tron 31: # See http://libtorrent.rakshasa.no/ticket/77
1.6 tron 32: .include "../../mk/compiler.mk"
1.39 tron 33: .if !empty(CC_VERSION:Mgcc-4.0.*)
1.6 tron 34: CXXFLAGS+= -fpermissive -fno-strength-reduce -fno-thread-jumps \
35: -fno-inline -fforce-addr
36: .endif
37:
1.15 joerg 38: INSTALLATION_DIRS= share/examples/rtorrent
39:
1.1 adam 40: post-install:
41: ${INSTALL_DATA} ${WRKSRC}/doc/rtorrent.rc \
1.15 joerg 42: ${DESTDIR}${PREFIX}/share/examples/rtorrent
1.1 adam 43:
44: .include "../../devel/ncurses/buildlink3.mk"
45: .include "../../net/libtorrent/buildlink3.mk"
46: .include "../../www/curl/buildlink3.mk"
47: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>