# -*- 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
description Configuration and Debugging Utility for the MikroKopter Project
long_description Configuration and Debugging Utility for the MikroKopter Project.
homepage http://www.mikrokopter.de/
master_sites http://svn.mikrokopter.de/websvn/listing.php?repname=Projects&path=%2FQMK-Groundstation%2FRelease%2F
distname ${name}-v${version}
checksums md5 9b131ccbaebf6bfdd6c5aaf3094b0328 \
sha1 ced3a82e50fd2c69abbda23d3d091e5d158e7f1f \
rmd160 10de4f90afa99abbfa2638d8e09fa005a50a1579
worksrcdir ${name}_${version}
depends_lib-append port:qwt52
# rename worksrcdir to remove a space
file rename "${workpath}/${name} ${version}" ${workpath}/${worksrcdir}
# make sure ${prefix}/include and ${prefix}/include/qwt are in
reinplace "/INCLUDEPATH/ s@include@include ${prefix}/include/qwt@" \
configure.pre_args-append -spec macx-xcode osx.pro
# override the xcode PortGroup's setting, to use qmake for configure
delete ${worksrcpath}/build/bin/${name}.app
set appPath ${destroot}${applications_dir}
xinstall -d -m 755 ${appPath}
file copy ${worksrcpath}/build/Release/${name}.app ${appPath}/${name}.app