formula: define opt_pkgshare helper method.

Closes Homebrew/homebrew#42023.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Dominique Orban 2015-07-22 12:34:08 -04:00 committed by Mike McQuaid
parent ac738ae2cd
commit 68a13b240f

View File

@ -500,6 +500,7 @@ class Formula
def opt_libexec; opt_prefix+'libexec' end
def opt_sbin; opt_prefix+'sbin' end
def opt_share; opt_prefix+'share' end
def opt_pkgshare; opt_prefix+'share'+name end
def opt_frameworks; opt_prefix+'Frameworks' end
# Can be overridden to selectively disable bottles from formulae.