Ignore:
Timestamp:
Jan 4, 2009, 8:47:09 PM (9 years ago)
Author:
jeremyhu@…
Message:

xorg-lib* mesa xrender Xft2 xpm: Added system_x11 variant which causes this port to be a stub, thus allowing dependent ports to link against libs in x11prefix instead of prefix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/x11/xorg-libXt/Portfile

    r44489 r44922  
    3434livecheck.regex libXt-(\\d+(?:\\.\\d+)*)
    3535
     36
     37variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} {
     38        if { [file exists ${x11prefix}/lib/libXt.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
     39                fetch           { }
     40                checksum        { }
     41                build           { }
     42                destroot        {
     43                        xinstall -d ${destroot}${prefix}/share/doc/${name}
     44                        system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
     45                }
     46                use_configure no
     47        }
     48}
Note: See TracChangeset for help on using the changeset viewer.