Permalink
Browse files

use opt shortcuts

  • Loading branch information...
adamv committed Mar 6, 2014
1 parent c950421 commit f7c8f449ac3195bbb672d3efa3f8dbbd12c987d4
Showing with 123 additions and 123 deletions.
  1. +1 βˆ’1 Formula/aiccu.rb
  2. +1 βˆ’1 Formula/apt-cacher-ng.rb
  3. +1 βˆ’1 Formula/arangodb.rb
  4. +1 βˆ’1 Formula/avidemux.rb
  5. +1 βˆ’1 Formula/aws-iam-tools.rb
  6. +1 βˆ’1 Formula/beansdb.rb
  7. +1 βˆ’1 Formula/beanstalk.rb
  8. +1 βˆ’1 Formula/bind.rb
  9. +1 βˆ’1 Formula/burp.rb
  10. +1 βˆ’1 Formula/cassandra.rb
  11. +1 βˆ’1 Formula/ccache.rb
  12. +2 βˆ’2 Formula/chruby.rb
  13. +1 βˆ’1 Formula/clipper.rb
  14. +2 βˆ’2 Formula/coreutils.rb
  15. +1 βˆ’1 Formula/couchdb-lucene.rb
  16. +1 βˆ’1 Formula/couchdb.rb
  17. +1 βˆ’1 Formula/couchpotatoserver.rb
  18. +1 βˆ’1 Formula/curl-ca-bundle.rb
  19. +1 βˆ’1 Formula/dart.rb
  20. +2 βˆ’2 Formula/ddclient.rb
  21. +1 βˆ’1 Formula/dnscrypt-proxy.rb
  22. +1 βˆ’1 Formula/dnsmasq.rb
  23. +1 βˆ’1 Formula/erlang.rb
  24. +2 βˆ’2 Formula/ettercap.rb
  25. +1 βˆ’1 Formula/fail2ban.rb
  26. +1 βˆ’1 Formula/freediameter.rb
  27. +1 βˆ’1 Formula/fuseki.rb
  28. +2 βˆ’2 Formula/gdal.rb
  29. +2 βˆ’2 Formula/gearman.rb
  30. +2 βˆ’2 Formula/gitbucket.rb
  31. +2 βˆ’2 Formula/glassfish.rb
  32. +2 βˆ’2 Formula/gnu-sed.rb
  33. +1 βˆ’1 Formula/gnu-tar.rb
  34. +2 βˆ’2 Formula/gpg-agent.rb
  35. +1 βˆ’1 Formula/grails.rb
  36. +2 βˆ’2 Formula/grass.rb
  37. +1 βˆ’1 Formula/groovy.rb
  38. +1 βˆ’1 Formula/h2.rb
  39. +1 βˆ’1 Formula/headphones.rb
  40. +2 βˆ’2 Formula/htmlcompressor.rb
  41. +2 βˆ’2 Formula/influxdb.rb
  42. +1 βˆ’1 Formula/ircd-hybrid.rb
  43. +2 βˆ’2 Formula/isc-dhcp.rb
  44. +1 βˆ’1 Formula/jack.rb
  45. +2 βˆ’2 Formula/jboss-as.rb
  46. +1 βˆ’1 Formula/jenkins.rb
  47. +1 βˆ’1 Formula/ledger.rb
  48. +1 βˆ’1 Formula/librasterlite.rb
  49. +4 βˆ’4 Formula/libspatialite.rb
  50. +1 βˆ’1 Formula/lighttpd.rb
  51. +1 βˆ’1 Formula/lldpd.rb
  52. +2 βˆ’2 Formula/mapnik.rb
  53. +1 βˆ’1 Formula/mariadb.rb
  54. +1 βˆ’1 Formula/memcached.rb
  55. +1 βˆ’1 Formula/mongodb.rb
  56. +1 βˆ’1 Formula/mosquitto.rb
  57. +1 βˆ’1 Formula/mysql.rb
  58. +1 βˆ’1 Formula/nagios.rb
  59. +1 βˆ’1 Formula/netpbm.rb
  60. +1 βˆ’1 Formula/nexus.rb
  61. +1 βˆ’1 Formula/nginx.rb
  62. +1 βˆ’1 Formula/ntfs-3g.rb
  63. +1 βˆ’1 Formula/offline-imap.rb
  64. +1 βˆ’1 Formula/openvpn.rb
  65. +2 βˆ’2 Formula/passenger.rb
  66. +1 βˆ’1 Formula/pdnsrec.rb
  67. +1 βˆ’1 Formula/percona-server.rb
  68. +1 βˆ’1 Formula/pgbouncer.rb
  69. +1 βˆ’1 Formula/pincaster.rb
  70. +1 βˆ’1 Formula/pocl.rb
  71. +1 βˆ’1 Formula/polipo.rb
  72. +4 βˆ’4 Formula/postgres-xc.rb
  73. +1 βˆ’1 Formula/postgresql.rb
  74. +1 βˆ’1 Formula/proftpd.rb
  75. +1 βˆ’1 Formula/pure-ftpd.rb
  76. +1 βˆ’1 Formula/pygobject3.rb
  77. +1 βˆ’1 Formula/pyqt5.rb
  78. +1 βˆ’1 Formula/qpdf.rb
  79. +1 βˆ’1 Formula/rabbitmq.rb
  80. +1 βˆ’1 Formula/redis.rb
  81. +1 βˆ’1 Formula/rethinkdb.rb
  82. +1 βˆ’1 Formula/ruby.rb
  83. +1 βˆ’1 Formula/scm-manager.rb
  84. +1 βˆ’1 Formula/ser2net.rb
  85. +1 βˆ’1 Formula/sickbeard.rb
  86. +1 βˆ’1 Formula/slony.rb
  87. +1 βˆ’1 Formula/sonar.rb
  88. +2 βˆ’2 Formula/spatialite-tools.rb
  89. +1 βˆ’1 Formula/squid.rb
  90. +1 βˆ’1 Formula/sshguard.rb
  91. +2 βˆ’2 Formula/subversion.rb
  92. +1 βˆ’1 Formula/tor.rb
  93. +1 βˆ’1 Formula/varnish.rb
  94. +3 βˆ’3 Formula/wildfly-as.rb
  95. +1 βˆ’1 Formula/wxpython.rb
  96. +1 βˆ’1 Formula/yara.rb
View
@@ -27,7 +27,7 @@ def plist; <<-EOS.undent
<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>
View
@@ -44,7 +44,7 @@ def plist; <<-EOS.undent
<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>
View
@@ -75,7 +75,7 @@ def plist; <<-EOS.undent
<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>
View
@@ -53,7 +53,7 @@ def install
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"
View
@@ -34,7 +34,7 @@ def caveats; <<-EOS.undent
* 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
View
@@ -35,7 +35,7 @@ def plist; <<-EOS.undent
<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>
View
@@ -22,7 +22,7 @@ def plist; <<-EOS.undent
<string>#{plist_name}</string>
<key>ProgramArguments</key>
<array>
<string>#{opt_prefix}/bin/beanstalkd</string>
<string>#{opt_bin}/beanstalkd</string>
</array>
<key>RunAtLoad</key>
<true/>
View
@@ -255,7 +255,7 @@ def plist; <<-EOS.undent
<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>
View
@@ -41,7 +41,7 @@ def plist; <<-EOS.undent
<false/>
<key>ProgramArguments</key>
<array>
<string>#{opt_prefix}/bin/burp</string>
<string>#{opt_bin}/burp</string>
<string>-a</string>
<string>t</string>
</array>
View
@@ -58,7 +58,7 @@ def plist; <<-EOS.undent
<key>ProgramArguments</key>
<array>
<string>#{opt_prefix}/bin/cassandra</string>
<string>#{opt_bin}/cassandra</string>
<string>-f</string>
</array>
View
@@ -36,7 +36,7 @@ def install
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
View
@@ -14,7 +14,7 @@ def install
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 @@ def caveats; <<-EOS.undent
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
View
@@ -30,7 +30,7 @@ def plist; <<-EOS.undent
<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>
View
@@ -33,12 +33,12 @@ def caveats; <<-EOS.undent
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 @@ def plist; <<-EOS.undent
</dict>
<key>ProgramArguments</key>
<array>
<string>#{opt_prefix}/bin/run</string>
<string>#{opt_bin}/run</string>
</array>
<key>StandardOutPath</key>
<string>/dev/null</string>
View
@@ -67,7 +67,7 @@ def plist; <<-EOS.undent
<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 @@ def plist; <<-EOS.undent
<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 @@ def install
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
View
@@ -21,7 +21,7 @@ def install
def caveats; <<-EOS.undent
To use with IntelliJ, set the Dart home to:
#{opt_prefix}/libexec
#{opt_libexec}
EOS
end
View
@@ -38,7 +38,7 @@ def install
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 @@ def plist; <<-EOS.undent
<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 @@ def plist; <<-EOS.undent
<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>
View
@@ -57,7 +57,7 @@ def plist; <<-EOS.undent
<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>
View
@@ -97,7 +97,7 @@ def install
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
View
@@ -19,12 +19,12 @@ def patches
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
View
@@ -39,7 +39,7 @@ def plist; <<-EOS.undent
<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>
View
@@ -68,7 +68,7 @@ def plist; <<-EOS.undent
<string>#{plist_name}</string>
<key>ProgramArguments</key>
<array>
<string>#{opt_prefix}/bin/freeDiameterd</string>
<string>#{opt_bin}/freeDiameterd</string>
</array>
<key>KeepAlive</key>
<dict>
View
@@ -74,7 +74,7 @@ def plist; <<-EOS.undent
<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>
View
@@ -209,8 +209,8 @@ def install
#
# 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'
View
@@ -19,7 +19,7 @@ def install
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 @@ def plist; <<-EOS.undent
<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>
View
@@ -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 @@ def plist; <<-EOS.undent
<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>
View
@@ -16,10 +16,10 @@ def install
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
View
@@ -26,12 +26,12 @@ def caveats; <<-EOS.undent
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
View
@@ -29,7 +29,7 @@ def caveats; <<-EOS.undent
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
View
@@ -24,8 +24,8 @@ def install
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
View
@@ -14,7 +14,7 @@ def install
def caveats; <<-EOS.undent
The GRAILS_HOME directory is:
#{opt_prefix}/libexec
#{opt_libexec}
EOS
end
end
View
@@ -57,7 +57,7 @@ def install
"--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 @@ def install
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?
Oops, something went wrong.

0 comments on commit f7c8f44

Please sign in to comment.