Ticket #44837: Portfile

File Portfile, 2.8 KB (added by jul_bsd@…, 10 years ago)
Line 
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
4PortSystem          1.0
5
6name                tsunamiudp
7version             1.1-cvsbuild42
8categories          net
9platforms           darwin
10maintainers         yahoo.fr:jul_bsd openmaintainer
11license             { original IU open source license }
12description         fast user-space file transfer protocol that uses TCP \
13                    control and UDP data for transfer over very high speed \
14                    long distance networks
15long_description    ${description}  ( 1 Gbps and even 10 GE), designed to \
16                    provide more throughput than possible with TCP over \
17                    the same networks. The project is based on original \
18                    Indiana University 2002 Tsunami source code, but has \
19                    been significantly improved and extended. As such, \
20                    large portions of the program today are courtesy by \
21                    Aalto University Metsähovi Radio Observatory. \
22                    Includes FTP-like client and server command line \
23                    applications for normal file transfers. It has \
24                    additionally been extended for high rate real-time \
25                    data streaming in eVLBI radio astronomy and geodesy \
26                    (VSIB, PCEVN DAQ).
27homepage            http://tsunami-udp.sourceforge.net/
28master_sites        sourceforge:tsunami-udp/tsunami-v${version}/
29distname            tsunami-v${version}
30worksrcdir          tsunami-udp-v11-b42
31
32depends_build       port:automake17
33#depends_lib         port:pkgconfig port:libnet11 port:libpcap port:pcre \
34
35## Patch are needed for clang: http://clang.llvm.org/compatibility.html#inline
36patchfiles          patch-client-command.c.diff patch-include-tsunami-client.h.diff
37
38use_autoreconf      yes
39use_automake        yes
40use_autoconf        yes
41
42variant universal {}
43
44build.args          CC=${configure.cc}
45configure.cflags-append "${configure.cflags} [get_canonical_archflags cc]"
46configure.ldflags-append "-L${worksrcpath}/client"
47
48if {${subport} eq ${name}} {
49
50    checksums           rmd160  72e502dd1bcd612d77a2cd0bf36cccf83a859016 \
51                        sha256  15ab389d9878a44739e3db8b864948e7fa054772c0e9b3158653fa765ff65239
52
53    livecheck.type      regex
54    livecheck.url       http://sourceforge.net/projects/tsunami-udp/files/tsunami-udp/
55    livecheck.regex     "tsunami-v(\\d+\.\\d+-cvsbuild\\d+)"
56}
57
58subport ${name}-devel {
59
60    version     20140829
61    fetch.type  cvs
62    cvs.root    :pserver:anonymous@tsunami-udp.cvs.sourceforge.net:/cvsroot/tsunami-udp
63    cvs.module  tsunami-udp
64    cvs.date    "29-August-2014"
65    worksrcdir  tsunami-udp
66
67    livecheck.type      none
68}
69