Ticket #48226: QMK-Groundstation_Portfile.diff
File QMK-Groundstation_Portfile.diff, 1.9 KB (added by michaelld (Michael Dickens), 9 years ago) |
---|
-
Portfile
3 3 4 4 PortSystem 1.0 5 5 PortGroup xcode 1.0 6 PortGroup q t41.06 PortGroup qmake 1.0 7 7 8 8 name QMK-Groundstation 9 9 version 1.0.1 10 revision 210 revision 3 11 11 maintainers lilalinux.net:macports 12 12 description Configuration and Debugging Utility for the MikroKopter Project 13 13 long_description Configuration and Debugging Utility for the MikroKopter Project. 14 14 homepage http://www.mikrokopter.de/ 15 15 16 master_sites http://svn.mikrokopter.de/ filedetails.php?repname=Projects&path=%2FQMK-Groundstation%2FRelease%2F16 master_sites http://svn.mikrokopter.de/websvn/listing.php?repname=Projects&path=%2FQMK-Groundstation%2FRelease%2F 17 17 distname ${name}-v${version} 18 18 extract.suffix .tgz 19 19 … … 23 23 24 24 worksrcdir ${name}_${version} 25 25 26 depends_lib-append port:qwt52 27 26 28 post-extract { 27 29 # rename worksrcdir to remove a space 28 30 file rename "${workpath}/${name} ${version}" ${workpath}/${worksrcdir} … … 35 37 ${worksrcpath}/osx.pro 36 38 } 37 39 38 configure.cmd ${qt_qmake_cmd} 39 configure.pre_args -spec macx-xcode osx.pro 40 configure.pre_args-append -spec macx-xcode osx.pro 41 42 # override the xcode PortGroup's setting, to use qmake for configure 40 43 use_configure yes 41 44 42 45 post-build { … … 48 51 xinstall -d -m 755 ${appPath} 49 52 file copy ${worksrcpath}/build/Release/${name}.app ${appPath}/${name}.app 50 53 } 51 52 variant qwt conflicts qwt52 description {Use qwt} {53 depends_lib-append port:qwt54 }55 56 variant qwt52 conflicts qwt description {Use qwt52} {57 depends_lib-append port:qwt5258 }59 60 if {![variant_isset qwt] && ![variant_isset qwt52]} {61 default_variants +qwt5262 }