use opt shortcuts
This commit is contained in:
parent
c950421139
commit
f7c8f449ac
96 changed files with 123 additions and 123 deletions
|
@ -27,7 +27,7 @@ class Aiccu < Formula
|
|||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/sbin/aiccu</string>
|
||||
<string>#{opt_sbin}/aiccu</string>
|
||||
<string>start</string>
|
||||
<string>#{etc}/aiccu.conf</string>
|
||||
</array>
|
||||
|
|
|
@ -44,7 +44,7 @@ class AptCacherNg < Formula
|
|||
<true/>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/sbin/apt-cacher-ng</string>
|
||||
<string>#{opt_sbin}/apt-cacher-ng</string>
|
||||
<string>-c</string>
|
||||
<string>#{etc}/apt-cacher-ng</string>
|
||||
<string>foreground=1</string>
|
||||
|
|
|
@ -75,7 +75,7 @@ class Arangodb < Formula
|
|||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/sbin/arangod</string>
|
||||
<string>#{opt_sbin}/arangod</string>
|
||||
<string>-c</string>
|
||||
<string>#{etc}/arangodb/arangod.conf</string>
|
||||
</array>
|
||||
|
|
|
@ -53,7 +53,7 @@ class Avidemux < Formula
|
|||
mkdir 'buildCore' do
|
||||
args = std_cmake_args
|
||||
args << "-DAVIDEMUX_SOURCE_DIR=#{buildpath}"
|
||||
args << "-DGETTEXT_INCLUDE_DIR=#{Formula['gettext'].opt_prefix}/include"
|
||||
args << "-DGETTEXT_INCLUDE_DIR=#{Formula["gettext"].opt_include}"
|
||||
# Todo: We could depend on SDL and then remove the `-DSDL=OFF` arguments
|
||||
# but I got build errors about NSview.
|
||||
args << "-DSDL=OFF"
|
||||
|
|
|
@ -34,7 +34,7 @@ class AwsIamTools < AmazonWebServicesFormula
|
|||
* On Zsh, add them to `~/.zprofile` instead.
|
||||
|
||||
export JAVA_HOME="$(/usr/libexec/java_home)"
|
||||
export AWS_IAM_HOME="#{opt_prefix}/libexec"
|
||||
export AWS_IAM_HOME="#{opt_libexec}"
|
||||
export AWS_CREDENTIAL_FILE=$HOME/.aws-credentials-master
|
||||
EOS
|
||||
end
|
||||
|
|
|
@ -35,7 +35,7 @@ class Beansdb < Formula
|
|||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/beansdb</string>
|
||||
<string>#{opt_bin}/beansdb</string>
|
||||
<string>-p</string>
|
||||
<string>7900</string>
|
||||
<string>-H</string>
|
||||
|
|
|
@ -22,7 +22,7 @@ class Beanstalk < Formula
|
|||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/beanstalkd</string>
|
||||
<string>#{opt_bin}/beanstalkd</string>
|
||||
</array>
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
|
|
|
@ -255,7 +255,7 @@ class Bind < Formula
|
|||
<true/>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/sbin/named</string>
|
||||
<string>#{opt_sbin}/named</string>
|
||||
<string>-f</string>
|
||||
<string>-c</string>
|
||||
<string>#{etc}/named.conf</string>
|
||||
|
|
|
@ -41,7 +41,7 @@ class Burp < Formula
|
|||
<false/>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/burp</string>
|
||||
<string>#{opt_bin}/burp</string>
|
||||
<string>-a</string>
|
||||
<string>t</string>
|
||||
</array>
|
||||
|
|
|
@ -58,7 +58,7 @@ class Cassandra < Formula
|
|||
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/cassandra</string>
|
||||
<string>#{opt_bin}/cassandra</string>
|
||||
<string>-f</string>
|
||||
</array>
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ class Ccache < Formula
|
|||
def caveats; <<-EOS.undent
|
||||
To install symlinks for compilers that will automatically use
|
||||
ccache, prepend this directory to your PATH:
|
||||
#{opt_prefix}/libexec
|
||||
#{opt_libexec}
|
||||
|
||||
If this is an upgrade and you have previously added the symlinks to
|
||||
your PATH, you may need to modify it to the path specified above so
|
||||
|
|
|
@ -14,7 +14,7 @@ class Chruby < Formula
|
|||
def caveats; <<-EOS.undent
|
||||
Add the following to the ~/.bashrc or ~/.zshrc file:
|
||||
|
||||
source #{opt_prefix}/share/chruby/chruby.sh
|
||||
source #{opt_share}/chruby/chruby.sh
|
||||
|
||||
By default chruby will search for Rubies installed into /opt/rubies/ or
|
||||
~/.rubies/. For non-standard installation locations, simply set the RUBIES
|
||||
|
@ -34,7 +34,7 @@ class Chruby < Formula
|
|||
To enable auto-switching of Rubies specified by .ruby-version files,
|
||||
add the following to ~/.bashrc or ~/.zshrc:
|
||||
|
||||
source #{opt_prefix}/share/chruby/auto.sh
|
||||
source #{opt_share}/chruby/auto.sh
|
||||
EOS
|
||||
end
|
||||
end
|
||||
|
|
|
@ -30,7 +30,7 @@ class Clipper < Formula
|
|||
<string>#{HOMEBREW_PREFIX}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/clipper</string>
|
||||
<string>#{opt_bin}/clipper</string>
|
||||
<string>--address</string>
|
||||
<string>127.0.0.1</string>
|
||||
<string>--port</string>
|
||||
|
|
|
@ -33,12 +33,12 @@ class Coreutils < Formula
|
|||
If you really need to use these commands with their normal names, you
|
||||
can add a "gnubin" directory to your PATH from your bashrc like:
|
||||
|
||||
PATH="#{opt_prefix}/libexec/gnubin:$PATH"
|
||||
PATH="#{opt_libexec}/gnubin:$PATH"
|
||||
|
||||
Additionally, you can access their man pages with normal names if you add
|
||||
the "gnuman" directory to your MANPATH from your bashrc as well:
|
||||
|
||||
MANPATH="#{opt_prefix}/libexec/gnuman:$MANPATH"
|
||||
MANPATH="#{opt_libexec}/gnuman:$MANPATH"
|
||||
|
||||
EOS
|
||||
end
|
||||
|
|
|
@ -44,7 +44,7 @@ class CouchdbLucene < Formula
|
|||
</dict>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/run</string>
|
||||
<string>#{opt_bin}/run</string>
|
||||
</array>
|
||||
<key>StandardOutPath</key>
|
||||
<string>/dev/null</string>
|
||||
|
|
|
@ -67,7 +67,7 @@ class Couchdb < Formula
|
|||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/couchdb</string>
|
||||
<string>#{opt_bin}/couchdb</string>
|
||||
</array>
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
|
|
|
@ -22,7 +22,7 @@ class Couchpotatoserver < Formula
|
|||
<key>Label</key>
|
||||
<string>#{plist_name}</string>
|
||||
<key>Program</key>
|
||||
<string>#{opt_prefix}/bin/couchpotatoserver</string>
|
||||
<string>#{opt_bin}/couchpotatoserver</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>--quiet</string>
|
||||
|
|
|
@ -12,7 +12,7 @@ class CurlCaBundle < Formula
|
|||
def caveats; <<-EOS.undent
|
||||
To use these certificates with OpenSSL:
|
||||
|
||||
export SSL_CERT_FILE=#{opt_prefix}/share/ca-bundle.crt
|
||||
export SSL_CERT_FILE=#{opt_share}/ca-bundle.crt
|
||||
EOS
|
||||
end
|
||||
end
|
||||
|
|
|
@ -21,7 +21,7 @@ class Dart < Formula
|
|||
|
||||
def caveats; <<-EOS.undent
|
||||
To use with IntelliJ, set the Dart home to:
|
||||
#{opt_prefix}/libexec
|
||||
#{opt_libexec}
|
||||
EOS
|
||||
end
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ class Ddclient < Formula
|
|||
def caveats; <<-EOS.undent
|
||||
For ddclient to work, you will need to create a configuration file
|
||||
in #{etc}/ddclient, a sample configuration can be found in
|
||||
#{opt_prefix}/share/doc/ddclient.
|
||||
#{opt_share}/doc/ddclient.
|
||||
|
||||
Note: don't enable daemon mode in the configuration file; see
|
||||
additional information below.
|
||||
|
@ -62,7 +62,7 @@ class Ddclient < Formula
|
|||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/sbin/ddclient</string>
|
||||
<string>#{opt_sbin}/ddclient</string>
|
||||
<string>-file</string>
|
||||
<string>#{etc}/ddclient/ddclient.conf</string>
|
||||
</array>
|
||||
|
|
|
@ -66,7 +66,7 @@ class DnscryptProxy < Formula
|
|||
<true/>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/sbin/dnscrypt-proxy</string>
|
||||
<string>#{opt_sbin}/dnscrypt-proxy</string>
|
||||
<string>--local-address=127.0.0.1:53</string>
|
||||
<string>--user=nobody</string>
|
||||
</array>
|
||||
|
|
|
@ -57,7 +57,7 @@ class Dnsmasq < Formula
|
|||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/sbin/dnsmasq</string>
|
||||
<string>#{opt_sbin}/dnsmasq</string>
|
||||
<string>--keep-in-foreground</string>
|
||||
</array>
|
||||
<key>KeepAlive</key>
|
||||
|
|
|
@ -97,7 +97,7 @@ class Erlang < Formula
|
|||
|
||||
def caveats; <<-EOS.undent
|
||||
Man pages can be found in:
|
||||
#{opt_prefix}/lib/erlang/man
|
||||
#{opt_lib}/erlang/man
|
||||
|
||||
Access them with `erl -man`, or add this directory to MANPATH.
|
||||
EOS
|
||||
|
|
|
@ -19,12 +19,12 @@ class Ettercap < Formula
|
|||
end
|
||||
|
||||
def install
|
||||
libnet = Formula['libnet']
|
||||
libnet = Formula['libnet'].opt_lib
|
||||
|
||||
args = ['..'] + std_cmake_args + [
|
||||
"-DINSTALL_SYSCONFDIR=#{etc}",
|
||||
'-DENABLE_GTK=OFF',
|
||||
"-DHAVE_LIBNET:FILEPATH=#{libnet.opt_prefix}/lib/libnet.dylib"
|
||||
"-DHAVE_LIBNET:FILEPATH=#{libnet}/libnet.dylib"
|
||||
]
|
||||
|
||||
mkdir "build" do
|
||||
|
|
|
@ -39,7 +39,7 @@ class Fail2ban < Formula
|
|||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/fail2ban-client</string>
|
||||
<string>#{opt_bin}/fail2ban-client</string>
|
||||
<string>-x</string>
|
||||
<string>start</string>
|
||||
</array>
|
||||
|
|
|
@ -68,7 +68,7 @@ class Freediameter < Formula
|
|||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/freeDiameterd</string>
|
||||
<string>#{opt_bin}/freeDiameterd</string>
|
||||
</array>
|
||||
<key>KeepAlive</key>
|
||||
<dict>
|
||||
|
|
|
@ -74,7 +74,7 @@ class Fuseki < Formula
|
|||
<false/>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/fuseki-server</string>
|
||||
<string>#{opt_bin}/fuseki-server</string>
|
||||
<string>--config</string>
|
||||
<string>/usr/local/etc/fuseki.ttl</string>
|
||||
</array>
|
||||
|
|
|
@ -209,8 +209,8 @@ class Gdal < Formula
|
|||
#
|
||||
# Fortunately, this can be remedied using LDFLAGS.
|
||||
sqlite = Formula["sqlite"]
|
||||
ENV.append 'LDFLAGS', "-L#{sqlite.opt_prefix}/lib -lsqlite3"
|
||||
ENV.append 'CFLAGS', "-I#{sqlite.opt_prefix}/include"
|
||||
ENV.append 'LDFLAGS', "-L#{sqlite.opt_lib} -lsqlite3"
|
||||
ENV.append 'CFLAGS', "-I#{sqlite.opt_include}"
|
||||
# Needed by libdap
|
||||
ENV.libxml2 if build.include? 'complete'
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ class Gearman < Formula
|
|||
args = ["--prefix=#{prefix}"]
|
||||
args << "--without-mysql" unless build.with? 'mysql'
|
||||
if build.with? 'postgresql'
|
||||
pg_config = "#{Formula['postgresql'].opt_prefix}/bin/pg_config"
|
||||
pg_config = "#{Formula["postgresql"].opt_bin}/pg_config"
|
||||
args << "--with-postgresql=#{pg_config}"
|
||||
end
|
||||
system "./configure", *args
|
||||
|
@ -44,7 +44,7 @@ class Gearman < Formula
|
|||
<key>Label</key>
|
||||
<string>#{plist_name}</string>
|
||||
<key>Program</key>
|
||||
<string>#{opt_prefix}/sbin/gearmand</string>
|
||||
<string>#{opt_sbin}/gearmand</string>
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
</dict>
|
||||
|
|
|
@ -13,7 +13,7 @@ class Gitbucket < Formula
|
|||
def install
|
||||
if build.head?
|
||||
system "ant"
|
||||
libexec.install 'war/target/gitbucket.war', '.'
|
||||
libexec.install "war/target/gitbucket.war", "."
|
||||
else
|
||||
libexec.install "gitbucket.war"
|
||||
end
|
||||
|
@ -33,7 +33,7 @@ class Gitbucket < Formula
|
|||
<string>/usr/bin/java</string>
|
||||
<string>-Dmail.smtp.starttls.enable=true</string>
|
||||
<string>-jar</string>
|
||||
<string>#{opt_prefix}/libexec/gitbucket.war</string>
|
||||
<string>#{opt_libexec}/gitbucket.war</string>
|
||||
<string>--host=127.0.0.1</string>
|
||||
<string>--port=8080</string>
|
||||
<string>--https=true</string>
|
||||
|
|
|
@ -16,10 +16,10 @@ class Glassfish < Formula
|
|||
|
||||
def caveats; <<-EOS.undent
|
||||
The home of GlassFish Application Server 4 is:
|
||||
#{opt_prefix}/libexec
|
||||
#{opt_libexec}
|
||||
|
||||
You may want to add the following to your .bash_profile:
|
||||
export GLASSFISH_HOME=#{opt_prefix}/libexec
|
||||
export GLASSFISH_HOME=#{opt_libexec}
|
||||
export PATH=${PATH}:${GLASSFISH_HOME}/bin
|
||||
|
||||
Note: The support scripts used by GlassFish Application Server 4
|
||||
|
|
|
@ -26,12 +26,12 @@ class GnuSed < Formula
|
|||
If you need to use these commands with their normal names, you
|
||||
can add a "gnubin" directory to your PATH from your bashrc like:
|
||||
|
||||
PATH="#{opt_prefix}/libexec/gnubin:$PATH"
|
||||
PATH="#{opt_libexec}/gnubin:$PATH"
|
||||
|
||||
Additionally, you can access their man pages with normal names if you add
|
||||
the "gnuman" directory to your MANPATH from your bashrc as well:
|
||||
|
||||
MANPATH="#{opt_prefix}/libexec/gnuman:$MANPATH"
|
||||
MANPATH="#{opt_libexec}/gnuman:$MANPATH"
|
||||
|
||||
EOS
|
||||
end
|
||||
|
|
|
@ -29,7 +29,7 @@ class GnuTar < Formula
|
|||
If you really need to use it as 'tar', you can add a 'gnubin' directory
|
||||
to your PATH from your bashrc like:
|
||||
|
||||
PATH="#{opt_prefix}/libexec/gnubin:$PATH"
|
||||
PATH="#{opt_libexec}/gnubin:$PATH"
|
||||
EOS
|
||||
end
|
||||
end
|
||||
|
|
|
@ -24,8 +24,8 @@ class GpgAgent < Formula
|
|||
system "./configure", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}",
|
||||
"--enable-agent-only",
|
||||
"--with-pinentry-pgm=#{Formula['pinentry'].opt_prefix}/bin/pinentry",
|
||||
"--with-scdaemon-pgm=#{Formula['gnupg2'].opt_prefix}/libexec/scdaemon"
|
||||
"--with-pinentry-pgm=#{Formula["pinentry"].opt_bin}/pinentry",
|
||||
"--with-scdaemon-pgm=#{Formula["gnupg2"].opt_libexec}/scdaemon"
|
||||
system "make install"
|
||||
end
|
||||
end
|
||||
|
|
|
@ -14,7 +14,7 @@ class Grails < Formula
|
|||
|
||||
def caveats; <<-EOS.undent
|
||||
The GRAILS_HOME directory is:
|
||||
#{opt_prefix}/libexec
|
||||
#{opt_libexec}
|
||||
EOS
|
||||
end
|
||||
end
|
||||
|
|
|
@ -57,7 +57,7 @@ class Grass < Formula
|
|||
"--with-lapack",
|
||||
"--with-sqlite",
|
||||
"--with-odbc",
|
||||
"--with-geos=#{Formula["geos"].opt_prefix}/bin/geos-config",
|
||||
"--with-geos=#{Formula["geos"].opt_bin}/geos-config",
|
||||
"--with-png",
|
||||
"--with-readline-includes=#{readline}/include",
|
||||
"--with-readline-libs=#{readline}/lib",
|
||||
|
@ -78,7 +78,7 @@ class Grass < Formula
|
|||
if headless? or build.without? 'wxmac'
|
||||
args << "--without-wxwidgets"
|
||||
else
|
||||
args << "--with-wxwidgets=#{Formula["wxmac"].opt_prefix}/bin/wx-config"
|
||||
args << "--with-wxwidgets=#{Formula["wxmac"].opt_bin}/wx-config"
|
||||
end
|
||||
|
||||
args << "--enable-64bit" if MacOS.prefer_64_bit?
|
||||
|
|
|
@ -27,7 +27,7 @@ class Groovy < Formula
|
|||
def caveats
|
||||
<<-EOS.undent
|
||||
You should set the environment variable GROOVY_HOME to
|
||||
#{opt_prefix}/libexec
|
||||
#{opt_libexec}
|
||||
EOS
|
||||
end
|
||||
end
|
||||
|
|
|
@ -38,7 +38,7 @@ class H2 < Formula
|
|||
<false/>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/h2</string>
|
||||
<string>#{opt_bin}/h2</string>
|
||||
<string>-tcp</string>
|
||||
<string>-web</string>
|
||||
<string>-pg</string>
|
||||
|
|
|
@ -30,7 +30,7 @@ class Headphones < Formula
|
|||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/headphones</string>
|
||||
<string>#{opt_bin}/headphones</string>
|
||||
<string>-q</string>
|
||||
<string>-d</string>
|
||||
<string>--nolaunch</string>
|
||||
|
|
|
@ -18,12 +18,12 @@ class Htmlcompressor < Formula
|
|||
if build.include? 'yuicompressor'
|
||||
yui = Formula["yuicompressor"]
|
||||
yui_jar = "yuicompressor-#{yui.version}.jar"
|
||||
ln_s "#{yui.opt_prefix}/libexec/#{yui_jar}", "#{libexec}/#{yui_jar}"
|
||||
ln_s "#{yui.opt_libexec}/#{yui_jar}", "#{libexec}/#{yui_jar}"
|
||||
end
|
||||
|
||||
if build.include? 'closure-compiler'
|
||||
closure = Formula["closure-compiler"]
|
||||
ln_s "#{closure.opt_prefix}/libexec/build/compiler.jar", "#{libexec}/compiler.jar"
|
||||
ln_s "#{closure.opt_libexec}/build/compiler.jar", "#{libexec}/compiler.jar"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ class Influxdb < Formula
|
|||
inreplace "config.toml.sample" do |s|
|
||||
s.gsub! "/tmp/influxdb/development/db", "#{var}/influxdb/data"
|
||||
s.gsub! "/tmp/influxdb/development/raft", "#{var}/influxdb/raft"
|
||||
s.gsub! "./admin", "#{opt_prefix}/share/admin"
|
||||
s.gsub! "./admin", "#{opt_share}/admin"
|
||||
end
|
||||
|
||||
bin.install "daemon" => "influxdb"
|
||||
|
@ -62,7 +62,7 @@ class Influxdb < Formula
|
|||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/influxdb</string>
|
||||
<string>#{opt_bin}/influxdb</string>
|
||||
<string>-config=#{etc}/influxdb.conf</string>
|
||||
</array>
|
||||
<key>RunAtLoad</key>
|
||||
|
|
|
@ -47,7 +47,7 @@ class IrcdHybrid < Formula
|
|||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/sbin/ircd</string>
|
||||
<string>#{opt_sbin}/ircd</string>
|
||||
</array>
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
|
|
|
@ -104,7 +104,7 @@ class IscDhcp < Formula
|
|||
<key>Label</key><string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/sbin/dhcpd</string>
|
||||
<string>#{opt_sbin}/dhcpd</string>
|
||||
<string>-f</string>
|
||||
</array>
|
||||
<key>Disabled</key><false/>
|
||||
|
@ -126,7 +126,7 @@ class IscDhcp < Formula
|
|||
<key>Label</key><string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/sbin/dhcpd</string>
|
||||
<string>#{opt_sbin}/dhcpd</string>
|
||||
<string>-f</string>
|
||||
<string>-6</string>
|
||||
<string>-cf</string>
|
||||
|
|
|
@ -34,7 +34,7 @@ class Jack < Formula
|
|||
<string>#{prefix}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/jackd</string>
|
||||
<string>#{opt_bin}/jackd</string>
|
||||
<string>-d</string>
|
||||
<string>coreaudio</string>
|
||||
</array>
|
||||
|
|
|
@ -13,10 +13,10 @@ class JbossAs < Formula
|
|||
|
||||
def caveats; <<-EOS.undent
|
||||
The home of JBoss Application Server 7 is:
|
||||
#{opt_prefix}/libexec
|
||||
#{opt_libexec}
|
||||
|
||||
You may want to add the following to your .bash_profile:
|
||||
export JBOSS_HOME=#{opt_prefix}/libexec
|
||||
export JBOSS_HOME=#{opt_libexec}
|
||||
export PATH=${PATH}:${JBOSS_HOME}/bin
|
||||
|
||||
Note: The support scripts used by JBoss Application Server 7 have
|
||||
|
|
|
@ -30,7 +30,7 @@ class Jenkins < Formula
|
|||
<string>/usr/bin/java</string>
|
||||
<string>-Dmail.smtp.starttls.enable=true</string>
|
||||
<string>-jar</string>
|
||||
<string>#{opt_prefix}/libexec/jenkins.war</string>
|
||||
<string>#{opt_libexec}/jenkins.war</string>
|
||||
<string>--httpListenAddress=127.0.0.1</string>
|
||||
<string>--httpPort=8080</string>
|
||||
</array>
|
||||
|
|
|
@ -54,7 +54,7 @@ class Ledger < Formula
|
|||
if build.with? 'libofx'
|
||||
args << "--enable-ofx"
|
||||
# the libofx.h appears to have moved to a subdirectory
|
||||
ENV.append 'CXXFLAGS', "-I#{Formula["libofx"].opt_prefix}/include/libofx"
|
||||
ENV.append 'CXXFLAGS', "-I#{Formula["libofx"].opt_include}/libofx"
|
||||
end
|
||||
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}", *args
|
||||
|
|
|
@ -13,7 +13,7 @@ class Librasterlite < Formula
|
|||
def install
|
||||
# Ensure Homebrew SQLite libraries are found before the system SQLite
|
||||
sqlite = Formula["sqlite"]
|
||||
ENV.append 'LDFLAGS', "-L#{sqlite.opt_prefix}/lib"
|
||||
ENV.append 'LDFLAGS', "-L#{sqlite.opt_lib}"
|
||||
system "./configure", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}"
|
||||
system "make install"
|
||||
|
|
|
@ -39,13 +39,13 @@ class Libspatialite < Formula
|
|||
|
||||
# Ensure Homebrew's libsqlite is found before the system version.
|
||||
sqlite = Formula["sqlite"]
|
||||
ENV.append 'LDFLAGS', "-L#{sqlite.opt_prefix}/lib"
|
||||
ENV.append 'CFLAGS', "-I#{sqlite.opt_prefix}/include"
|
||||
ENV.append 'LDFLAGS', "-L#{sqlite.opt_lib}"
|
||||
ENV.append 'CFLAGS', "-I#{sqlite.opt_include}"
|
||||
|
||||
unless build.without? 'liblwgeom'
|
||||
lwgeom = Formula["liblwgeom"]
|
||||
ENV.append 'LDFLAGS', "-L#{lwgeom.opt_prefix}/lib"
|
||||
ENV.append 'CFLAGS', "-I#{lwgeom.opt_prefix}/include"
|
||||
ENV.append 'LDFLAGS', "-L#{lwgeom.opt_lib}"
|
||||
ENV.append 'CFLAGS', "-I#{lwgeom.opt_include}"
|
||||
end
|
||||
|
||||
args = %W[
|
||||
|
|
|
@ -105,7 +105,7 @@ class Lighttpd < Formula
|
|||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/lighttpd</string>
|
||||
<string>#{opt_bin}/lighttpd</string>
|
||||
<string>-D</string>
|
||||
<string>-f</string>
|
||||
<string>#{config_path}lighttpd.conf</string>
|
||||
|
|
|
@ -49,7 +49,7 @@ class Lldpd < Formula
|
|||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/sbin/lldpd</string>
|
||||
<string>#{opt_sbin}/lldpd</string>
|
||||
#{additional_args}
|
||||
</array>
|
||||
<key>RunAtLoad</key><true/>
|
||||
|
|
|
@ -65,8 +65,8 @@ class Mapnik < Formula
|
|||
else
|
||||
args << "CAIRO=False"
|
||||
end
|
||||
args << "GDAL_CONFIG=#{Formula["gdal"].opt_prefix}/bin/gdal-config" if build.with? 'gdal'
|
||||
args << "PG_CONFIG=#{Formula["postgresql"].opt_prefix}/bin/pg_config" if build.with? 'postgresql'
|
||||
args << "GDAL_CONFIG=#{Formula["gdal"].opt_bin}/gdal-config" if build.with? 'gdal'
|
||||
args << "PG_CONFIG=#{Formula["postgresql"].opt_bin}/pg_config" if build.with? 'postgresql'
|
||||
|
||||
system "python", "scons/scons.py", "configure", *args
|
||||
system "python", "scons/scons.py", "install"
|
||||
|
|
|
@ -163,7 +163,7 @@ class Mariadb < Formula
|
|||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/mysqld_safe</string>
|
||||
<string>#{opt_bin}/mysqld_safe</string>
|
||||
<string>--bind-address=127.0.0.1</string>
|
||||
</array>
|
||||
<key>RunAtLoad</key>
|
||||
|
|
|
@ -40,7 +40,7 @@ class Memcached < Formula
|
|||
<true/>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/memcached</string>
|
||||
<string>#{opt_bin}/memcached</string>
|
||||
<string>-l</string>
|
||||
<string>localhost</string>
|
||||
</array>
|
||||
|
|
|
@ -113,7 +113,7 @@ class Mongodb < Formula
|
|||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/mongod</string>
|
||||
<string>#{opt_bin}/mongod</string>
|
||||
<string>--config</string>
|
||||
<string>#{etc}/mongod.conf</string>
|
||||
</array>
|
||||
|
|
|
@ -47,7 +47,7 @@ class Mosquitto < Formula
|
|||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/sbin/mosquitto</string>
|
||||
<string>#{opt_sbin}/mosquitto</string>
|
||||
<string>-c</string>
|
||||
<string>#{etc}/mosquitto/mosquitto.conf</string>
|
||||
</array>
|
||||
|
|
|
@ -152,7 +152,7 @@ class Mysql < Formula
|
|||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/mysqld_safe</string>
|
||||
<string>#{opt_bin}/mysqld_safe</string>
|
||||
<string>--bind-address=127.0.0.1</string>
|
||||
</array>
|
||||
<key>RunAtLoad</key>
|
||||
|
|
|
@ -54,7 +54,7 @@ class Nagios < Formula
|
|||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/nagios</string>
|
||||
<string>#{opt_bin}/nagios</string>
|
||||
<string>#{nagios_etc}/nagios.cfg</string>
|
||||
</array>
|
||||
<key>RunAtLoad</key>
|
||||
|
|
|
@ -27,7 +27,7 @@ class Netpbm < Formula
|
|||
s.change_make_var! "PNGLIB", "-lpng"
|
||||
s.change_make_var! "ZLIB", "-lz"
|
||||
s.change_make_var! "JASPERLIB", "-ljasper"
|
||||
s.change_make_var! "JASPERHDR_DIR", "#{Formula["jasper"].opt_prefix}/include/jasper"
|
||||
s.change_make_var! "JASPERHDR_DIR", "#{Formula["jasper"].opt_include}/jasper"
|
||||
end
|
||||
|
||||
ENV.deparallelize
|
||||
|
|
|
@ -27,7 +27,7 @@ class Nexus < Formula
|
|||
<string>com.sonatype.nexus</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/nexus</string>
|
||||
<string>#{opt_bin}/nexus</string>
|
||||
<string>start</string>
|
||||
</array>
|
||||
<key>RunAtLoad</key>
|
||||
|
|
|
@ -153,7 +153,7 @@ class Nginx < Formula
|
|||
<false/>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/nginx</string>
|
||||
<string>#{opt_bin}/nginx</string>
|
||||
<string>-g</string>
|
||||
<string>daemon off;</string>
|
||||
</array>
|
||||
|
|
|
@ -46,7 +46,7 @@ class Ntfs3g < Formula
|
|||
GROUP_ID=`/usr/bin/stat -f %g /dev/console`
|
||||
fi
|
||||
|
||||
#{opt_prefix}/bin/ntfs-3g \\
|
||||
#{opt_bin}/ntfs-3g \\
|
||||
-o volname="${VOLUME_NAME}" \\
|
||||
-o local \\
|
||||
-o negative_vncache \\
|
||||
|
|
|
@ -35,7 +35,7 @@ class OfflineImap < Formula
|
|||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/offlineimap</string>
|
||||
<string>#{opt_bin}/offlineimap</string>
|
||||
</array>
|
||||
<key>StartInterval</key>
|
||||
<integer>300</integer>
|
||||
|
|
|
@ -61,7 +61,7 @@ class Openvpn < Formula
|
|||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/sbin/openvpn</string>
|
||||
<string>#{opt_sbin}/openvpn</string>
|
||||
<string>--config</string>
|
||||
<string>#{etc}/openvpn/openvpn.conf</string>
|
||||
</array>
|
||||
|
|
|
@ -43,8 +43,8 @@ class Passenger < Formula
|
|||
|
||||
def caveats; <<-EOS.undent
|
||||
To activate Phusion Passenger for Apache, create /etc/apache2/other/passenger.conf:
|
||||
LoadModule passenger_module #{opt_prefix}/libexec/buildout/apache2/mod_passenger.so
|
||||
PassengerRoot #{opt_prefix}/libexec/lib/phusion_passenger/locations.ini
|
||||
LoadModule passenger_module #{opt_libexec}/buildout/apache2/mod_passenger.so
|
||||
PassengerRoot #{opt_libexec}/lib/phusion_passenger/locations.ini
|
||||
PassengerDefaultRuby /usr/bin/ruby
|
||||
|
||||
To activate Phusion Passenger for Nginx, run:
|
||||
|
|
|
@ -18,7 +18,7 @@ class Pdnsrec < Formula
|
|||
# Include Lua if requested
|
||||
if build.include? 'with-lua'
|
||||
ENV['LUA'] = "1"
|
||||
ENV['LUA_CPPFLAGS_CONFIG'] = "-I#{Formula["lua"].opt_prefix}/include"
|
||||
ENV['LUA_CPPFLAGS_CONFIG'] = "-I#{Formula["lua"].opt_include}"
|
||||
ENV['LUA_LIBS_CONFIG'] = "-llua"
|
||||
end
|
||||
|
||||
|
|
|
@ -152,7 +152,7 @@ class PerconaServer < Formula
|
|||
<key>Label</key>
|
||||
<string>#{plist_name}</string>
|
||||
<key>Program</key>
|
||||
<string>#{opt_prefix}/bin/mysqld_safe</string>
|
||||
<string>#{opt_bin}/mysqld_safe</string>
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
<key>WorkingDirectory</key>
|
||||
|
|
|
@ -44,7 +44,7 @@ class Pgbouncer < Formula
|
|||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/pgbouncer</string>
|
||||
<string>#{opt_bin}/pgbouncer</string>
|
||||
<string>-d</string>
|
||||
<string>-q</string>
|
||||
<string>#{etc}/pgbouncer.ini</string>
|
||||
|
|
|
@ -31,7 +31,7 @@ class Pincaster < Formula
|
|||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/pincaster</string>
|
||||
<string>#{opt_bin}/pincaster</string>
|
||||
<string>#{etc}/pincaster.conf</string>
|
||||
</array>
|
||||
<key>RunAtLoad</key>
|
||||
|
|
|
@ -35,7 +35,7 @@ class Pocl < Formula
|
|||
}
|
||||
EOS
|
||||
system "#{bin}/pocl-standalone -h head.h -o foo.bc foo.cl"
|
||||
system "\"#{Formula["llvm"].opt_prefix}/bin/llvm-dis\" < foo.bc | grep foo_workgroup"
|
||||
system "\"#{Formula["llvm"].opt_bin}/llvm-dis\" < foo.bc | grep foo_workgroup"
|
||||
system "pkg-config pocl --modversion | grep #{version}"
|
||||
end
|
||||
end
|
||||
|
|
|
@ -34,7 +34,7 @@ class Polipo < Formula
|
|||
<true/>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/polipo</string>
|
||||
<string>#{opt_bin}/polipo</string>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
|
@ -167,7 +167,7 @@ class PostgresXc < Formula
|
|||
<string>#{plist_name(name)}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/gtm</string>
|
||||
<string>#{opt_bin}/gtm</string>
|
||||
<string>-D</string>
|
||||
<string>#{var}/postgres-xc/#{name}</string>
|
||||
<string>-l</string>
|
||||
|
@ -195,7 +195,7 @@ class PostgresXc < Formula
|
|||
<string>#{plist_name(name)}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/gtm_proxy</string>
|
||||
<string>#{opt_bin}/gtm_proxy</string>
|
||||
<string>-D</string>
|
||||
<string>#{var}/postgres-xc/#{name}</string>
|
||||
<string>-n</string>
|
||||
|
@ -229,7 +229,7 @@ class PostgresXc < Formula
|
|||
<string>#{plist_name(name)}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/postgres</string>
|
||||
<string>#{opt_bin}/postgres</string>
|
||||
<string>-i</string>
|
||||
<string>-C</string>
|
||||
<string>-D</string>
|
||||
|
@ -259,7 +259,7 @@ class PostgresXc < Formula
|
|||
<string>#{plist_name(name)}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/postgres</string>
|
||||
<string>#{opt_bin}/postgres</string>
|
||||
<string>-i</string>
|
||||
<string>-X</string>
|
||||
<string>-D</string>
|
||||
|
|
|
@ -115,7 +115,7 @@ class Postgresql < Formula
|
|||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/postgres</string>
|
||||
<string>#{opt_bin}/postgres</string>
|
||||
<string>-D</string>
|
||||
<string>#{var}/postgres</string>
|
||||
<string>-r</string>
|
||||
|
|
|
@ -31,7 +31,7 @@ class Proftpd < Formula
|
|||
<false/>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/proftpd</string>
|
||||
<string>#{opt_bin}/proftpd</string>
|
||||
</array>
|
||||
<key>UserName</key>
|
||||
<string>root</string>
|
||||
|
|
|
@ -44,7 +44,7 @@ class PureFtpd < Formula
|
|||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/sbin/pure-ftpd</string>
|
||||
<string>#{opt_sbin}/pure-ftpd</string>
|
||||
<string>-A -j -z</string>
|
||||
</array>
|
||||
<key>RunAtLoad</key>
|
||||
|
|
|
@ -96,7 +96,7 @@ class Pygobject3 < Formula
|
|||
pythons.each do |python, version|
|
||||
unless Formula[python].installed?
|
||||
ENV["PYTHONPATH"] = HOMEBREW_PREFIX/"lib/python#{version}/site-packages"
|
||||
ENV.append_path "PYTHONPATH", "#{opt_prefix}/lib/python#{version}/site-packages"
|
||||
ENV.append_path "PYTHONPATH", "#{opt_lib}/python#{version}/site-packages"
|
||||
end
|
||||
system python, "test.py"
|
||||
end
|
||||
|
|
|
@ -46,7 +46,7 @@ class Pyqt5 < Formula
|
|||
# To avoid conflicts with PyQt (for Qt4):
|
||||
"--sipdir=#{share}/sip/Qt5/",
|
||||
# sip.h could not be found automatically
|
||||
"--sip-incdir=#{Formula["sip"].opt_prefix}/include",
|
||||
"--sip-incdir=#{Formula["sip"].opt_include}",
|
||||
# Make sure the qt5 version of qmake is found.
|
||||
# If qt4 is linked it will pickup that version otherwise.
|
||||
"--qmake=#{Formula["qt5"].bin}/qmake",
|
||||
|
|
|
@ -9,7 +9,7 @@ class Qpdf < Formula
|
|||
|
||||
def install
|
||||
# find Homebrew's libpcre
|
||||
ENV.append 'LDFLAGS', "-L#{Formula["pcre"].opt_prefix}/lib"
|
||||
ENV.append 'LDFLAGS', "-L#{Formula["pcre"].opt_lib}"
|
||||
|
||||
system "./configure", "--prefix=#{prefix}"
|
||||
system "make"
|
||||
|
|
|
@ -67,7 +67,7 @@ class Rabbitmq < Formula
|
|||
<key>Label</key>
|
||||
<string>#{plist_name}</string>
|
||||
<key>Program</key>
|
||||
<string>#{opt_prefix}/sbin/rabbitmq-server</string>
|
||||
<string>#{opt_sbin}/rabbitmq-server</string>
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
<key>EnvironmentVariables</key>
|
||||
|
|
|
@ -56,7 +56,7 @@ class Redis < Formula
|
|||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/redis-server</string>
|
||||
<string>#{opt_bin}/redis-server</string>
|
||||
<string>#{etc}/redis.conf</string>
|
||||
</array>
|
||||
<key>RunAtLoad</key>
|
||||
|
|
|
@ -37,7 +37,7 @@ class Rethinkdb < Formula
|
|||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/rethinkdb</string>
|
||||
<string>#{opt_bin}/rethinkdb</string>
|
||||
<string>-d</string>
|
||||
<string>#{var}/rethinkdb</string>
|
||||
</array>
|
||||
|
|
|
@ -70,7 +70,7 @@ class Ruby < Formula
|
|||
|
||||
def caveats; <<-EOS.undent
|
||||
By default, gem installed executables will be placed into:
|
||||
#{opt_prefix}/bin
|
||||
#{opt_bin}
|
||||
|
||||
You may want to add this to your PATH. After upgrades, you can run
|
||||
gem pristine --all --only-executables
|
||||
|
|
|
@ -49,7 +49,7 @@ class ScmManager < Formula
|
|||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/scm-server</string>
|
||||
<string>#{opt_bin}/scm-server</string>
|
||||
<string>start</string>
|
||||
</array>
|
||||
<key>RunAtLoad</key>
|
||||
|
|
|
@ -38,7 +38,7 @@ class Ser2net < Formula
|
|||
<true/>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/sbin/ser2net</string>
|
||||
<string>#{opt_sbin}/ser2net</string>
|
||||
<string>-p</string>
|
||||
<string>12345</string>
|
||||
</array>
|
||||
|
|
|
@ -25,7 +25,7 @@ class Sickbeard < Formula
|
|||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/sickbeard</string>
|
||||
<string>#{opt_bin}/sickbeard</string>
|
||||
<string>-q</string>
|
||||
<string>--nolaunch</string>
|
||||
<string>-p</string>
|
||||
|
|
|
@ -10,7 +10,7 @@ class Slony < Formula
|
|||
def install
|
||||
postgres = Formula['postgresql']
|
||||
system "./configure", "--disable-debug",
|
||||
"--with-pgconfigdir=#{postgres.opt_prefix}/bin",
|
||||
"--with-pgconfigdir=#{postgres.opt_bin}",
|
||||
"--prefix=#{prefix}"
|
||||
system "make install"
|
||||
end
|
||||
|
|
|
@ -37,7 +37,7 @@ class Sonar < Formula
|
|||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/sonar</string>
|
||||
<string>#{opt_bin}/sonar</string>
|
||||
<string>start</string>
|
||||
</array>
|
||||
<key>RunAtLoad</key>
|
||||
|
|
|
@ -14,8 +14,8 @@ class SpatialiteTools < Formula
|
|||
ENV.append 'LDFLAGS', '-liconv'
|
||||
# Ensure Homebrew SQLite is found before system SQLite.
|
||||
sqlite = Formula["sqlite"]
|
||||
ENV.append 'LDFLAGS', "-L#{sqlite.opt_prefix}/lib"
|
||||
ENV.append 'CFLAGS', "-I#{sqlite.opt_prefix}/include"
|
||||
ENV.append 'LDFLAGS', "-L#{sqlite.opt_lib}"
|
||||
ENV.append 'CFLAGS', "-I#{sqlite.opt_include}"
|
||||
|
||||
system "./configure", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}"
|
||||
|
|
|
@ -53,7 +53,7 @@ class Squid < Formula
|
|||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/sbin/squid</string>
|
||||
<string>#{opt_sbin}/squid</string>
|
||||
<string>-N</string>
|
||||
<string>-d 1</string>
|
||||
</array>
|
||||
|
|
|
@ -54,7 +54,7 @@ class Sshguard < Formula
|
|||
<true/>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/sbin/sshguard</string>
|
||||
<string>#{opt_sbin}/sshguard</string>
|
||||
<string>-l</string>
|
||||
<string>#{log_path}</string>
|
||||
</array>
|
||||
|
|
|
@ -180,7 +180,7 @@ class Subversion < Formula
|
|||
system "make", "install-swig-pl", "DESTDIR=#{prefix}"
|
||||
# Some of the libraries get installed into the wrong place, they end up having the
|
||||
# prefix in the directory name twice.
|
||||
mv Dir.glob("#{prefix}/#{lib}/*"), "#{lib}"
|
||||
mv Dir["#{prefix}/#{lib}/*"], "#{lib}"
|
||||
end
|
||||
|
||||
if build.include? 'java'
|
||||
|
@ -203,7 +203,7 @@ class Subversion < Formula
|
|||
def caveats
|
||||
s = <<-EOS.undent
|
||||
svntools have been installed to:
|
||||
#{opt_prefix}/libexec
|
||||
#{opt_libexec}
|
||||
EOS
|
||||
|
||||
if build.include? 'perl'
|
||||
|
|
|
@ -53,7 +53,7 @@ class Tor < Formula
|
|||
<true/>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/bin/tor</string>
|
||||
<string>#{opt_bin}/tor</string>
|
||||
</array>
|
||||
<key>WorkingDirectory</key>
|
||||
<string>#{HOMEBREW_PREFIX}</string>
|
||||
|
|
|
@ -25,7 +25,7 @@ class Varnish < Formula
|
|||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_prefix}/sbin/varnishd</string>
|
||||
<string>#{opt_sbin}/varnishd</string>
|
||||
<string>-n</string>
|
||||
<string>#{var}/varnish</string>
|
||||
<string>-f</string>
|
||||
|
|
|
@ -12,15 +12,15 @@ class WildflyAs < Formula
|
|||
|
||||
def caveats; <<-EOS.undent
|
||||
The home of WildFly Application Server 8 is:
|
||||
#{opt_prefix}/libexec
|
||||
#{opt_libexec}
|
||||
You may want to add the following to your .bash_profile:
|
||||
export JBOSS_HOME=#{opt_prefix}/libexec
|
||||
export JBOSS_HOME=#{opt_libexec}
|
||||
export PATH=${PATH}:${JBOSS_HOME}/bin
|
||||
EOS
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{opt_prefix}/libexec/bin/standalone.sh --version | grep #{version}"
|
||||
system "#{opt_libexec}/bin/standalone.sh --version | grep #{version}"
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
@ -28,7 +28,7 @@ class Wxpython < Formula
|
|||
args = [
|
||||
"WXPORT=osx_cocoa",
|
||||
# Reference our wx-config
|
||||
"WX_CONFIG=#{Formula["wxmac"].opt_prefix}/bin/wx-config",
|
||||
"WX_CONFIG=#{Formula["wxmac"].opt_bin}/wx-config",
|
||||
# At this time Wxmac is installed Unicode only
|
||||
"UNICODE=1",
|
||||
# Some scripts (e.g. matplotlib) expect to `import wxversion`, which is
|
||||
|
|
|
@ -12,7 +12,7 @@ class Yara < Formula
|
|||
ENV.append 'CFLAGS', '-std=gnu89' if ENV.compiler == :clang
|
||||
|
||||
# find Homebrew's libpcre
|
||||
ENV.append 'LDFLAGS', "-L#{Formula["pcre"].opt_prefix}/lib -lpcre"
|
||||
ENV.append 'LDFLAGS', "-L#{Formula["pcre"].opt_lib} -lpcre"
|
||||
|
||||
system "./configure", "--disable-debug",
|
||||
"--disable-dependency-tracking",
|
||||
|
|
Loading…
Reference in a new issue