| | 25 | variant system_x11 description {Install a stub package to use the system X11 libraries rather than MacPorts} { |
| | 26 | if { [file exists ${x11prefix}/bin/mkfontdir] && ! [string equal ${prefix} ${x11prefix}] } { |
| | 27 | depends_build |
| | 28 | depends_lib |
| | 29 | depends_run |
| | 30 | fetch { } |
| | 31 | checksum { } |
| | 32 | extract { } |
| | 33 | patch { } |
| | 34 | build { } |
| | 35 | destroot { |
| | 36 | xinstall -d ${destroot}${prefix}/share/doc/${name} |
| | 37 | system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt" |
| | 38 | } |
| | 39 | use_configure no |
| | 40 | } |
| | 41 | } |
| | 42 | |