From d0efd9ee94a55e243f3b10e903526274fc21d569 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Tue, 6 Apr 2010 22:58:35 -0700 Subject: Update formulae for version 0.7 * Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews --- Library/Formula/aalib.rb | 3 +- Library/Formula/abuse.rb | 18 ++++++------ Library/Formula/ack.rb | 2 +- Library/Formula/activemq.rb | 6 ++-- Library/Formula/adamem.rb | 8 +++--- Library/Formula/aircrack-ng.rb | 11 ++++---- Library/Formula/algol68g.rb | 5 ++-- Library/Formula/android-sdk.rb | 2 +- Library/Formula/angband.rb | 9 +++--- Library/Formula/antiword.rb | 4 +-- Library/Formula/apg.rb | 11 +++----- Library/Formula/app-engine-java-sdk.rb | 2 +- Library/Formula/aqbanking.rb | 16 ++++------- Library/Formula/arp-sk.rb | 4 ++- Library/Formula/arping.rb | 13 ++++----- Library/Formula/aspell.rb | 26 +++++++---------- Library/Formula/astyle.rb | 8 +++--- Library/Formula/atf.rb | 9 +++--- Library/Formula/atk.rb | 2 +- Library/Formula/automoc4.rb | 6 ++-- Library/Formula/bcrypt.rb | 2 +- Library/Formula/bitlbee.rb | 13 ++++++--- Library/Formula/botan.rb | 2 +- Library/Formula/boxes.rb | 4 +-- Library/Formula/cadaver.rb | 3 +- Library/Formula/cairo.rb | 4 +-- Library/Formula/calc.rb | 8 ++++-- Library/Formula/cassandra.rb | 1 - Library/Formula/catdoc.rb | 1 - Library/Formula/cdargs.rb | 2 +- Library/Formula/chcase.rb | 2 +- Library/Formula/chocolate-doom.rb | 18 ++++++------ Library/Formula/cksfv.rb | 6 ++-- Library/Formula/cloc.rb | 2 +- Library/Formula/clucene.rb | 6 ++-- Library/Formula/clusterit.rb | 12 ++++---- Library/Formula/coffee-script.rb | 2 +- Library/Formula/collectd.rb | 4 +-- Library/Formula/couchdb.rb | 3 +- Library/Formula/cowsay.rb | 2 +- Library/Formula/cppcheck.rb | 2 +- Library/Formula/cracklib-words.rb | 7 ++--- Library/Formula/csshx.rb | 2 +- Library/Formula/ctags.rb | 6 ++-- Library/Formula/cuetools.rb | 4 ++- Library/Formula/cups-pdf.rb | 3 +- Library/Formula/cvsps.rb | 1 - Library/Formula/d-bus.rb | 10 ++++--- Library/Formula/ddclient.rb | 5 ++-- Library/Formula/ddrescue.rb | 6 ++-- Library/Formula/despotify.rb | 3 +- Library/Formula/devtodo.rb | 2 +- Library/Formula/dict.rb | 11 ++++---- Library/Formula/diction.rb | 8 ++---- Library/Formula/discount.rb | 5 +++- Library/Formula/djmount.rb | 6 ++-- Library/Formula/dmd.rb | 14 +++++----- Library/Formula/dnsmasq.rb | 6 ++-- Library/Formula/docbook.rb | 17 ++++++------ Library/Formula/dos2unix.rb | 2 +- Library/Formula/dosbox.rb | 8 +++--- Library/Formula/dovecot.rb | 2 +- Library/Formula/duff.rb | 6 ++-- Library/Formula/dvdauthor.rb | 8 ++---- Library/Formula/dvdrtools.rb | 11 ++------ Library/Formula/dwdiff.rb | 8 +++--- Library/Formula/e2fsprogs.rb | 6 ++-- Library/Formula/ecl.rb | 4 +-- Library/Formula/eigen.rb | 2 +- Library/Formula/ejabberd.rb | 3 +- Library/Formula/elasticsearch.rb | 2 +- Library/Formula/elinks.rb | 10 +++---- Library/Formula/emacs.rb | 9 ------ Library/Formula/erlang.rb | 3 +- Library/Formula/ettercap-ng.rb | 30 ++++++++------------ Library/Formula/exif.rb | 2 +- Library/Formula/exiftool.rb | 4 +-- Library/Formula/exim.rb | 25 ++++++++--------- Library/Formula/expat.rb | 8 +++--- Library/Formula/exult.rb | 24 +++++++++------- Library/Formula/fabricate.rb | 5 ++-- Library/Formula/falcon.rb | 13 +++------ Library/Formula/fastri.rb | 6 ++-- Library/Formula/fbida.rb | 2 +- Library/Formula/ffmpeg-php.rb | 7 ++--- Library/Formula/figlet.rb | 4 --- Library/Formula/findutils.rb | 6 ++-- Library/Formula/flac.rb | 2 +- Library/Formula/flip.rb | 2 +- Library/Formula/fltk.rb | 2 +- Library/Formula/flvstreamer.rb | 1 - Library/Formula/fondu.rb | 6 ++-- Library/Formula/fontconfig.rb | 4 +-- Library/Formula/foremost.rb | 2 +- Library/Formula/fortune.rb | 4 +-- Library/Formula/freeimage.rb | 7 ++--- Library/Formula/frotz.rb | 14 +++++----- Library/Formula/fsh.rb | 6 ++-- Library/Formula/ftgl.rb | 4 +-- Library/Formula/gambit-scheme.rb | 1 - Library/Formula/gant.rb | 2 +- Library/Formula/gccxml.rb | 8 ++---- Library/Formula/gd.rb | 3 +- Library/Formula/gerrit-tools.rb | 2 +- Library/Formula/gettext.rb | 27 +++++++----------- Library/Formula/ghc.rb | 2 +- Library/Formula/git-flow.rb | 9 ++---- Library/Formula/git-sh.rb | 3 +- Library/Formula/git.rb | 7 ++--- Library/Formula/glew.rb | 6 ++-- Library/Formula/glib.rb | 4 +-- Library/Formula/global.rb | 4 +-- Library/Formula/gloox.rb | 8 +++--- Library/Formula/gmediaserver.rb | 13 ++++----- Library/Formula/gmime.rb | 3 +- Library/Formula/gnu-chess.rb | 18 ++++++------ Library/Formula/gnu-getopt.rb | 4 +-- Library/Formula/gnu-go.rb | 10 ++++--- Library/Formula/gnu-prolog.rb | 5 ++-- Library/Formula/gnu-smalltalk.rb | 8 +++--- Library/Formula/gnu-tar.rb | 2 +- Library/Formula/gnu-time.rb | 7 ++--- Library/Formula/gnutls.rb | 10 +++---- Library/Formula/gource.rb | 9 ++---- Library/Formula/gphoto2.rb | 6 +++- Library/Formula/gpsbabel.rb | 7 ++--- Library/Formula/graphviz.rb | 4 +-- Library/Formula/grc.rb | 18 +++++------- Library/Formula/greg.rb | 4 +-- Library/Formula/guile.rb | 2 +- Library/Formula/hadoop.rb | 5 ++-- Library/Formula/haproxy.rb | 8 +++--- Library/Formula/hercules.rb | 5 ++-- Library/Formula/hevea.rb | 4 +-- Library/Formula/hping.rb | 2 +- Library/Formula/html-xml-utils.rb | 1 - Library/Formula/httrack.rb | 4 +-- Library/Formula/icu4c.rb | 4 +-- Library/Formula/id3tool.rb | 1 - Library/Formula/id3v2.rb | 8 ++++-- Library/Formula/iftop.rb | 3 +- Library/Formula/ilmbase.rb | 2 +- Library/Formula/imagemagick.rb | 5 +--- Library/Formula/innotop.rb | 2 +- Library/Formula/intltool.rb | 6 ++-- Library/Formula/iperf.rb | 6 ++-- Library/Formula/iphotoexport.rb | 4 +-- Library/Formula/john.rb | 14 +++++----- Library/Formula/jsawk.rb | 3 +- Library/Formula/kde-phonon.rb | 6 ++-- Library/Formula/kdelibs.rb | 6 ++-- Library/Formula/keychain.rb | 3 +- Library/Formula/kumofs.rb | 6 ++-- Library/Formula/lame.rb | 8 +++--- Library/Formula/languagetool.rb | 2 +- Library/Formula/libao.rb | 6 ++-- Library/Formula/libassuan.rb | 2 +- Library/Formula/libcroco.rb | 2 +- Library/Formula/libdvdread.rb | 3 +- Library/Formula/libevent.rb | 3 +- Library/Formula/libffi.rb | 8 ++++-- Library/Formula/libfixbuf.rb | 8 ++---- Library/Formula/libftdi.rb | 9 +++--- Library/Formula/libgadu.rb | 1 - Library/Formula/libgarmin.rb | 17 +++++------- Library/Formula/libgsf.rb | 9 ++---- Library/Formula/libidl.rb | 2 +- Library/Formula/liblastfm.rb | 8 +++--- Library/Formula/libmagic.rb | 6 ++-- Library/Formula/libnet.rb | 4 +-- Library/Formula/libogg.rb | 4 +-- Library/Formula/liboil.rb | 8 +++--- Library/Formula/libpano.rb | 2 +- Library/Formula/libplist.rb | 3 +- Library/Formula/libpng.rb | 4 +-- Library/Formula/libquicktime.rb | 5 +++- Library/Formula/librasterlite.rb | 6 ++-- Library/Formula/libspatialite.rb | 2 +- Library/Formula/libspotify.rb | 13 ++------- Library/Formula/libvorbis.rb | 4 +-- Library/Formula/libwpd.rb | 2 +- Library/Formula/libwpg.rb | 2 +- Library/Formula/libxml2.rb | 4 +-- Library/Formula/lighttpd.rb | 6 ++-- Library/Formula/lilypond.rb | 2 +- Library/Formula/linklint.rb | 2 +- Library/Formula/links.rb | 6 ++-- Library/Formula/litmus.rb | 6 ++-- Library/Formula/llvm.rb | 12 +++----- Library/Formula/lorem.rb | 5 ++-- Library/Formula/lua.rb | 2 +- Library/Formula/lynx.rb | 5 ++-- Library/Formula/lysp.rb | 4 +-- Library/Formula/lzo.rb | 5 +++- Library/Formula/macvim.rb | 4 +-- Library/Formula/mailtomutt.rb | 13 ++++----- Library/Formula/man2html.rb | 4 +-- Library/Formula/mathomatic.rb | 3 +- Library/Formula/mawk.rb | 4 ++- Library/Formula/maxima.rb | 5 ++-- Library/Formula/mcabber.rb | 17 +++++------- Library/Formula/mcrypt.rb | 7 ++++- Library/Formula/mediatomb.rb | 2 +- Library/Formula/memcached.rb | 2 +- Library/Formula/metalua.rb | 1 - Library/Formula/metasploit.rb | 3 +- Library/Formula/metis.rb | 2 +- Library/Formula/mftrace.rb | 2 +- Library/Formula/mhash.rb | 6 ++-- Library/Formula/minicom.rb | 16 +++++------ Library/Formula/mmv.rb | 4 +-- Library/Formula/mod_python.rb | 2 +- Library/Formula/mod_wsgi.rb | 2 +- Library/Formula/mongodb.rb | 6 ++-- Library/Formula/most.rb | 6 ++-- Library/Formula/mp3gain.rb | 2 +- Library/Formula/mpg123.rb | 4 +-- Library/Formula/mplayer.rb | 2 +- Library/Formula/msmtp.rb | 16 ++++------- Library/Formula/mtr.rb | 8 +++--- Library/Formula/mutt.rb | 51 ++++++++++++++++------------------ Library/Formula/mysql-connector-c.rb | 6 ++-- Library/Formula/mysql.rb | 10 +++---- Library/Formula/mz-scheme.rb | 9 ++++-- Library/Formula/n2n.rb | 17 ++++++------ Library/Formula/nasm.rb | 6 ++-- Library/Formula/nazghul.rb | 9 +++--- Library/Formula/ncftp.rb | 9 +++--- Library/Formula/neon.rb | 8 ++---- Library/Formula/netcdf.rb | 2 -- Library/Formula/nethack.rb | 29 ++++++++----------- Library/Formula/newlisp.rb | 2 +- Library/Formula/nkf.rb | 11 ++++---- Library/Formula/nmap.rb | 4 +-- Library/Formula/node.rb | 4 +-- Library/Formula/objective-caml.rb | 2 +- Library/Formula/ode.rb | 2 +- Library/Formula/omega.rb | 8 +++--- Library/Formula/oniguruma.rb | 6 ++-- Library/Formula/open-mpi.rb | 2 +- Library/Formula/open-tyrian.rb | 10 +++---- Library/Formula/opencore-amr.rb | 2 +- Library/Formula/opencv.rb | 27 +++++++----------- Library/Formula/openexr.rb | 7 ++--- Library/Formula/openimageio.rb | 8 +++--- Library/Formula/openvpn.rb | 5 ++-- Library/Formula/orc.rb | 4 ++- Library/Formula/orderly.rb | 2 +- Library/Formula/ossp-uuid.rb | 2 +- Library/Formula/p0f.rb | 1 - Library/Formula/par2.rb | 6 ++-- Library/Formula/pbzip2.rb | 6 ++-- Library/Formula/pdflib-lite.rb | 16 +++++++---- Library/Formula/pdftohtml.rb | 6 ++-- Library/Formula/pgpool-ii.rb | 2 +- Library/Formula/phoronix-test-suite.rb | 2 +- Library/Formula/pig.rb | 1 - Library/Formula/pigz.rb | 3 +- Library/Formula/pkg-config.rb | 2 -- Library/Formula/playdar.rb | 14 ++++------ Library/Formula/plowshare.rb | 4 +-- Library/Formula/png2ico.rb | 2 +- Library/Formula/pngrewrite.rb | 5 +--- Library/Formula/poco.rb | 10 +++---- Library/Formula/poppler.rb | 10 ++----- Library/Formula/pos.rb | 5 ++-- Library/Formula/postgresql.rb | 33 ++++++++++------------ Library/Formula/povray.rb | 4 ++- Library/Formula/proctools.rb | 12 ++++---- Library/Formula/proj.rb | 2 +- Library/Formula/protobuf.rb | 8 +++--- Library/Formula/pstree.rb | 6 ++-- Library/Formula/ptunnel.rb | 2 +- Library/Formula/pure.rb | 4 ++- Library/Formula/pwgen.rb | 3 +- Library/Formula/pwsafe.rb | 9 +++--- Library/Formula/pyqt.rb | 2 +- Library/Formula/qdbm.rb | 11 ++------ Library/Formula/qt.rb | 7 ++--- Library/Formula/quicktree.rb | 2 +- Library/Formula/ragel.rb | 5 ++-- Library/Formula/raptor.rb | 2 +- Library/Formula/readline.rb | 5 ++-- Library/Formula/rename.rb | 6 +--- Library/Formula/repl.rb | 2 +- Library/Formula/riak.rb | 8 +++--- Library/Formula/rinetd.rb | 8 +++--- Library/Formula/rlog.rb | 2 +- Library/Formula/rogue.rb | 15 ++++------ Library/Formula/rtmpdump.rb | 3 +- Library/Formula/rubinius.rb | 2 +- Library/Formula/ruby.rb | 10 ++----- Library/Formula/runit.rb | 2 -- Library/Formula/rxvt-unicode.rb | 15 ++++------ Library/Formula/rzip.rb | 4 +-- Library/Formula/s-lang.rb | 11 ++++---- Library/Formula/s3sync.rb | 2 +- Library/Formula/saga-cpp.rb | 1 - Library/Formula/sbcl.rb | 1 - Library/Formula/sbt.rb | 5 ++-- Library/Formula/scala.rb | 2 +- Library/Formula/scalate.rb | 2 +- Library/Formula/scheme48.rb | 4 ++- Library/Formula/scons.rb | 11 +++----- Library/Formula/scsh.rb | 12 +++----- Library/Formula/scummvm.rb | 2 +- Library/Formula/sdl_mixer.rb | 3 +- Library/Formula/sdl_net.rb | 5 ++-- Library/Formula/sdl_sound.rb | 2 +- Library/Formula/sdl_ttf.rb | 5 ++-- Library/Formula/sgrep.rb | 7 ++--- Library/Formula/shapefile.rb | 4 +-- Library/Formula/shared-mime-info.rb | 10 ++++--- Library/Formula/shorten.rb | 6 ++-- Library/Formula/siege.rb | 10 +++---- Library/Formula/silk.rb | 11 ++++---- Library/Formula/simh.rb | 3 +- Library/Formula/sipsak.rb | 3 +- Library/Formula/ski.rb | 2 +- Library/Formula/skipfish.rb | 7 ++--- Library/Formula/sloccount.rb | 6 ++-- Library/Formula/slrn.rb | 16 ++++------- Library/Formula/smpeg.rb | 2 +- Library/Formula/solr.rb | 36 ++++++++++++------------ Library/Formula/soprano.rb | 2 +- Library/Formula/sox.rb | 10 ++----- Library/Formula/spatialite-tools.rb | 7 ++--- Library/Formula/spidermonkey.rb | 2 +- Library/Formula/spim.rb | 3 +- Library/Formula/spin.rb | 2 +- Library/Formula/spring-roo.rb | 2 +- Library/Formula/sqlite.rb | 4 +-- Library/Formula/stp.rb | 6 ++-- Library/Formula/surfraw.rb | 4 +-- Library/Formula/swftools.rb | 14 ++++------ Library/Formula/tarsnap.rb | 4 ++- Library/Formula/task.rb | 7 ++--- Library/Formula/term.rb | 8 +++--- Library/Formula/tesseract.rb | 23 ++++++++------- Library/Formula/texinfo.rb | 4 +-- Library/Formula/thrift.rb | 10 ++----- Library/Formula/timedog.rb | 2 +- Library/Formula/tomcat.rb | 17 ++++++------ Library/Formula/tor.rb | 6 ++-- Library/Formula/tre.rb | 6 ++-- Library/Formula/tree.rb | 6 ++-- Library/Formula/uif2iso.rb | 4 +-- Library/Formula/unittest.rb | 6 ++-- Library/Formula/unix2dos.rb | 4 +-- Library/Formula/unixodbc.rb | 10 ++++--- Library/Formula/unp.rb | 12 ++++---- Library/Formula/unrar.rb | 2 +- Library/Formula/unyaffs.rb | 2 +- Library/Formula/ut-cache.rb | 2 +- Library/Formula/v8.rb | 17 ++++++------ Library/Formula/varnish.rb | 6 ++-- Library/Formula/vcprompt.rb | 1 - Library/Formula/vice.rb | 15 ++++------ Library/Formula/vilistextum.rb | 6 ++-- Library/Formula/virtuoso.rb | 17 +++++------- Library/Formula/visualboyadvance.rb | 10 +++---- Library/Formula/voldemort.rb | 15 +++++----- Library/Formula/vorbis-tools.rb | 6 ++-- Library/Formula/vpnc.rb | 19 +++++-------- Library/Formula/w3m.rb | 4 ++- Library/Formula/weechat.rb | 2 +- Library/Formula/whohas.rb | 2 +- Library/Formula/willgit.rb | 2 +- Library/Formula/winetricks.rb | 14 ++++------ Library/Formula/wireshark.rb | 4 +-- Library/Formula/wkhtmltopdf.rb | 12 ++++---- Library/Formula/woof.rb | 2 +- Library/Formula/wordnet.rb | 3 +- Library/Formula/wrangler.rb | 6 ++-- Library/Formula/wtf.rb | 2 +- Library/Formula/wyrd.rb | 10 ++----- Library/Formula/x264.rb | 3 +- Library/Formula/xar.rb | 6 ++-- Library/Formula/xdelta.rb | 2 +- Library/Formula/xpdf.rb | 20 ++++++------- Library/Formula/xu4.rb | 7 +++-- Library/Formula/xz.rb | 4 ++- Library/Formula/yaf.rb | 8 ++---- Library/Formula/yaws.rb | 13 ++++----- Library/Formula/yaz.rb | 2 -- Library/Formula/youtube-dl.rb | 6 +--- Library/Formula/zebra.rb | 5 ++-- Library/Formula/znc.rb | 6 ++-- Library/Formula/zsh.rb | 12 ++++---- 389 files changed, 1133 insertions(+), 1404 deletions(-) diff --git a/Library/Formula/aalib.rb b/Library/Formula/aalib.rb index fbc2a1a94..dc55180da 100644 --- a/Library/Formula/aalib.rb +++ b/Library/Formula/aalib.rb @@ -11,7 +11,8 @@ class Aalib :optional - depends_on 'gettext' - #depends_on 'qt3' # for gui frontends def install fails_with_llvm "llvm results in a sigsegfault during compile" - configure_args = [ - "--prefix=#{prefix}", - "--disable-debug", - "--disable-dependency-tracking", - "--with-frontends=cli", - "--with-gwen-dir=#{HOMEBREW_PREFIX}", - ] - system "./configure", *configure_args ENV.j1 + system "./configure", "--disable-debug", + "--disable-dependency-tracking", + "--prefix=#{prefix}", + "--with-frontends=cli", + "--with-gwen-dir=#{HOMEBREW_PREFIX}" system "make install" end end diff --git a/Library/Formula/arp-sk.rb b/Library/Formula/arp-sk.rb index bb498c63c..cb7ff3c04 100644 --- a/Library/Formula/arp-sk.rb +++ b/Library/Formula/arp-sk.rb @@ -8,7 +8,9 @@ class ArpSk "origin/tags/1.0.0" homepage "http://couchdb.apache.org/" version "1.0.0" - @specs = {:tag => "origin/tags/1.0.0"} depends_on 'spidermonkey' depends_on 'icu4c' diff --git a/Library/Formula/cowsay.rb b/Library/Formula/cowsay.rb index f8b0ad217..5a782c705 100755 --- a/Library/Formula/cowsay.rb +++ b/Library/Formula/cowsay.rb @@ -7,6 +7,6 @@ class Cowsay NoUnzipCurlDownloadStrategy homepage 'http://cracklib.sourceforge.net' md5 '7fa6ba0cd50e7f9ccaf4707c810b14f1' depends_on 'cracklib' - def download_strategy - NoUnzipCurlDownloadStrategy - end - def install system "gzip", "-d", "cracklib-words-20080507.gz" share.install "cracklib-words-20080507" => "cracklib-words" diff --git a/Library/Formula/csshx.rb b/Library/Formula/csshx.rb index 8c87f01e3..c8f1a050d 100644 --- a/Library/Formula/csshx.rb +++ b/Library/Formula/csshx.rb @@ -7,6 +7,6 @@ class Csshx < Formula head 'http://csshx.googlecode.com/svn/trunk/' def install - bin.install 'csshX' + bin.install 'csshX' end end diff --git a/Library/Formula/ctags.rb b/Library/Formula/ctags.rb index 164ef145b..b74299f2e 100755 --- a/Library/Formula/ctags.rb +++ b/Library/Formula/ctags.rb @@ -1,9 +1,9 @@ require 'formula' class Ctags Source: http://wiki.dovecot.org/LaunchdInstall -4) start the server using: sudo launchctl load /Library/LaunchDaemons/org.dovecot.plist +4) start the server using: sudo launchctl load /Library/LaunchDaemons/org.dovecot.plist EOS end end diff --git a/Library/Formula/duff.rb b/Library/Formula/duff.rb index 6b7e1e489..b0f0a24fb 100644 --- a/Library/Formula/duff.rb +++ b/Library/Formula/duff.rb @@ -6,10 +6,8 @@ class Duff files.map { |file| macports_patch_url('sysutils', file) } } diff --git a/Library/Formula/dwdiff.rb b/Library/Formula/dwdiff.rb index 036fd453c..91da500f1 100644 --- a/Library/Formula/dwdiff.rb +++ b/Library/Formula/dwdiff.rb @@ -12,10 +12,10 @@ class Dwdiff "OTP_R13B04" homepage 'http://www.erlang.org' version 'R13B04' - @specs = {:tag => "OTP_R13B04"} # We can't strip the beam executables or any plugins, there isn't really # anything else worth stripping and it takes a really, long time to run diff --git a/Library/Formula/ettercap-ng.rb b/Library/Formula/ettercap-ng.rb index 914761f05..5755cc7bd 100644 --- a/Library/Formula/ettercap-ng.rb +++ b/Library/Formula/ettercap-ng.rb @@ -11,7 +11,7 @@ class EttercapNg < Formula # # Include various macports patches: http://trac.macports.org/export/61709/trunk/dports/net/ettercap-ng/files/ # I didn't write the macports patches, but they seem to be necessary. - # Associated discussions: + # Associated discussions: # http://thnetos.wordpress.com/2007/08/10/how-to-compile-ettercap-ng-073-on-mac-osx-when-you-get-that-annoying-pthread-error/ # http://thnetos.wordpress.com/2007/11/15/compile-ettercap-ng-073-natively-on-leopard-fix/ # http://trac.macports.org/ticket/3031 @@ -30,23 +30,17 @@ class EttercapNg < Formula end def install - configure_args = [ - "--prefix=#{prefix}", - "--mandir=#{man}", - "--infodir=#{prefix}/share/info", - '--disable-dependency-tracking', - "--disable-gtk", - "--disable-debug", - "--disable-plugins", - "--with-openssl=/usr", - "--with-libpcap=/usr", - "--with-libncurses=/usr", - "--with-libpcre=#{HOMEBREW_PREFIX}", - "--with-libnet=#{HOMEBREW_PREFIX}", - ] - - system "./configure", *configure_args - + system "./configure", "--disable-debug", "--disable-dependency-tracking", + "--prefix=#{prefix}", + "--mandir=#{man}", + "--infodir=#{prefix}/share/info", + "--disable-gtk", + "--disable-plugins", + "--with-openssl=/usr", + "--with-libpcap=/usr", + "--with-libncurses=/usr", + "--with-libpcre=#{HOMEBREW_PREFIX}", + "--with-libnet=#{HOMEBREW_PREFIX}" system "make install" end end diff --git a/Library/Formula/exif.rb b/Library/Formula/exif.rb index dad17d2ef..1de0b3cf5 100644 --- a/Library/Formula/exif.rb +++ b/Library/Formula/exif.rb @@ -8,7 +8,7 @@ class Exif '6317' + url 'http://exult.svn.sourceforge.net/svnroot/exult/exult/trunk', :revision => '6317' homepage 'http://exult.sourceforge.net/' + version '1.4pre' + head 'http://exult.svn.sourceforge.net/svnroot/exult/exult/trunk' depends_on 'sdl' depends_on 'sdl_mixer' @@ -14,9 +15,8 @@ class Exult "foremost.conf.sample" end end diff --git a/Library/Formula/fortune.rb b/Library/Formula/fortune.rb index d6ba1826b..40fafa5a0 100644 --- a/Library/Formula/fortune.rb +++ b/Library/Formula/fortune.rb @@ -6,9 +6,7 @@ class Fortune FreeimageHttpDownloadStrategy version '3.13.1' md5 'a2e20b223a2cf6a5791cc47686364e99' homepage 'http://sf.net/projects/freeimage' - def download_strategy - FreeimageHttpDownloadStrategy - end - def patches DATA end diff --git a/Library/Formula/frotz.rb b/Library/Formula/frotz.rb index c872d6c63..120ea0ad1 100644 --- a/Library/Formula/frotz.rb +++ b/Library/Formula/frotz.rb @@ -1,15 +1,15 @@ require 'formula' class Frotz 'develop' - else - head 'git://github.com/nvie/gitflow.git', :tag => '0.2.1' - version '0.2.1' - end + url 'git://github.com/nvie/gitflow.git', :tag => '0.2.1' + version '0.2.1' + head 'git://github.com/nvie/gitflow.git', :branch => 'develop' homepage 'http://github.com/nvie/gitflow' diff --git a/Library/Formula/git-sh.rb b/Library/Formula/git-sh.rb index 2befabede..d09863536 100644 --- a/Library/Formula/git-sh.rb +++ b/Library/Formula/git-sh.rb @@ -7,7 +7,8 @@ class GitSh < Formula version '20100401' head 'git://github.com/rtomayko/git-sh.git' - depends_on 'git' + # Not depending on git because people might have it + # installed through another means def install system "make" diff --git a/Library/Formula/git.rb b/Library/Formula/git.rb index 857ce114b..0fe88e4cc 100644 --- a/Library/Formula/git.rb +++ b/Library/Formula/git.rb @@ -32,8 +32,8 @@ class Git < Formula # Install the git bash completion file (etc+'bash_completion.d').install 'contrib/completion/git-completion.bash' - - # Install git-p4 + + # Install git-p4 bin.install 'contrib/fast-import/git-p4' # these files are exact copies of the git binary, so like the contents @@ -50,7 +50,6 @@ class Git < Formula # we could build the manpages ourselves, but the build process depends # on many other packages, and is somewhat crazy, this way is easier GitManuals.new.brew { man.install Dir['*'] } - doc = share+'doc/git-doc' - GitHtmldocs.new.brew { doc.install Dir['*'] } + GitHtmldocs.new.brew { (share+'doc/git-doc').install Dir['*'] } end end diff --git a/Library/Formula/glew.rb b/Library/Formula/glew.rb index 22056fed4..cf901445f 100644 --- a/Library/Formula/glew.rb +++ b/Library/Formula/glew.rb @@ -6,8 +6,8 @@ class Glew :optional depends_on 'taglib' => :optional - + def patches # patching gmediaserver because sigwaitinfo is not available on # mac os x snow leopard, using sigwait instead DATA end - def install - system "./configure", "--prefix=#{prefix}", - "--disable-debug", - "--disable-dependency-tracking" + def install + system "./configure", "--disable-debug", "--disable-dependency-tracking", + "--prefix=#{prefix}" system "make" system "make install" end -end +end __END__ --- gmediaserver-0.13.0 CHANGED/src/metadata.c 2007-10-20 11:41:32.000000000 +0200 diff --git a/Library/Formula/gmime.rb b/Library/Formula/gmime.rb index 07848cfba..8f70aace5 100644 --- a/Library/Formula/gmime.rb +++ b/Library/Formula/gmime.rb @@ -8,7 +8,8 @@ class Gmime :optional # 32/64 built build problems @@ -29,8 +29,8 @@ class GnuSmalltalk "24feaee4" + version "0.27" head 'git://github.com/acaudwell/Gource.git' depends_on 'pkg-config' @@ -17,9 +16,7 @@ class Gource :post homepage 'http://www.gpsbabel.org' md5 '512c4acfb12e20102fa5ceacef45a356' depends_on 'libusb' depends_on 'expat' - def download_strategy - CurlPostDownloadStrategy - end - def install system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" diff --git a/Library/Formula/graphviz.rb b/Library/Formula/graphviz.rb index c6fbf98e3..bd9b69995 100644 --- a/Library/Formula/graphviz.rb +++ b/Library/Formula/graphviz.rb @@ -8,9 +8,7 @@ class Graphviz > ~/.bashrc - + def caveats; <<-EOS.undent + New shell sessions will start using GRC after you run the following command: + echo 'source "`brew --prefix`/etc/grc.bashrc"' >> ~/.bashrc EOS end end diff --git a/Library/Formula/greg.rb b/Library/Formula/greg.rb index 00f17af88..881d01605 100644 --- a/Library/Formula/greg.rb +++ b/Library/Formula/greg.rb @@ -5,8 +5,8 @@ class Greg :optional + depends_on 'ghostscript' => :optional def install - inreplace 'Makefile', '/usr/local', "#{prefix}" + inreplace 'Makefile', '/usr/local', prefix system "make" system "make install" end diff --git a/Library/Formula/hping.rb b/Library/Formula/hping.rb index e8314df6c..451fccd28 100644 --- a/Library/Formula/hping.rb +++ b/Library/Formula/hping.rb @@ -28,7 +28,7 @@ class Hping :perl def install diff --git a/Library/Formula/intltool.rb b/Library/Formula/intltool.rb index 4db38785b..b0d22099d 100644 --- a/Library/Formula/intltool.rb +++ b/Library/Formula/intltool.rb @@ -1,9 +1,9 @@ require 'formula' class Intltool DATA } end - + def install ENV.deparallelize fails_with_llvm arch = Hardware.is_64_bit? ? '64' : 'sse2' - + Dir.chdir 'src' do system "make clean macosx-x86-#{arch}" end - - FileUtils.rm 'README' + + rm 'README' # using mv over bin.install due to problem moving sym links - FileUtils.mv 'run', bin - FileUtils.chmod_R 0755, bin + mv 'run', bin + chmod_R 0755, bin end end diff --git a/Library/Formula/jsawk.rb b/Library/Formula/jsawk.rb index 8fb299ee1..4a0d73937 100644 --- a/Library/Formula/jsawk.rb +++ b/Library/Formula/jsawk.rb @@ -3,8 +3,7 @@ require 'formula' class Jsawk :ruby def install - system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", - "--with-msgpack=#{prefix}", "--with-tokyocabinet=#{prefix}" + system "./configure", "--disable-debug", "--disable-dependency-tracking", + "--prefix=#{prefix}", + "--with-msgpack=#{prefix}", + "--with-tokyocabinet=#{prefix}" system "make install" end end diff --git a/Library/Formula/lame.rb b/Library/Formula/lame.rb index 72c796905..4229e6764 100644 --- a/Library/Formula/lame.rb +++ b/Library/Formula/lame.rb @@ -1,12 +1,12 @@ require 'formula' class Lame "http://svn.macports.org/repository/macports/trunk/dports/devel/liboil/files/patch-liboil_liboilcpu-x86.c.diff", - :p0 => "http://svn.macports.org/repository/macports/trunk/dports/devel/liboil/files/host_cpu.diff" - } + {:p0 => [ + "http://svn.macports.org/repository/macports/trunk/dports/devel/liboil/files/patch-liboil_liboilcpu-x86.c.diff", + "http://svn.macports.org/repository/macports/trunk/dports/devel/liboil/files/host_cpu.diff" + ]} end end diff --git a/Library/Formula/libpano.rb b/Library/Formula/libpano.rb index 70bf7fc73..c1ecd1e51 100644 --- a/Library/Formula/libpano.rb +++ b/Library/Formula/libpano.rb @@ -6,7 +6,7 @@ class Libpano :optional def install - system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", "--enable-gpl", "--without-doxygen" + system "./configure", "--disable-debug", "--disable-dependency-tracking", + "--prefix=#{prefix}", + "--enable-gpl", + "--without-doxygen" system "make" system "make install" end diff --git a/Library/Formula/librasterlite.rb b/Library/Formula/librasterlite.rb index a1a0b3725..5ca05f72d 100644 --- a/Library/Formula/librasterlite.rb +++ b/Library/Formula/librasterlite.rb @@ -9,10 +9,8 @@ class Librasterlite 'libspotify.0.0.4.dylib' + (include+'libspotify').install "libspotify.framework/Versions/#{version}/Headers/api.h" + (include+'libspotify').install "libspotify.framework/Versions/#{version}/libspotify" => 'libspotify.0.0.4.dylib' doc.install Dir['doc/*'] cd lib @@ -27,7 +20,7 @@ class Libspotify 'linklint' end end diff --git a/Library/Formula/links.rb b/Library/Formula/links.rb index b135966b0..ed4a88971 100644 --- a/Library/Formula/links.rb +++ b/Library/Formula/links.rb @@ -1,9 +1,9 @@ require 'formula' class Links :curl version '0.6.1' homepage 'http://code.google.com/p/lorem/' md5 '1246debbcb718aa56935e52136df17e8' - def download_strategy; CurlDownloadStrategy; end - def install inreplace "lorem", "!/usr/bin/python", "!/usr/bin/env python" bin.install "lorem" diff --git a/Library/Formula/lua.rb b/Library/Formula/lua.rb index 3c6f4a5cf..78ad09a32 100644 --- a/Library/Formula/lua.rb +++ b/Library/Formula/lua.rb @@ -6,7 +6,7 @@ class Lua :optional def install - configure_args = [ - "--prefix=#{prefix}", - "--disable-debug", - "--disable-dependency-tracking", - "--enable-aspell", - "--enable-enchant", - "--enable-otr", - "--with-ssl" - ] - system "./configure", *configure_args + system "./configure", "--prefix=#{prefix}", + "--disable-debug", + "--disable-dependency-tracking", + "--enable-aspell", + "--enable-enchant", + "--enable-otr", + "--with-ssl" system "make install" end end diff --git a/Library/Formula/mcrypt.rb b/Library/Formula/mcrypt.rb index 4786f0b66..17c1b901c 100755 --- a/Library/Formula/mcrypt.rb +++ b/Library/Formula/mcrypt.rb @@ -5,9 +5,14 @@ class Mcrypt :svn, :revision => "9321" + url "https://www.metasploit.com/svn/framework3/trunk/", :using => :svn, :revision => "9321" version "3.4.0" homepage 'http://www.metasploit.com/framework/' - md5 '' def install libexec.install Dir["msf*",'data','external','lib','modules','plugins','scripts','test','tools'] diff --git a/Library/Formula/metis.rb b/Library/Formula/metis.rb index 031b92279..74ef79ffe 100644 --- a/Library/Formula/metis.rb +++ b/Library/Formula/metis.rb @@ -7,7 +7,7 @@ class Metis Hardware Flow Control to be set to "No" to input text. EOS end - end diff --git a/Library/Formula/mmv.rb b/Library/Formula/mmv.rb index e84d1bed8..33cc189dd 100644 --- a/Library/Formula/mmv.rb +++ b/Library/Formula/mmv.rb @@ -16,8 +16,8 @@ class Mmv = 10.6 - system './configure', *args + system './configure', *args system "make" system "make install" end diff --git a/Library/Formula/msmtp.rb b/Library/Formula/msmtp.rb index c7f1030a2..c0fd91d50 100644 --- a/Library/Formula/msmtp.rb +++ b/Library/Formula/msmtp.rb @@ -6,21 +6,15 @@ class Msmtp = 10.6 - system "./configure", *options + args = [ "--disable-debug", "--disable-dependency-tracking", + "--disable-pthread", "--disable-mred", "--enable-xonx", + "--prefix=#{prefix}" ] + args << "--enable-mac64" if Hardware.is_64_bit? && MACOS_VERSION >= 10.6 + + system "./configure", *args system "make" system "make install" end diff --git a/Library/Formula/n2n.rb b/Library/Formula/n2n.rb index ff1e0e4f1..d029d2cfe 100644 --- a/Library/Formula/n2n.rb +++ b/Library/Formula/n2n.rb @@ -3,23 +3,22 @@ require 'formula' class N2n < Formula url 'http://www.sideshowcoder.railsplayground.net/files/n2n-2.7.tar.gz' homepage 'http://www.ntop.org/n2n/' - md5 '8e64e4fd0ebf05c76b942549dc8b6b76' + md5 '8e64e4fd0ebf05c76b942549dc8b6b76' def install system "make" system "make", "PREFIX=#{prefix}", "install" end - def caveats - <<-EOF.undent - To link correctly you need to have access to the /usr/local/sbin - and link n2n + def caveats; <<-EOF.undent + To link correctly you need to have access to the /usr/local/sbin + and link n2n - $ chown `whoami`:staff /usr/local/sbin - $ brew link n2n + $ chown `whoami`:staff /usr/local/sbin + $ brew link n2n - n2n also requires the tun/tap devices. To get these on OS X: - http://tuntaposx.sourceforge.net/download.xhtml + n2n also requires the tun/tap devices. To get these on OS X: + http://tuntaposx.sourceforge.net/download.xhtml EOF end end diff --git a/Library/Formula/nasm.rb b/Library/Formula/nasm.rb index 931a95a9d..769ab8b57 100644 --- a/Library/Formula/nasm.rb +++ b/Library/Formula/nasm.rb @@ -1,9 +1,9 @@ require 'formula' class Nasm '1728' + url 'https://opende.svn.sourceforge.net/svnroot/opende/trunk', :revision => '1728' homepage 'http://www.ode.org/' def install diff --git a/Library/Formula/omega.rb b/Library/Formula/omega.rb index 2a9a30c46..434474de0 100644 --- a/Library/Formula/omega.rb +++ b/Library/Formula/omega.rb @@ -1,9 +1,9 @@ require 'formula' class Omega '9ddcd06e48' + url 'http://opentyrian.googlecode.com/hg/', :revision => '9ddcd06e48' homepage 'http://code.google.com/p/opentyrian/' - version 'trunk' - + depends_on 'sdl' depends_on 'sdl_net' def install - d = libexec - OpenTyrianData.new.brew { d.install Dir['*'] } + OpenTyrianData.new.brew { libexec.install Dir['*'] } system "make release" libexec.install "opentyrian" @@ -24,7 +22,7 @@ class OpenTyrian :optional + depends_on 'jasper' => :optional + depends_on 'tbb' => :optional - # Very Optional? Pulls in lots of dependencies but maybe not needed unless you're doing video analysis - # Video analysis requires a bunch more things which we don't have: libgstreamer, libxine, unicap, libdc1394 2.x (or libdc1394 1.x + libraw1394). - # We can leave this disabled for now. - # Maybe we could add a flag? - #depends_on 'ffmpeg' - - # There are other optional dependencies but they don't currently exist in Homebrew. + # Can also depend on ffmpeg, but this pulls in a lot of extra stuff that you don't + # need unless you're doing video analysis, and some of it isn't in Homebrew anyway. + # depends_on 'ffmpeg' def install system "cmake -G 'Unix Makefiles' -DCMAKE_INSTALL_PREFIX:PATH=#{prefix} ." @@ -29,13 +24,11 @@ class Opencv :svn + url 'http://svn.openimageio.org/oiio/branches/RB-0.8/', :using => :svn version "0.8" homepage 'http://openimageio.org' @@ -12,10 +12,10 @@ class Openimageio :optional + depends_on 'libpng' => :optional depends_on 'libtiff' => :optional - depends_on 'jpeg' => :optional - depends_on 'jasper' => :optional + depends_on 'jpeg' => :optional + depends_on 'jasper' => :optional # Qt linking not currently working. # # build iv diff --git a/Library/Formula/openvpn.rb b/Library/Formula/openvpn.rb index 9336ff80f..530a91a42 100644 --- a/Library/Formula/openvpn.rb +++ b/Library/Formula/openvpn.rb @@ -7,9 +7,8 @@ class Openvpn :recommended - def skip_clean? path - path == etc or path == var - end + skip_clean 'etc' + skip_clean 'var' def install # Build and install binary diff --git a/Library/Formula/orc.rb b/Library/Formula/orc.rb index ef2a104fe..e894f2ae7 100644 --- a/Library/Formula/orc.rb +++ b/Library/Formula/orc.rb @@ -6,7 +6,9 @@ class Orc = 10.6 - configure_args = [ - "--enable-thread-safety", - "--with-bonjour", - "--with-gssapi", - "--with-krb5", - "--with-openssl", - "--with-libxml", - "--with-libxslt", - "--prefix=#{prefix}", - "--disable-debug" - ] + args = ["--disable-debug", + "--prefix=#{prefix}", + "--enable-thread-safety", + "--with-bonjour", + "--with-gssapi", + "--with-krb5", + "--with-openssl", + "--with-libxml", "--with-libxslt"] - configure_args << "--with-python" unless ARGV.include? '--no-python' - configure_args << "--with-perl" unless ARGV.include? '--no-perl' + args << "--with-python" unless ARGV.include? '--no-python' + args << "--with-perl" unless ARGV.include? '--no-perl' - configure_args << "--with-ossp-uuid" + args << "--with-ossp-uuid" ENV.append 'CFLAGS', `uuid-config --cflags`.strip ENV.append 'LDFLAGS', `uuid-config --ldflags`.strip ENV.append 'LIBS', `uuid-config --libs`.strip if bits_64? and not ARGV.include? '--no-python' - configure_args << "ARCHFLAGS='-arch x86_64'" + args << "ARCHFLAGS='-arch x86_64'" check_python_arch end # Fails on Core Duo with O4 and O3 ENV.O2 if Hardware.intel_family == :core - system "./configure", *configure_args + system "./configure", *args system "make install" %w[ adminpack dblink fuzzystrmatch lo uuid-ossp pg_buffercache pg_trgm diff --git a/Library/Formula/povray.rb b/Library/Formula/povray.rb index 99da5852b..9a65a450b 100644 --- a/Library/Formula/povray.rb +++ b/Library/Formula/povray.rb @@ -8,7 +8,9 @@ class Povray :nounzip version '0.1.3' homepage 'http://plasmasturm.org/code/rename' md5 'ce931227630a44d5d4ca4234a1fb8e63' - def download_strategy - NoUnzipCurlDownloadStrategy - end - def install system 'pod2man', 'rename', 'rename.1' bin.install 'rename' diff --git a/Library/Formula/repl.rb b/Library/Formula/repl.rb index 62c713045..3e57a62b2 100644 --- a/Library/Formula/repl.rb +++ b/Library/Formula/repl.rb @@ -4,7 +4,7 @@ class Repl < Formula url 'http://github.com/defunkt/repl/tarball/v0.2.1' homepage 'http://github.com/defunkt/repl' md5 '5b9d43038f1b561bd3215a01ee3cb766' - + depends_on 'rlwrap' => :optional def install diff --git a/Library/Formula/riak.rb b/Library/Formula/riak.rb index 00c6962d9..2e510b36d 100644 --- a/Library/Formula/riak.rb +++ b/Library/Formula/riak.rb @@ -1,18 +1,18 @@ require 'formula' class Riak :optional depends_on 'oniguruma' => :optional def install - system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--with-png=/usr/X11R6" + system "./configure", "--disable-debug", "--disable-dependency-tracking", + "--prefix=#{prefix}", + "--with-png=/usr/X11R6" system "make" - ENV.deparallelize system "make install" end diff --git a/Library/Formula/s3sync.rb b/Library/Formula/s3sync.rb index 534f464bd..eacdf8890 100644 --- a/Library/Formula/s3sync.rb +++ b/Library/Formula/s3sync.rb @@ -1,7 +1,7 @@ require 'formula' class S3sync '4' + url 'http://s3sync-s3cmd.googlecode.com/svn/trunk/', :revision => '4' version '1.2.6' homepage 'http://s3sync.net' diff --git a/Library/Formula/saga-cpp.rb b/Library/Formula/saga-cpp.rb index 7845b62b8..5f2a2480b 100755 --- a/Library/Formula/saga-cpp.rb +++ b/Library/Formula/saga-cpp.rb @@ -20,7 +20,6 @@ class SagaCpp :recommended def install - system "./configure --prefix='#{prefix}' --disable-debug" + system "./configure", "--prefix=#{prefix}", "--disable-debug" system "make install" (share+'pixmaps').rmtree end diff --git a/Library/Formula/sdl_mixer.rb b/Library/Formula/sdl_mixer.rb index b6ff34488..0a1d31634 100644 --- a/Library/Formula/sdl_mixer.rb +++ b/Library/Formula/sdl_mixer.rb @@ -9,9 +9,8 @@ class SdlMixer :optional depends_on 'libmikmod' => :optional - #depends_on 'smpeg' => :optional # http://icculus.org/smpeg/ depends_on 'libvorbis' => :optional - + def install Sdl.use_homebrew_prefix 'SDL_mixer.pc.in' diff --git a/Library/Formula/sdl_net.rb b/Library/Formula/sdl_net.rb index ab06e0d65..e6ea9771e 100644 --- a/Library/Formula/sdl_net.rb +++ b/Library/Formula/sdl_net.rb @@ -8,9 +8,8 @@ class SdlNet :optional diff --git a/Library/Formula/sdl_ttf.rb b/Library/Formula/sdl_ttf.rb index 771c38c64..3127d9bac 100644 --- a/Library/Formula/sdl_ttf.rb +++ b/Library/Formula/sdl_ttf.rb @@ -10,9 +10,8 @@ class SdlTtf :optional def install - configure_args = [ - "--prefix=#{prefix}", - "--disable-debug", - "--disable-dependency-tracking", - ] # Linking error 'symbol not found' on 10.6 64-bit '"_gomp_thread_attr", referenced from:' - configure_args << "--disable-gomp" + system "./configure", "--disable-debug", "--disable-dependency-tracking", + "--prefix=#{prefix}", + "--disable-gomp" - system "./configure", *configure_args system "make install" end end diff --git a/Library/Formula/spatialite-tools.rb b/Library/Formula/spatialite-tools.rb index 9b4c866ee..a39c34ae0 100644 --- a/Library/Formula/spatialite-tools.rb +++ b/Library/Formula/spatialite-tools.rb @@ -8,10 +8,9 @@ class SpatialiteTools :optional def install + ENV.x11 # Add to PATH for freetype-config on Snow Leopard ENV.minimal_optimization - # Add to PATH for freetype-config on Snow Leopard - ENV.prepend 'PATH', '/usr/X11/bin', ':' - ENV.x11 - system "./configure", "--prefix=#{prefix}" system "make" system "make install" end - def caveats - <<-EOS.undent - swfc segfaults under Snow Leopard. Please persue this issue - with the softare vendor: - http://lists.nongnu.org/mailman/listinfo/swftools-common + def caveats; <<-EOS.undent + `swfc` segfaults under Snow Leopard. + Please persue this issue with the softare vendor: + http://lists.nongnu.org/mailman/listinfo/swftools-common EOS end end diff --git a/Library/Formula/tarsnap.rb b/Library/Formula/tarsnap.rb index 3eb38ce94..2675bdba0 100644 --- a/Library/Formula/tarsnap.rb +++ b/Library/Formula/tarsnap.rb @@ -8,7 +8,9 @@ class Tarsnap :optional def install - system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--enable-sse2" + system "./configure", "--disable-debug", "--disable-dependency-tracking", + "--prefix=#{prefix}", + "--enable-sse2" system "make install" end end diff --git a/Library/Formula/task.rb b/Library/Formula/task.rb index 21875d36f..bf90b4bce 100644 --- a/Library/Formula/task.rb +++ b/Library/Formula/task.rb @@ -5,13 +5,10 @@ class Task "2206" # 'make install' expects the language data files in the build directory d = Dir.getwd - TesseractEnglishData.new.brew { FileUtils.cp Dir["*"], "#{d}/tessdata/" } + TesseractEnglishData.new.brew { cp Dir["*"], "#{d}/tessdata/" } system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking" system "make install" end + + def caveats; <<-EOF.undent + Tesseract is an OCR (Optical Character Recognition) engine. + + The easiest way to use it is to convert the source to a Grayscale tiff: + `convert source.png -type Grayscale terre_input.tif` + then run tesseract: + `tesseract terre_input.tif output` + EOF + end end diff --git a/Library/Formula/texinfo.rb b/Library/Formula/texinfo.rb index e40d1a2e1..56b253d33 100644 --- a/Library/Formula/texinfo.rb +++ b/Library/Formula/texinfo.rb @@ -5,9 +5,7 @@ class Texinfo 'http://gist.github.com/raw/344132/d27d1cd3042d7c58120688d79ed25a2fc959a2de/config.guess-x86_64patch.diff' } end - + def install system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking" system "make install" diff --git a/Library/Formula/tre.rb b/Library/Formula/tre.rb index a5640b83a..0bbce8799 100644 --- a/Library/Formula/tre.rb +++ b/Library/Formula/tre.rb @@ -6,10 +6,8 @@ class Tre = 10.6 and Hardware.is_64_bit? system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" end + + def caveats; <<-EOS.undent + NOTE: the Virtuoso server will start up several times on port 1111 + during the install process. + EOS + end end diff --git a/Library/Formula/visualboyadvance.rb b/Library/Formula/visualboyadvance.rb index d75ae8538..620d86247 100644 --- a/Library/Formula/visualboyadvance.rb +++ b/Library/Formula/visualboyadvance.rb @@ -4,11 +4,11 @@ class Visualboyadvance :perl def install diff --git a/Library/Formula/willgit.rb b/Library/Formula/willgit.rb index f3a1d0e23..8313d74a3 100644 --- a/Library/Formula/willgit.rb +++ b/Library/Formula/willgit.rb @@ -6,7 +6,7 @@ class Willgit curl version '20100316' md5 '79ab153ae51289ec7c25c7b7ed5d68ff' homepage 'http://wiki.winehq.org/winetricks' - head 'http://winezeug.googlecode.com/svn/trunk/winetricks' + head 'http://winezeug.googlecode.com/svn/trunk/winetricks', + :using => curl - - def caveats - <<-EOS.undent + def caveats; <<-EOS.undent winetricks is a set of utilities for wine, which is installed separately: brew install wine EOS end - - def download_strategy - CurlDownloadStrategy - end end diff --git a/Library/Formula/wireshark.rb b/Library/Formula/wireshark.rb index 5366ddbd5..22ba9b258 100644 --- a/Library/Formula/wireshark.rb +++ b/Library/Formula/wireshark.rb @@ -17,8 +17,8 @@ class Wireshark #{wkhtml_man}" - + # install binary and man file bin.install wkhtml_bin man1.install wkhtml_man diff --git a/Library/Formula/woof.rb b/Library/Formula/woof.rb index aa96f6219..452982fa3 100644 --- a/Library/Formula/woof.rb +++ b/Library/Formula/woof.rb @@ -1,8 +1,8 @@ require 'formula' class Woof '20fa784d2d9e0d5e524d4e3834699e9ff9b57511' depends_on 'yasm' - def install system "./version.sh" system "./configure", "--prefix=#{prefix}", diff --git a/Library/Formula/xar.rb b/Library/Formula/xar.rb index 56d027c3c..b09bf8fbb 100644 --- a/Library/Formula/xar.rb +++ b/Library/Formula/xar.rb @@ -1,9 +1,9 @@ require 'formula' class Xar '2725' homepage 'http://xu4.sourceforge.net/' + version '1.0beta4-pre' + + head 'http://xu4.svn.sourceforge.net/svnroot/xu4/trunk/u4' depends_on 'sdl' depends_on 'sdl_mixer' @@ -15,7 +18,7 @@ class Xu4 :optional - + skip_clean 'bin/znc' skip_clean 'bin/znc-config' skip_clean 'bin/znc-buildmod' - + def install # Apparently Snow Leopard's libperl is at /System/Library/Perl/lib/5.10/libperl.dylib # but I don't know how to tell znc that. Perl is only used for user plugins, anyway. diff --git a/Library/Formula/zsh.rb b/Library/Formula/zsh.rb index 7dca60c6d..d62665d7f 100644 --- a/Library/Formula/zsh.rb +++ b/Library/Formula/zsh.rb @@ -1,12 +1,14 @@ require 'formula' class Zsh :optional + skip_clean :all + def install system "./configure", "--disable-debug", "--prefix=#{prefix}", @@ -21,8 +23,4 @@ class Zsh