5 | | name spread |
6 | | version 3.17.3 |
7 | | categories devel |
8 | | license Restrictive |
9 | | platforms darwin |
10 | | maintainers nomaintainer |
11 | | description configurable logging for C++ |
12 | | long_description Spread is a toolkit that provides a high performance \ |
13 | | messaging service that is resilient to faults across external \ |
14 | | or internal networks. |
15 | | |
16 | | homepage http://www.spread.org/ |
17 | | master_sites http://www.cnds.jhu.edu/download/noformdown/ |
18 | | distname spread-src-${version} |
19 | | checksums md5 2eec25b5adc96fd840aa251e44325f9f |
20 | | patchfiles patch-Makefile.in |
| 6 | name spread |
| 7 | version 4.4.0 |
| 8 | categories devel |
| 9 | license Restrictive |
| 10 | platforms darwin |
| 11 | maintainers khindenburg openmaintainer |
| 12 | |
| 13 | description A Reliable Multicast and Group Communication Toolkit |
| 14 | long_description Spread is a toolkit that provides a high performance \ |
| 15 | messaging service that is resilient to faults across \ |
| 16 | external or internal networks. Spread currently has \ |
| 17 | programming API's for C/C++, C#, Java, Perl, Python \ |
| 18 | and Ruby. |
| 19 | |
| 20 | homepage http://www.spread.org |
| 21 | master_sites http://www.spread.org/download/ |
| 22 | distname spread-src-${version} |
| 23 | |
| 24 | depends_fetch-append port:curl |
| 25 | depends_build-append port:cctools |
| 26 | |
| 27 | fetch { |
| 28 | system "cd ${distpath} && curl --location --remote-name [lindex ${master_sites} 0]/[lindex ${distfiles} 0] --data FILE=[lindex ${distfiles} 0] --data name=MacPorts --data company=MacPorts --data email=[lindex ${maintainers} 0]@macports.org --data Stage=Download" |
| 29 | } |
| 30 | |
| 31 | checksums rmd160 f05cbca46efdd9dd1a4219188f4a5483188bb109 \ |
| 32 | sha256 5beb09fe27cdb8332075847af0b9288e58ba8cdcf5c7cc685fd57c6b65680f4d |
| 33 | |
| 34 | configure.args --mandir=${prefix}/share/man \ |
| 35 | --with-pid-dir=${prefix}/var/run |
| 36 | |
| 37 | post-patch { |
| 38 | set LIBFULLVERSION ${version} |
| 39 | set LIBCOMPATVERSION [join [lrange [split ${version} .] 0 2] .] |
| 40 | set LIBVERSION [join [lrange [split ${version} .] 0 1] .] |
| 41 | reinplace "s|^LIBFULLVERSION=3.0.0\$|LIBFULLVERSION=${LIBFULLVERSION}|" \ |
| 42 | ${worksrcpath}/libspread/Makefile.in |
| 43 | reinplace "s|^LIBVERSION=3\$|LIBVERSION=${LIBVERSION}|" \ |
| 44 | ${worksrcpath}/libspread/Makefile.in |
| 45 | } |
| 46 | |
| 47 | post-destroot { |
| 48 | foreach dylib [glob -nocomplain -directory ${destroot}${prefix}/lib -tails *${version}.dylib] { |
| 49 | system "install_name_tool -id ${prefix}/lib/${dylib} ${destroot}${prefix}/lib/${dylib}" |
| 50 | } |
| 51 | } |