1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name udt |
---|
7 | version 4.11 |
---|
8 | categories net |
---|
9 | platforms darwin |
---|
10 | maintainers yahoo.fr:jul_bsd openmaintainer |
---|
11 | license BSD |
---|
12 | description Breaking the Data Transfer Bottleneck |
---|
13 | long_description UDT is a reliable UDP based application level data \ |
---|
14 | transport protocol for distributed data intensive \ |
---|
15 | applications over wide area high-speed networks. \ |
---|
16 | UDT uses UDP to transfer bulk data with its own \ |
---|
17 | reliability control and congestion control \ |
---|
18 | mechanisms. The new protocol can transfer data at \ |
---|
19 | a much higher speed than TCP does. UDT is also a \ |
---|
20 | highly configurable framework that can \ |
---|
21 | accommodate various congestion control algorithms. |
---|
22 | homepage http://udt.sourceforge.net/ |
---|
23 | master_sites sourceforge |
---|
24 | distname udt.sdk.${version} |
---|
25 | worksrcdir udt4 |
---|
26 | |
---|
27 | depends_build port:gmake |
---|
28 | |
---|
29 | use_parallel_build no |
---|
30 | |
---|
31 | # g++ appserver.o -o appserver -L../src -ludt -lstdc++ -lpthread -lm |
---|
32 | # ld: library not found for -ludt |
---|
33 | |
---|
34 | use_configure no |
---|
35 | variant universal {} |
---|
36 | configure.cflags-append "${configure.cflags} [get_canonical_archflags cc]" |
---|
37 | |
---|
38 | build.post_args -e os=OSX |
---|
39 | build.cmd ${prefix}/bin/gmake |
---|
40 | |
---|
41 | destroot { |
---|
42 | xinstall -d ${destroot}${prefix}/share/doc/${name} |
---|
43 | xinstall ${worksrcpath}/README.txt ${destroot}${prefix}/share/doc/${name}/ |
---|
44 | xinstall ${worksrcpath}/RELEASE_NOTES.txt ${destroot}${prefix}/share/doc/${name}/ |
---|
45 | copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}/html |
---|
46 | |
---|
47 | xinstall ${worksrcpath}/src/libudt.dylib ${destroot}${prefix}/lib/ |
---|
48 | foreach f { appclient appserver recvfile sendfile test } { |
---|
49 | xinstall ${worksrcpath}/app/${f} ${destroot}${prefix}/bin/ |
---|
50 | } |
---|
51 | } |
---|
52 | |
---|
53 | if {${subport} eq ${name}} { |
---|
54 | |
---|
55 | checksums rmd160 9033e391d30a58a20a83ef220c5682b55524be7c \ |
---|
56 | sha256 aa25b6d7cbac474ca05b7c7b36f59e9a3cd5c61faed8bf1b7174ac118c3de1db |
---|
57 | |
---|
58 | } |
---|
59 | |
---|
60 | subport ${name}-devel { |
---|
61 | |
---|
62 | version 20130224 |
---|
63 | fetch.type git |
---|
64 | git.branch 6b4216d8a4c9b8e1e9413ad6cf473f71e7b80502 |
---|
65 | #git.url http://sourceforge.net/p/udt/git/ci/${git.branch}/tree |
---|
66 | git.url http://git.code.sf.net/p/udt/git/ |
---|
67 | ## FIXME! subdir loop... |
---|
68 | worksrcdir udt4 |
---|
69 | |
---|
70 | livecheck.type none |
---|
71 | } |
---|
72 | |
---|
73 | #livecheck (default sourceforge) |
---|