diff options
| author | Jack Nagel | 2012-08-06 00:33:36 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-08-06 00:39:06 -0500 |
| commit | 7488b9844bc8cee2144767ff7939895b6a83de37 (patch) | |
| tree | 0de7badd42143f418d3dd76aa993dd7354ba9d98 /Library/Homebrew/macos | |
| parent | 3ea35f335128ebc2663f03f5da84a2c470660f1b (diff) | |
| download | brew-7488b9844bc8cee2144767ff7939895b6a83de37.tar.bz2 | |
Adjust XQuartz/X11 module naming scheme
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/macos')
| -rw-r--r-- | Library/Homebrew/macos/xquartz.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Library/Homebrew/macos/xquartz.rb b/Library/Homebrew/macos/xquartz.rb index d00c55680..cc7207d63 100644 --- a/Library/Homebrew/macos/xquartz.rb +++ b/Library/Homebrew/macos/xquartz.rb @@ -26,6 +26,16 @@ module MacOS::XQuartz extend self def installed? not prefix.nil? end +end + +module MacOS::X11 extend self + def prefix + MacOS::XQuartz.prefix + end + + def installed? + MacOS::XQuartz.installed? + end # If XQuartz and/or the CLT are installed, headers will be found under # /opt/X11/include or /usr/X11/include. For Xcode-only systems, they are |
