brew
https://github.com/homebrew/brew
Ruby
🍺 The missing package manager for macOS
OS::Mac::XQuartz.effective_prefix
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 found in the SDK, so we use sdk_path for both the headers and libraries. Confusingly, executables (e.g. config scripts) are only found under /opt/X11/bin or /usr/X11/bin in all cases.
Edit
git clone [email protected]:homebrew/brew.git
cd brew
open Library/Homebrew/os/mac/xquartz.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-OS--Mac--XQuartz-effective_prefix-for-pr
# Commit to gitgit add Library/Homebrew/os/mac/xquartz.rbgit commit -m "better docs for OS::Mac::XQuartz.effective_prefix"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-OS--Mac--XQuartz-effective_prefix-for-pr
hub pull-request
# Celebrate!