Index: Makefile =================================================================== RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/net-p2p/sharktorrent/Makefile,v retrieving revision 1.9 diff -u -r1.9 Makefile --- Makefile 12 Feb 2010 07:54:13 -0000 1.9 +++ Makefile 17 Feb 2010 16:09:42 -0000 @@ -6,25 +6,34 @@ # PORTNAME= sharktorrent -PORTVERSION= 0.1.1 -PORTREVISION= 5 +PORTVERSION= 0.1.8.4 CATEGORIES= net-p2p -MASTER_SITES= SF/${PORTNAME}/OldFiles +MASTER_SITES= SF +DISTNAME= ${PORTNAME}-${PORTVERSION}-beta-src MAINTAINER= dougb@FreeBSD.org COMMENT= C++ Bittorrent client using wxWidgets, libtorrent and boost LIB_DEPENDS= boost_filesystem.4:${PORTSDIR}/devel/boost-libs \ - torrent.1:${PORTSDIR}/net-p2p/rblibtorrent + torrent-rasterbar.5:${PORTSDIR}/net-p2p/rblibtorrent-devel -DEPRECATED= Version is out of date, relies on too-old version of libtorrent -EXPIRATION_DATE= 2010-03-15 -USE_WX= 2.6 -WX_CONF_ARGS= absolute -GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDLFAGS="-L${LOCALBASE}/lib" -CPPFLAGS= -I${LOCALBASE}/include -I${LOCALBASE}/include/libtorrent +USE_QT_VER= 4 +QT_COMPONENTS= qmake_build moc_build rcc_build corelib gui network +MAKE_JOBS_SAFE= yes PLIST_FILES= bin/sharktorrent +WRKSRC= ${WRKDIR}/${PORTNAME} + +post-patch: + ${REINPLACE_CMD} -e 's|/opt|${LOCALBASE}|; s|-mt||' \ + ${WRKSRC}/src/src.pro + +do-configure: + cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ + ${QMAKE} ${QMAKEFLAGS} sharktorrent.pro + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin + .include Index: distinfo =================================================================== RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/net-p2p/sharktorrent/distinfo,v retrieving revision 1.1 diff -u -r1.1 distinfo --- distinfo 4 May 2007 00:45:43 -0000 1.1 +++ distinfo 17 Feb 2010 15:50:33 -0000 @@ -1,3 +1,3 @@ -MD5 (sharktorrent-0.1.1.tar.gz) = f1802307e9f3fa78359d28024ebe039d -SHA256 (sharktorrent-0.1.1.tar.gz) = 618124c1db56fbaf2f1e27a889379e56397b181c2e4f668a531be3f11ff0eece -SIZE (sharktorrent-0.1.1.tar.gz) = 710540 +MD5 (sharktorrent-0.1.8.4-beta-src.tar.gz) = ac9b2d86223507b4f9009511ed597da5 +SHA256 (sharktorrent-0.1.8.4-beta-src.tar.gz) = cdadfd209c8de3415e5bfd4b406315320015f78a95c46cfff4c1e69e97b7d4fe +SIZE (sharktorrent-0.1.8.4-beta-src.tar.gz) = 156638 Index: files/patch-src-stsession.cpp =================================================================== RCS file: files/patch-src-stsession.cpp diff -N files/patch-src-stsession.cpp --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-src-stsession.cpp 17 Feb 2010 16:01:04 -0000 @@ -0,0 +1,11 @@ +--- src/stsession.cpp.orig 2009-07-06 01:40:21.000000000 +0400 ++++ src/stsession.cpp 2010-02-17 19:01:03.000000000 +0300 +@@ -501,7 +501,7 @@ + for (std::vector::const_iterator i = peers.begin(); + i != peers.end(); ++i, _icount++) + { +- asio::ip::address _address = i->ip.address(); ++ libtorrent::asio::ip::address _address = i->ip.address(); + + m_map_peers[_icount].append( QString("%1").arg(_icount) ); + m_map_peers[_icount].append( QString(_address.to_string().c_str()) ); Index: files/patch-src__Makefile.in =================================================================== RCS file: files/patch-src__Makefile.in diff -N files/patch-src__Makefile.in --- files/patch-src__Makefile.in 4 May 2007 00:45:43 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,11 +0,0 @@ ---- ./src/Makefile.in.orig Sat Dec 16 20:45:49 2006 -+++ ./src/Makefile.in Wed Apr 25 23:10:18 2007 -@@ -189,7 +189,7 @@ - sttorrentmetainfogui.cpp sttorrentslistctrl.cpp stconfigdata.cpp sharktorrentframe.cpp \ - sttaskbaricon.cpp stfiledroptarget.cpp ststrlong.cpp stpairstrhandle.cpp - --sharktorrent_LDFLAGS = $(WX_LIBS) -+sharktorrent_LDFLAGS = $(WX_LIBS) -lboost_filesystem -ltorrent - all: all-am - - .SUFFIXES: