source: trunk/dports/net/ostinato/Portfile

Last change on this file was 112934, checked in by g5pw@…, 4 years ago

net/ostinato:

fix build on Mavericks

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=portfile:et:sw=4:ts=4:sts=4
2# $Id: Portfile 112934 2013-11-04 15:55:17Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           qt4 1.0
6
7name                ostinato
8version             0.5.1
9maintainers         g5pw openmaintainer
10license             GPL-3+
11
12categories          net devel
13description         Ostinato is an open-source, cross-platform network packet \
14                    crafter/traffic generator and analyzer with a friendly GUI.
15long_description    ${description} Craft and send packets of several streams \
16                    with different protocols at different rates.
17
18platforms           darwin
19
20homepage            https://code.google.com/p/ostinato/
21
22depends_lib         port:qt4-mac \
23                    port:libpcap \
24                    port:protobuf-cpp
25
26master_sites        googlecode
27distname            ${name}-src-${version}
28
29checksums           rmd160  9893368914cc65b509ec2cfbf534c44c3eded5ee \
30                    sha256  fa19c857d73837cae23aa15d7309c1ddcf22c6f7be9f3ed15a23948142b24223
31
32worksrcdir          ${name}-${version}
33
34patchfiles          server_bsdport.cpp.diff
35
36post-patch {
37    reinplace "s|/Applications/|${applications_dir}|" ${worksrcpath}/install.pri
38}
39
40# As per install instructions
41configure.cmd           qmake
42configure.pre_args  -spec macx-g++
43
44# qmake doesn't recognize the --disable-dependency-tracking flag
45configure.universal_args-delete \
46                    --disable-dependency-tracking
47
Note: See TracBrowser for help on using the repository browser.