[44230] trunk/dports/graphics/qwt/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Tue Dec 23 13:44:36 PST 2008


Revision: 44230
          http://trac.macports.org/changeset/44230
Author:   mcalhoun at macports.org
Date:     2008-12-23 13:44:35 -0800 (Tue, 23 Dec 2008)
Log Message:
-----------
qwt: Accommodate changes to qt4-mac (r44214).

Modified Paths:
--------------
    trunk/dports/graphics/qwt/Portfile

Modified: trunk/dports/graphics/qwt/Portfile
===================================================================
--- trunk/dports/graphics/qwt/Portfile	2008-12-23 21:43:09 UTC (rev 44229)
+++ trunk/dports/graphics/qwt/Portfile	2008-12-23 21:44:35 UTC (rev 44230)
@@ -5,7 +5,7 @@
 
 name                qwt
 version             5.1.0
-revision            1
+revision            2
 categories          graphics science
 maintainers         nomaintainer
 description         Qt Widgets for Technical Applications
@@ -25,14 +25,16 @@
 
 patchfiles          patch-qwtconfig.pri.diff
 
-configure.cmd       qmake
+set qt_dir          ${prefix}/libexec/qt4-mac
+
+configure.cmd       ${qt_dir}/bin/qmake
 configure.pre_args  INSTALLBASE="${prefix}"
 destroot.destdir    INSTALL_ROOT="${destroot}"
 
 post-destroot {
     # fix install-name of dynamic library
     system "install_name_tool -id ${prefix}/lib/libqwt.${version}.dylib ${destroot}${prefix}/lib/libqwt.${version}.dylib"
-    system "install_name_tool -change libqwt.5.dylib ${prefix}/lib/libqwt.5.dylib ${destroot}${prefix}/lib/qt4-mac-plugins/designer/libqwt_designer_plugin.bundle"
+    system "install_name_tool -change libqwt.5.dylib ${prefix}/lib/libqwt.5.dylib ${destroot}${qt_dir}/plugins/designer/libqwt_designer_plugin.bundle"
 }
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081223/0a45c581/attachment.html>


More information about the macports-changes mailing list