2016-03-11 20:28:21 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.52 2016/03/11 20:28:29 naddy Exp $
|
2005-12-30 04:42:36 +00:00
|
|
|
|
2007-09-12 15:27:11 +00:00
|
|
|
COMMENT= ncurses BitTorrent client based on libTorrent
|
2005-12-30 04:42:36 +00:00
|
|
|
|
2015-09-11 09:16:03 +00:00
|
|
|
DISTNAME= rtorrent-0.9.6
|
2016-01-17 17:29:07 +00:00
|
|
|
REVISION= 0
|
2012-07-15 10:20:07 +00:00
|
|
|
EPOCH= 0
|
2005-12-30 04:42:36 +00:00
|
|
|
CATEGORIES= net
|
2007-11-17 20:39:02 +00:00
|
|
|
|
2015-09-11 09:16:03 +00:00
|
|
|
HOMEPAGE= https://rakshasa.github.io/rtorrent/
|
2005-12-30 04:42:36 +00:00
|
|
|
|
2011-12-01 17:10:40 +00:00
|
|
|
MAINTAINER= David Coppa <dcoppa@openbsd.org>
|
2005-12-30 04:42:36 +00:00
|
|
|
|
2015-09-11 09:16:03 +00:00
|
|
|
# GPLv2+
|
2005-12-30 04:42:36 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2016-01-17 17:29:07 +00:00
|
|
|
WANTLIB= c crypto curl>=14 idn m ncursesw nghttp2 \
|
2015-03-24 13:36:20 +00:00
|
|
|
pthread ssl stdc++ torrent>=21 z
|
2005-12-30 04:42:36 +00:00
|
|
|
|
2015-09-11 09:16:03 +00:00
|
|
|
MASTER_SITES= http://rtorrent.net/downloads/
|
2005-12-30 04:42:36 +00:00
|
|
|
|
2012-04-10 13:57:10 +00:00
|
|
|
MODULES= gcc4 devel/gettext
|
|
|
|
|
|
|
|
# SIGBUS during startup on sparc64 when built using gcc 4.2.1
|
|
|
|
# https://github.com/rakshasa/rtorrent/issues/28
|
|
|
|
MODGCC4_ARCHS= sparc64
|
|
|
|
MODGCC4_LANGS= c++
|
2011-07-06 18:57:09 +00:00
|
|
|
|
2011-12-01 17:10:40 +00:00
|
|
|
BUILD_DEPENDS= devel/cppunit
|
2015-03-24 13:36:20 +00:00
|
|
|
LIB_DEPENDS= net/libtorrent>=0.13.4 \
|
2010-11-19 22:31:32 +00:00
|
|
|
net/curl
|
2005-12-30 04:42:36 +00:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
2011-12-01 17:10:40 +00:00
|
|
|
CONFIGURE_ENV += LDFLAGS=-pthread
|
2016-03-11 20:28:21 +00:00
|
|
|
CONFIGURE_ARGS= --disable-debug
|
2005-12-30 04:42:36 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rtorrent
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/rtorrent
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/rtorrent.rc \
|
|
|
|
${PREFIX}/share/examples/rtorrent/rtorrent.rc
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|