Changeset 84625


Ignore:
Timestamp:
Sep 29, 2011, 5:17:19 AM (6 years ago)
Author:
jeremyhu@…
Message:

On SL and Lion, just install a symlink to the system quartz-wm

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/x11/quartz-wm/Portfile

    r50860 r84625  
    55name            quartz-wm
    66version         1.0.3
    7 revision        1
     7revision        2
    88categories      x11
    99maintainers     jeremyhu openmaintainer
     
    4444        if {${os.major} < 9} {
    4545                xinstall -m 755 ${worksrcpath}/quartz-wm-${version}-Tiger ${destroot}${prefix}/bin/quartz-wm
     46        } elseif {${os.major} == 9} {
     47                xinstall -m 755 ${worksrcpath}/quartz-wm-${version}-Leopard ${destroot}${prefix}/bin/quartz-wm
    4648        } else {
    47                 xinstall -m 755 ${worksrcpath}/quartz-wm-${version}-Leopard ${destroot}${prefix}/bin/quartz-wm
     49                ln -s /usr/bin/quartz-wm ${destroot}${prefix}/bin/quartz-wm
    4850        }
    4951
    50         if {${prefix} != "/opt/local"} {
     52        if {${os.major} <= 9 && ${prefix} != "/opt/local"} {
    5153                system "install_name_tool -change /opt/local/lib/libXinerama.1.dylib ${prefix}/lib/libXinerama.1.dylib ${destroot}${prefix}/bin/quartz-wm"
    5254                system "install_name_tool -change /opt/local/lib/libXext.6.dylib ${prefix}/lib/libXext.6.dylib ${destroot}${prefix}/bin/quartz-wm"
Note: See TracChangeset for help on using the changeset viewer.