[69499] trunk/dports/aqua/QMK-Groundstation/Portfile
michaelld at macports.org
michaelld at macports.org
Wed Jul 7 20:10:27 PDT 2010
Revision: 69499
http://trac.macports.org/changeset/69499
Author: michaelld at macports.org
Date: 2010-07-07 20:10:27 -0700 (Wed, 07 Jul 2010)
Log Message:
-----------
Bump to 1.0.1 (latest version); fixed use of qt4-mac; added variants
for qwt and qwt52, and corrected inclusion of qwt's header path.
Modified Paths:
--------------
trunk/dports/aqua/QMK-Groundstation/Portfile
Modified: trunk/dports/aqua/QMK-Groundstation/Portfile
===================================================================
--- trunk/dports/aqua/QMK-Groundstation/Portfile 2010-07-08 02:33:15 UTC (rev 69498)
+++ trunk/dports/aqua/QMK-Groundstation/Portfile 2010-07-08 03:10:27 UTC (rev 69499)
@@ -5,19 +5,37 @@
PortGroup xcode 1.0
name QMK-Groundstation
-version 0.8.0
+version 1.0.1
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
+master_sites http://svn.mikrokopter.de/filedetails.php?repname=Projects&path=%2FQMK-Groundstation%2FRelease%2F
+distname ${name}-v${version}
+extract.suffix .tgz
-fetch.type svn
-svn.url http://mikrocontroller.cco-ev.de/mikrosvn/Projects/${name}/tags/V${version}/
-worksrcdir V${version}
+checksums md5 9b131ccbaebf6bfdd6c5aaf3094b0328 \
+ sha1 ced3a82e50fd2c69abbda23d3d091e5d158e7f1f \
+ rmd160 10de4f90afa99abbfa2638d8e09fa005a50a1579
-configure.cmd ${prefix}/bin/qmake-mac
+worksrcdir ${name}_${version}
+
+post-extract {
+ # rename worksrcdir to remove a space
+ file rename "${workpath}/${name} ${version}" ${workpath}/${worksrcdir}
+}
+
+post-patch {
+ # make sure ${prefix}/include and ${prefix}/include/qwt are in
+ # 'qmake's INCLUDEPATH
+ reinplace "/INCLUDEPATH/ s at include@include ${prefix}/include/qwt@" \
+ ${worksrcpath}/osx.pro
+}
+
+set qt_dir ${prefix}/libexec/qt4-mac
+
+configure.cmd ${qt_dir}/bin/qmake
configure.pre_args -spec macx-xcode osx.pro
use_configure yes
@@ -30,3 +48,15 @@
xinstall -d -m 755 ${appPath}
file copy ${worksrcpath}/build/Default/${name}.app ${appPath}/${name}.app
}
+
+variant qwt conflicts qwt52 description {Use qwt} {
+ depends_lib-append port:qwt
+}
+
+variant qwt52 conflicts qwt description {Use qwt52} {
+ depends_lib-append port:qwt52
+}
+
+if {![variant_isset qwt] && ![variant_isset qwt52]} {
+ default_variants +qwt52
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100707/27d881a7/attachment.html>
More information about the macports-changes
mailing list