1 | 80a81,104 |
---|
2 | > |
---|
3 | > platform darwin 8 { |
---|
4 | > patchfiles patch-src-qt_install.pri \ |
---|
5 | > patch-mkspecs-qmake.conf \ |
---|
6 | > patch-mkspecs-qplatformdefs.h \ |
---|
7 | > patch-src-kernel-qaccessible_mac.cpp |
---|
8 | > post-destroot { |
---|
9 | > system "sh ${filespath}/fix_install_names.sh '${prefix}' '${destroot}'" |
---|
10 | > set appPath ${destroot}/Applications/DarwinPorts/Qt |
---|
11 | > xinstall -d -m 0755 ${appPath} |
---|
12 | > foreach app {assistant designer linguist qtconfig} { |
---|
13 | > system "mv -v ${destroot}${prefix}/bin/${app}.app \ |
---|
14 | > ${appPath}/${app}.app" |
---|
15 | > } |
---|
16 | > if {![file exists ${destroot}${prefix}/lib/libqt.dylib]} { |
---|
17 | > set majorver [strsed ${version} {s/\.[0-9]*\.[0-9]*$//}] |
---|
18 | > set minorver [strsed ${version} {s/\.[0-9]*$//}] |
---|
19 | > cd ${destroot}${prefix}/lib |
---|
20 | > system "ln -s libqt-mt.${version}.dylib libqt.dylib" |
---|
21 | > system "ln -s libqt-mt.${version}.dylib libqt.${majorver}.dylib" |
---|
22 | > system "ln -s libqt-mt.${version}.dylib libqt.${minorver}.dylib" |
---|
23 | > } |
---|
24 | > } |
---|
25 | > } |
---|