2013-02-07 14:13:49 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.39 2013/02/07 19:13:49 ajacoutot Exp $
|
2012-09-29 03:25:40 -04:00
|
|
|
|
|
|
|
BROKEN-hppa = undefined references to __sync atomic ops
|
2012-12-27 03:13:19 -05:00
|
|
|
BROKEN-mips64 = undefined references to __sync atomic ops
|
2005-12-29 23:42:36 -05:00
|
|
|
|
2007-09-12 11:27:11 -04:00
|
|
|
COMMENT= ncurses BitTorrent client based on libTorrent
|
2005-12-29 23:42:36 -05:00
|
|
|
|
2012-07-15 06:20:07 -04:00
|
|
|
DISTNAME= rtorrent-0.8.9
|
2013-01-11 08:44:24 -05:00
|
|
|
REVISION= 0
|
2012-07-15 06:20:07 -04:00
|
|
|
EPOCH= 0
|
2005-12-29 23:42:36 -05:00
|
|
|
CATEGORIES= net
|
2007-11-17 15:39:02 -05:00
|
|
|
|
2005-12-29 23:42:36 -05:00
|
|
|
HOMEPAGE= http://libtorrent.rakshasa.no/
|
|
|
|
|
2011-12-01 12:10:40 -05:00
|
|
|
MAINTAINER= David Coppa <dcoppa@openbsd.org>
|
2005-12-29 23:42:36 -05:00
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2012-04-10 09:57:10 -04:00
|
|
|
WANTLIB= c crypto curl>=14 idn m ncursesw \
|
|
|
|
pthread sigc-2.0 ssl stdc++ \
|
2012-07-15 06:20:07 -04:00
|
|
|
torrent>=20 z
|
2005-12-29 23:42:36 -05:00
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}downloads/
|
|
|
|
|
2012-04-10 09:57:10 -04: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 14:57:09 -04:00
|
|
|
|
2011-12-01 12:10:40 -05:00
|
|
|
BUILD_DEPENDS= devel/cppunit
|
2012-07-15 06:20:07 -04:00
|
|
|
LIB_DEPENDS= net/libtorrent>=0.12.9 \
|
2010-11-19 17:31:32 -05:00
|
|
|
net/curl
|
2005-12-29 23:42:36 -05:00
|
|
|
|
2006-09-18 17:02:57 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2005-12-29 23:42:36 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
2011-12-01 12:10:40 -05:00
|
|
|
CONFIGURE_ENV += LDFLAGS=-pthread
|
2007-03-22 16:42:05 -04:00
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
2005-12-29 23:42:36 -05:00
|
|
|
--disable-debug
|
|
|
|
|
|
|
|
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
|
2011-12-01 12:10:40 -05:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/rtorrent.1 \
|
|
|
|
${PREFIX}/man/man1/rtorrent.1
|
2005-12-29 23:42:36 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|