Ticket #52477: Portfile.diff
File Portfile.diff, 2.1 KB (added by 3add3287 (3add3287), 8 years ago) |
---|
-
Portfile
old new 6 6 name rtorrent 7 7 conflicts rtorrent-devel 8 8 set real_name rtorrent 9 version 0.9.2 10 revision 2 9 version 0.9.6 11 10 categories net 12 11 platforms darwin 13 12 maintainers gmail.com:stuartwesterman openmaintainer … … 20 19 run in the background using screen. It supports fast-resume \ 21 20 and session management. 22 21 23 homepage http ://libtorrent.rakshasa.no/24 master_sites ${homepage}downloads/22 homepage https://github.com/rakshasa/rtorrent/wiki 23 master_sites http://rtorrent.net/downloads/ 25 24 distname ${real_name}-${version} 26 25 27 checksums rmd160 130a4c7f3bd018f7247d4561170d6878ab7a120f \ 28 sha256 5c8f8c780bee376afce3c1cde2f5ecb928f40bac23b2b8171deed5cf3c888c3d 26 checksums rmd160 8ac9730ccd5544ee0f64628538a892d4f1d86081 \ 27 sha256 1e69c24f1f26f8f07d58d673480dc392bfc4317818c1115265b08a7813ff5b0e 28 29 patchfiles-append extra-clang.patch src_display_window_file_list.patch src_signal_handler.patch 29 30 30 31 depends_build port:pkgconfig 31 32 … … 39 40 configure.args --mandir=${prefix}/share/man \ 40 41 --disable-debug \ 41 42 --enable-ipv6 43 configure.cxxflags-append -std=c++11 42 44 45 post-patch { 46 system "find ${worksrcpath} \\( -name '*.h' -or -name '*.cc' \\) -type f -print0 | xargs -0 sed -i '' -e 's/tr1::/std::/g'" 47 system "find ${worksrcpath} \\( -name '*.h' -or -name '*.cc' \\) -type f -print0 | xargs -0 sed -i '' -e 's/std::std::/std::/g'" 48 system "find ${worksrcpath} \\( -name '*.h' -or -name '*.cc' \\) -type f -print0 | xargs -0 sed -i '' -e '/namespace tr1/d'" 49 system "find ${worksrcpath} \\( -name '*.h' -or -name '*.cc' \\) -type f -print0 | xargs -0 sed -i '' -e '/include/s,tr1/,,'" 50 } 43 51 variant xmlrpc description {Enable XMLRPC interface} { 44 52 configure.args-append --with-xmlrpc-c 45 53 depends_lib-append port:xmlrpc-c