[74529] trunk/dports/graphics/libQGLViewer
Revision: 74529 http://trac.macports.org/changeset/74529 Author: raphael@macports.org Date: 2010-12-20 12:20:28 -0800 (Mon, 20 Dec 2010) Log Message: ----------- libQGLViewer: update to 2.3.9 Modified Paths: -------------- trunk/dports/graphics/libQGLViewer/Portfile trunk/dports/graphics/libQGLViewer/files/patch-QGLViewer.pro.diff Modified: trunk/dports/graphics/libQGLViewer/Portfile =================================================================== --- trunk/dports/graphics/libQGLViewer/Portfile 2010-12-20 19:38:31 UTC (rev 74528) +++ trunk/dports/graphics/libQGLViewer/Portfile 2010-12-20 20:20:28 UTC (rev 74529) @@ -4,8 +4,7 @@ PortSystem 1.0 name libQGLViewer -version 2.3.6 -revision 1 +version 2.3.9 platforms darwin maintainers raphael openmaintainer license GPL-2+ Commercial @@ -24,9 +23,9 @@ easy to extend. master_sites ${homepage}src/ -checksums md5 74453a6e50dcdf3044c0f9d5f93f3db0 \ - sha1 4d9089e8b5af2f52ece46a984efb5e54f5a90cfd \ - rmd160 799c2f1651796ab0a83230d65d827ad75e01e504 +checksums md5 a882cb3a8da4ee904a33b46ebb44f905 \ + sha1 687c6a5deb616871adf51dc9d89132fe49321820 \ + rmd160 691077851f1f7852103779ae6457baeeec6e7578 patchfiles patch-QGLViewer.pro.diff \ patch-designerPlugin.pro.diff @@ -42,8 +41,8 @@ set qt_plugins_dir ${prefix}/libexec/qt4-x11/plugins/designer } -post-patch { reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/QGLViewer/QGLViewer.pro - reinplace "s|@@QT_PLUGINS_DIR@@|${qt_plugins_dir}|g" ${worksrcpath}/designerPlugin/designerPlugin.pro +post-patch { + reinplace "s|@@QT_PLUGINS_DIR@@|${qt_plugins_dir}|g" ${worksrcpath}/designerPlugin/designerPlugin.pro } configure.pre_args PREFIX=${prefix} \ @@ -62,13 +61,6 @@ LICENCE \ README \ ${destroot}${prefix}/share/doc/${name} - - # Fix import and plugin library ID (self name) - foreach fixfile [exec find ${destroot}${prefix} \ - -name "*.dylib" -type f | \ - sed -e "s@${destroot}@@g" ] { - system "install_name_tool -id ${fixfile} ${destroot}${fixfile}" - } } livecheck.type regex Modified: trunk/dports/graphics/libQGLViewer/files/patch-QGLViewer.pro.diff =================================================================== --- trunk/dports/graphics/libQGLViewer/files/patch-QGLViewer.pro.diff 2010-12-20 19:38:31 UTC (rev 74528) +++ trunk/dports/graphics/libQGLViewer/files/patch-QGLViewer.pro.diff 2010-12-20 20:20:28 UTC (rev 74529) @@ -1,6 +1,6 @@ ---- QGLViewer/QGLViewer.pro.orig 2010-07-05 11:27:55.000000000 +0200 -+++ QGLViewer/QGLViewer.pro 2010-07-05 11:29:09.000000000 +0200 -@@ -232,9 +232,6 @@ +--- QGLViewer/QGLViewer.pro.orig 2010-12-20 18:37:10.000000000 +0100 ++++ QGLViewer/QGLViewer.pro 2010-12-20 18:37:54.000000000 +0100 +@@ -234,9 +234,6 @@ # -- M a c O S X -- # ------------------- macx|darwin-g++ { @@ -10,12 +10,3 @@ include.files *= qglviewer.icns lib_bundle { -@@ -252,7 +249,7 @@ - # Framework already installed, with includes - INSTALLS -= include target - } else { -- #QMAKE_LFLAGS_SONAME = -Wl,-install_name,libQGLViewer.dylib -+ QMAKE_LFLAGS_SONAME = -Wl,-install_name,@@PREFIX@@/lib/ - } - - # GLUT for Macintosh architecture
participants (1)
-
raphael@macports.org