# -*- 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 # $Id: Portfile 112934 2013-11-04 15:55:17Z g5pw@macports.org $ PortSystem 1.0 PortGroup qt4 1.0 name ostinato version 0.5.1 maintainers g5pw openmaintainer license GPL-3+ categories net devel description Ostinato is an open-source, cross-platform network packet \ crafter/traffic generator and analyzer with a friendly GUI. long_description ${description} Craft and send packets of several streams \ with different protocols at different rates. platforms darwin homepage https://code.google.com/p/ostinato/ depends_lib port:qt4-mac \ port:libpcap \ port:protobuf-cpp master_sites googlecode distname ${name}-src-${version} checksums rmd160 9893368914cc65b509ec2cfbf534c44c3eded5ee \ sha256 fa19c857d73837cae23aa15d7309c1ddcf22c6f7be9f3ed15a23948142b24223 worksrcdir ${name}-${version} patchfiles server_bsdport.cpp.diff post-patch { reinplace "s|/Applications/|${applications_dir}|" ${worksrcpath}/install.pri } # As per install instructions configure.cmd qmake configure.pre_args -spec macx-g++ # qmake doesn't recognize the --disable-dependency-tracking flag configure.universal_args-delete \ --disable-dependency-tracking