[84625] trunk/dports/x11/quartz-wm/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Wed Sep 28 22:17:22 PDT 2011
Revision: 84625
http://trac.macports.org/changeset/84625
Author: jeremyhu at macports.org
Date: 2011-09-28 22:17:19 -0700 (Wed, 28 Sep 2011)
Log Message:
-----------
On SL and Lion, just install a symlink to the system quartz-wm
Modified Paths:
--------------
trunk/dports/x11/quartz-wm/Portfile
Modified: trunk/dports/x11/quartz-wm/Portfile
===================================================================
--- trunk/dports/x11/quartz-wm/Portfile 2011-09-29 04:39:50 UTC (rev 84624)
+++ trunk/dports/x11/quartz-wm/Portfile 2011-09-29 05:17:19 UTC (rev 84625)
@@ -4,7 +4,7 @@
name quartz-wm
version 1.0.3
-revision 1
+revision 2
categories x11
maintainers jeremyhu openmaintainer
description Apple's Window Manager for X11
@@ -43,11 +43,13 @@
xinstall -d -m 755 ${destroot}${prefix}/bin
if {${os.major} < 9} {
xinstall -m 755 ${worksrcpath}/quartz-wm-${version}-Tiger ${destroot}${prefix}/bin/quartz-wm
+ } elseif {${os.major} == 9} {
+ xinstall -m 755 ${worksrcpath}/quartz-wm-${version}-Leopard ${destroot}${prefix}/bin/quartz-wm
} else {
- xinstall -m 755 ${worksrcpath}/quartz-wm-${version}-Leopard ${destroot}${prefix}/bin/quartz-wm
+ ln -s /usr/bin/quartz-wm ${destroot}${prefix}/bin/quartz-wm
}
- if {${prefix} != "/opt/local"} {
+ if {${os.major} <= 9 && ${prefix} != "/opt/local"} {
system "install_name_tool -change /opt/local/lib/libXinerama.1.dylib ${prefix}/lib/libXinerama.1.dylib ${destroot}${prefix}/bin/quartz-wm"
system "install_name_tool -change /opt/local/lib/libXext.6.dylib ${prefix}/lib/libXext.6.dylib ${destroot}${prefix}/bin/quartz-wm"
system "install_name_tool -change /opt/local/lib/libX11.6.dylib ${prefix}/lib/libX11.6.dylib ${destroot}${prefix}/bin/quartz-wm"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110928/f3a55c4d/attachment-0001.html>
More information about the macports-changes
mailing list