diff --git a/net/rtorrent/Makefile b/net/rtorrent/Makefile new file mode 100644 index 00000000000..a7be5a5fa0e --- /dev/null +++ b/net/rtorrent/Makefile @@ -0,0 +1,43 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2005/12/30 04:42:36 jolan Exp $ + +COMMENT= "Ncurses BitTorrent Client based on LibTorrent" + +DISTNAME= rtorrent-0.3.6 +CATEGORIES= net +HOMEPAGE= http://libtorrent.rakshasa.no/ + +MAINTAINER= Henrik Enberg + +# GPL +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +WANTLIB= c crypto m ncurses ssl stdc++ z + +MASTER_SITES= ${HOMEPAGE}downloads/ + +BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig +LIB_DEPENDS= torrent.5::net/libtorrent \ + curl.3::net/curl \ + sigc-2.0.0.0::devel/libsigc++-2 + +CONFIGURE_STYLE= gnu +CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \ + --disable-debug + +post-build: + @sed -e 's,@TRUEPREFIX@,${TRUEPREFIX},g' \ + < ${FILESDIR}/README.OpenBSD \ + > ${WRKBUILD}/README.OpenBSD + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rtorrent + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/rtorrent + ${INSTALL_DATA} ${WRKBUILD}/README.OpenBSD \ + ${PREFIX}/share/doc/rtorrent/README.OpenBSD + ${INSTALL_DATA} ${WRKSRC}/doc/rtorrent.rc \ + ${PREFIX}/share/examples/rtorrent/rtorrent.rc + +.include diff --git a/net/rtorrent/distinfo b/net/rtorrent/distinfo new file mode 100644 index 00000000000..a1cd28f6ead --- /dev/null +++ b/net/rtorrent/distinfo @@ -0,0 +1,4 @@ +MD5 (rtorrent-0.3.6.tar.gz) = 673372e34c46aab2e03bd7e5a6e22a5a +RMD160 (rtorrent-0.3.6.tar.gz) = 19bf3ed28e92f0dc1eb940a4cce122635e26c4f0 +SHA1 (rtorrent-0.3.6.tar.gz) = ec19c75250c064666cd656ca88d11f764f95f536 +SIZE (rtorrent-0.3.6.tar.gz) = 223419 diff --git a/net/rtorrent/files/README.OpenBSD b/net/rtorrent/files/README.OpenBSD new file mode 100644 index 00000000000..e1ea7d0d7f4 --- /dev/null +++ b/net/rtorrent/files/README.OpenBSD @@ -0,0 +1,11 @@ +$OpenBSD: README.OpenBSD,v 1.1.1.1 2005/12/30 04:42:36 jolan Exp $ + +Note that rTorrent has hash performance issues on BSD systems. +Please refer to these links for further information: + +* http://libtorrent.rakshasa.no/ticket/14 +* http://libtorrent.rakshasa.no/wiki/RTorrentPerformanceTuning + +An example configuration file has been installed in +@TRUEPREFIX@/share/examples/rtorrent. It may serve as a starting point +for tweaking rTorrent performance. diff --git a/net/rtorrent/pkg/DESCR b/net/rtorrent/pkg/DESCR new file mode 100644 index 00000000000..f0a9531285e --- /dev/null +++ b/net/rtorrent/pkg/DESCR @@ -0,0 +1,8 @@ +rTorrent is an interactive ncurses BitTorrent client, based on +libTorrent. + +rTorrents features include: + * Use an URL or file path to add torrents at runtime + * Stop, delete and resume torrents + * Load, save and delete torrents automatically in a session directory + * Safe fast resume support diff --git a/net/rtorrent/pkg/PLIST b/net/rtorrent/pkg/PLIST new file mode 100644 index 00000000000..b80e1f315de --- /dev/null +++ b/net/rtorrent/pkg/PLIST @@ -0,0 +1,7 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2005/12/30 04:42:36 jolan Exp $ +bin/rtorrent +@man man/man1/rtorrent.1 +share/doc/rtorrent/ +share/doc/rtorrent/README.OpenBSD +share/examples/rtorrent/ +share/examples/rtorrent/rtorrent.rc