# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; truncate-lines: t -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
# $Id: Portfile 49224 2009-04-05 21:38:03Z macsforever2000@macports.org $

PortSystem          1.0
PortGroup           xcode 1.0

name                QMK-Groundstation
version             0.8.0
maintainers         lilalinux.net:macports
description         Configuration and Debugging Utility for the MikroKopter Project
long_description    Configuration and Debugging Utility for the MikroKopter Project.
homepage            http://www.mikrokopter.de/

depends_lib-append  port:qwt

fetch.type          svn
svn.url             http://mikrocontroller.cco-ev.de/mikrosvn/Projects/${name}/tags/V${version}/
worksrcdir          V${version}

configure.cmd       ${prefix}/bin/qmake-mac
configure.pre_args  -spec macx-xcode osx.pro
use_configure       yes

post-build {
        delete ${worksrcpath}/build/bin/${name}.app
}

destroot {
       	set appPath ${destroot}${applications_dir}
       	xinstall -d -m 755 ${appPath}
       	file copy ${worksrcpath}/build/Default/${name}.app ${appPath}/${name}.app
}
