diff options
29 files changed, 0 insertions, 570 deletions
diff --git a/Library/Formula/bonnie.rb b/Library/Formula/bonnie.rb deleted file mode 100644 index f1b862392..000000000 --- a/Library/Formula/bonnie.rb +++ /dev/null @@ -1,11 +0,0 @@ -require 'formula' - -class Bonnie < Formula - homepage 'http://code.google.com/p/bonnie-64/' - head 'http://bonnie-64.googlecode.com/svn/trunk/' - - def install - system "make" - bin.install "Bonnie" => "bonnie" - end -end diff --git a/Library/Formula/darwinbuild.rb b/Library/Formula/darwinbuild.rb deleted file mode 100644 index 05e532b6f..000000000 --- a/Library/Formula/darwinbuild.rb +++ /dev/null @@ -1,37 +0,0 @@ -require 'formula' - -class Darwinbuild < Formula - homepage 'http://darwinbuild.macosforge.org/' - head 'http://svn.macosforge.org/repository/darwinbuild/trunk/' - - def patches - DATA - end - - depends_on :xcode # For working xcodebuild. - - def install - ENV.delete('CC') - ENV.delete('LD') - system "xcodebuild", "-configuration", "Release", "install", "DSTROOT=/", "PREFIX=#{prefix}", "SYMROOT=build" - end -end - -__END__ -diff --git a/common.mk b/common.mk -index 424109b..56fad54 100644 ---- a/common.mk -+++ b/common.mk -@@ -15,9 +15,9 @@ BINDIR=$(DESTDIR)$(PREFIX)/bin - DATDIR=$(DESTDIR)$(PREFIX)/share - INCDIR=$(DESTDIR)$(PREFIX)/include - INSTALL=install --INSTALL_EXE_FLAGS=-m 0755 -o root -g wheel -+INSTALL_EXE_FLAGS=-m 0755 - INSTALL_DIR_FLAGS=$(INSTALL_EXE_FLAGS) --INSTALL_DOC_FLAGS=-m 0644 -o root -g wheel -+INSTALL_DOC_FLAGS=-m 0644 - - SED=/usr/bin/sed - - diff --git a/Library/Formula/despotify.rb b/Library/Formula/despotify.rb deleted file mode 100644 index 4eafeeef6..000000000 --- a/Library/Formula/despotify.rb +++ /dev/null @@ -1,18 +0,0 @@ -require 'formula' - -class Despotify < Formula - head 'https://despotify.svn.sourceforge.net/svnroot/despotify/src' - homepage 'http://despotify.se/' - - depends_on 'pkg-config' => :build - depends_on 'libao' - depends_on 'libvorbis' - depends_on 'mpg123' - - def install - system "make Makefile.local.mk" - inreplace "Makefile.local.mk", "# INSTALL_PREFIX = /usr", "INSTALL_PREFIX = #{prefix}" - system "make" - system "make install" - end -end diff --git a/Library/Formula/echoprint-codegen.rb b/Library/Formula/echoprint-codegen.rb deleted file mode 100644 index 5451f3019..000000000 --- a/Library/Formula/echoprint-codegen.rb +++ /dev/null @@ -1,16 +0,0 @@ -require 'formula' - -class EchoprintCodegen < Formula - homepage 'http://echoprint.me' - head 'https://github.com/echonest/echoprint-codegen.git' - - depends_on 'ffmpeg' - depends_on 'taglib' - depends_on 'boost' - - def install - cd 'src' do - system "make", "install", "PREFIX=#{prefix}" - end - end -end diff --git a/Library/Formula/gerrit-tools.rb b/Library/Formula/gerrit-tools.rb deleted file mode 100644 index 1bf3a1c36..000000000 --- a/Library/Formula/gerrit-tools.rb +++ /dev/null @@ -1,10 +0,0 @@ -require 'formula' - -class GerritTools < Formula - head 'https://github.com/indirect/gerrit-tools.git' - homepage 'https://github.com/indirect/gerrit-tools' - - def install - prefix.install 'bin' - end -end diff --git a/Library/Formula/git-hg.rb b/Library/Formula/git-hg.rb deleted file mode 100644 index 910c2b446..000000000 --- a/Library/Formula/git-hg.rb +++ /dev/null @@ -1,27 +0,0 @@ -require 'formula' - -class HgInstalled < Requirement - satisfy { which 'hg' } - - def message; <<-EOS.undent - Mercurial is required to use this software. - - You can install this with Homebrew using: - brew install mercurial - - Or you can use an official installer from: - http://mercurial.selenic.com/ - EOS - end -end - -class GitHg < Formula - head 'https://github.com/offbytwo/git-hg.git' - homepage 'http://offbytwo.com/git-hg/' - - depends_on HgInstalled - - def install - prefix.install Dir['*'] - end -end diff --git a/Library/Formula/git-svn-abandon.rb b/Library/Formula/git-svn-abandon.rb deleted file mode 100644 index 888d0d0d4..000000000 --- a/Library/Formula/git-svn-abandon.rb +++ /dev/null @@ -1,13 +0,0 @@ -require 'formula' - -class GitSvnAbandon < Formula - homepage 'https://github.com/nothingmuch/git-svn-abandon' - head 'https://github.com/nothingmuch/git-svn-abandon.git' - - # Pending request for stable tab: - # https://github.com/nothingmuch/git-svn-abandon/issues/2 - - def install - bin.install Dir['git-svn-abandon-*'] - end -end diff --git a/Library/Formula/git-utils.rb b/Library/Formula/git-utils.rb deleted file mode 100644 index cac639a5c..000000000 --- a/Library/Formula/git-utils.rb +++ /dev/null @@ -1,10 +0,0 @@ -require 'formula' - -class GitUtils < Formula - head 'https://github.com/ddollar/git-utils.git' - homepage 'https://github.com/ddollar/git-utils' - - def install - bin.install Dir['git-*'] - end -end diff --git a/Library/Formula/google-js-test.rb b/Library/Formula/google-js-test.rb deleted file mode 100644 index 907623b68..000000000 --- a/Library/Formula/google-js-test.rb +++ /dev/null @@ -1,27 +0,0 @@ -require 'formula' - -class NeedsSnowLeopard < Requirement - satisfy MacOS.version >= :snow_leopard - - def message - "Google JS Test requires Mac OS X 10.6 (Snow Leopard) or newer." - end -end - -class GoogleJsTest < Formula - homepage 'http://code.google.com/p/google-js-test/' - url 'http://google-js-test.googlecode.com/files/gjstest-1.0.8.tar.bz2' - sha1 '2209dd0c700f9420e29a844920f8614e3d97156d' - - depends_on NeedsSnowLeopard - depends_on 'gflags' - depends_on 'glog' - depends_on 'protobuf' - depends_on 're2' - depends_on 'v8' - - def install - system "make", "PREFIX=#{prefix}" - system "make", "PREFIX=#{prefix}", "install" - end -end diff --git a/Library/Formula/lastfm_fplib.rb b/Library/Formula/lastfm_fplib.rb deleted file mode 100644 index 13d12fb54..000000000 --- a/Library/Formula/lastfm_fplib.rb +++ /dev/null @@ -1,18 +0,0 @@ -require 'formula' - -class LastfmFplib < Formula - homepage 'http://blog.last.fm/2007/08/29/audio-fingerprinting-for-clean-metadata' - head 'svn://svn.audioscrobbler.net/recommendation/MusicID/lastfm_fplib' - - depends_on 'cmake' => :build - depends_on 'taglib' - depends_on 'mad' - depends_on 'libsamplerate' - depends_on 'fftw' - - def install - Formula.factory("lastfmfpclient").inreplace_fix - system "cmake", ".", *std_cmake_args - system "make install" - end -end diff --git a/Library/Formula/libemu.rb b/Library/Formula/libemu.rb deleted file mode 100644 index 62c4e03e9..000000000 --- a/Library/Formula/libemu.rb +++ /dev/null @@ -1,29 +0,0 @@ -require 'formula' - -class Libemu < Formula - head 'http://git.carnivore.it/libemu.git' - homepage 'http://libemu.carnivore.it/' - - option "enable-python-bindings", "Compile bindings for Python" - - depends_on 'pkg-config' => :build - depends_on :automake - depends_on :libtool - - def install - inreplace 'Makefile.am' do |s| - # Need to fix the static location of pkgconfigpath - s.gsub! '/usr/lib/pkgconfig/', "#{lib}/pkgconfig/" - end - args = %W[ - --disable-debug - --disable-dependency-tracking - --prefix=#{prefix} - ] - args << "--enable-python-bindings" if build.include? 'enable-python-bindings' - - system "autoreconf -v -i" - system "./configure", *args - system "make install" - end -end diff --git a/Library/Formula/libgarmin.rb b/Library/Formula/libgarmin.rb deleted file mode 100644 index d4c8fb7c9..000000000 --- a/Library/Formula/libgarmin.rb +++ /dev/null @@ -1,29 +0,0 @@ -require 'formula' - -class Libgarmin < Formula - head 'http://libgarmin.svn.sourceforge.net/svnroot/libgarmin/libgarmin/dev/' - homepage 'http://libgarmin.sourceforge.net/' - - def rewrite_version - File.open("version.h","w") { |f| f.puts "#define LIBVERSION \"libgarmin 0.1\"" } - end - - def install - system "./autosh.sh" unless File.exist? "configure" - system "./configure", "--prefix=#{prefix}" - - # Fix OS X include - inreplace Dir["{src,utils}/*.c"], "#include <malloc.h>", "#include <stdlib.h>" - - # The code for creating 'verison.h' doesn't work on OS X. - inreplace "Makefile" do |s| - s.change_make_var! "BUILT_SOURCES", "" - end - - # Yep, need to recreate before make and make install - rewrite_version - system "make" - rewrite_version - system "make install" - end -end diff --git a/Library/Formula/odt2txt.rb b/Library/Formula/odt2txt.rb deleted file mode 100644 index df1121726..000000000 --- a/Library/Formula/odt2txt.rb +++ /dev/null @@ -1,19 +0,0 @@ -require 'formula' - -class Odt2txt < Formula - # Retrieve the HEAD because no releases have been made since the commit that - # includes Makefile rules for Mac OS X. - head 'git://repo.or.cz/odt2txt.git' - homepage 'http://stosberg.net/odt2txt/' - - def install - # the build flags in the Makefile contain "/opt" paths - args = ["CC=#{ENV.cc}", - "CFLAGS=#{ENV.cflags}", - "LDFLAGS=#{ENV.cppflags}", - "DESTDIR=#{prefix}"] - - # Use the -B flag to force make the install target to circumvent bugs in the Makefile - system "make", "-B", "install", *args - end -end diff --git a/Library/Formula/open-sg.rb b/Library/Formula/open-sg.rb deleted file mode 100644 index c4daef2ce..000000000 --- a/Library/Formula/open-sg.rb +++ /dev/null @@ -1,20 +0,0 @@ -require 'formula' - -class OpenSg < Formula - homepage 'http://www.opensg.org/wiki' - - head 'cvs://:pserver:anonymous@opensg.cvs.sourceforge.net:/cvsroot/opensg:OpenSG' - - depends_on 'libtiff' - depends_on 'jpeg' - - def install - ENV.deparallelize - ENV.no_optimization - system "./configure", "--prefix=#{prefix}", "--enable-glut", "--enable-tif", "--enable-jpg" - cd 'Builds/i386-apple-darwin-g++' do - system "make opt" - system "make install" - end - end -end diff --git a/Library/Formula/opentracker.rb b/Library/Formula/opentracker.rb deleted file mode 100644 index 4f6fb38d9..000000000 --- a/Library/Formula/opentracker.rb +++ /dev/null @@ -1,26 +0,0 @@ -require 'formula' - -class Libowfat < Formula - url 'http://dl.fefe.de/libowfat-0.28.tar.bz2' - sha1 '' - homepage 'http://www.fefe.de/libowfat/' -end - -class Opentracker < Formula - head 'cvs://:pserver:anoncvs:@cvs.erdgeist.org:/home/cvsroot:opentracker' - homepage 'http://erdgeist.org/arts/software/opentracker/' - - def install - # First libowfat must be compiled and installed where opentracker is expecting it - libowfat_include = Pathname.new(pwd) + 'libowfat' - Libowfat.new.brew do - system "make", "install", "INCLUDEDIR=#{libowfat_include}", "LIBDIR=#{libowfat_include}", "MAN3DIR=." - end - - # Tell opentracker that libowfat headers are located in the same directory as itself - ENV['PREFIX'] = '.' - - system "make", "opentracker" - bin.install "opentracker" - end -end diff --git a/Library/Formula/otx.rb b/Library/Formula/otx.rb deleted file mode 100644 index 757306ffa..000000000 --- a/Library/Formula/otx.rb +++ /dev/null @@ -1,19 +0,0 @@ -require 'formula' - -class Otx < Formula - homepage 'http://otx.osxninja.com/' - head 'http://otx.osxninja.com/builds/trunk/', :using => :svn - - depends_on :xcode # For working xcodebuild. - - def install - inreplace 'otx.xcodeproj/project.pbxproj' do |s| - s.gsub! "MacOSX10.6.sdk", "MacOSX#{MacOS.version}.sdk" - end - - system 'xcodebuild SYMROOT=build' - build = buildpath/'build/Release' - bin.install build/"otx" - prefix.install build/"otx.app" - end -end diff --git a/Library/Formula/playdar.rb b/Library/Formula/playdar.rb deleted file mode 100644 index a254302ca..000000000 --- a/Library/Formula/playdar.rb +++ /dev/null @@ -1,26 +0,0 @@ -require 'formula' - -class Playdar < Formula - homepage 'http://www.playdar.org' - head 'https://github.com/RJ/playdar-core.git' - - depends_on 'taglib' - depends_on 'erlang' - - def install - system "make all" - system "make scanner" - - Dir['playdar_modules/*/src'].each{ |fn| rm_rf fn } - rm_rf 'playdar_modules/library/priv/taglib_driver/scanner_visual_studio_sln' - File.unlink 'playdar_modules/library/priv/taglib_driver/taglib_json_reader.cpp' - - # otherwise playdar crashes - prefix.install 'ebin', 'playdar_modules', 'priv', 'etc' - - inreplace 'playdarctl', 'cd `dirname $0`', "cd #{prefix}" - inreplace 'playdarctl', 'EBIN=./ebin/', "EBIN=#{prefix}/ebin" - - bin.install 'playdarctl' - end -end diff --git a/Library/Formula/re2.rb b/Library/Formula/re2.rb deleted file mode 100644 index 459560ce8..000000000 --- a/Library/Formula/re2.rb +++ /dev/null @@ -1,17 +0,0 @@ -require 'formula' - -class Re2 < Formula - head 'https://re2.googlecode.com/hg' - homepage 'http://code.google.com/p/re2/' - - def install - inreplace 'Makefile' do |s| - s.change_make_var! "prefix", prefix - s.gsub! ".so", ".dylib" - end - - lib.mkdir - system "make" - system "make install" - end -end diff --git a/Library/Formula/rebar.rb b/Library/Formula/rebar.rb deleted file mode 100644 index 9dbffe30d..000000000 --- a/Library/Formula/rebar.rb +++ /dev/null @@ -1,14 +0,0 @@ -require 'formula' - -class Rebar < Formula - head "https://github.com/basho/rebar.git", :branch => "master" - homepage 'https://github.com/basho/rebar/wiki' - - depends_on 'erlang' - - def install - system "./bootstrap" - bin.install "rebar" - (prefix+'etc/bash_completion.d').install 'priv/shell-completion/bash/rebar' - end -end diff --git a/Library/Formula/redis-tools.rb b/Library/Formula/redis-tools.rb deleted file mode 100644 index d3cfc4657..000000000 --- a/Library/Formula/redis-tools.rb +++ /dev/null @@ -1,13 +0,0 @@ -require 'formula' - -class RedisTools < Formula - head 'https://github.com/antirez/redis-tools.git' - homepage 'https://github.com/antirez/redis-tools' - - def install - # Architecture isn't detected correctly on 32bit Snow Leopard without help - ENV["OBJARCH"] = MacOS.prefer_64_bit? ? "-arch x86_64" : "-arch i386" - system "make" - bin.install ["redis-load", "redis-stat"] - end -end diff --git a/Library/Formula/sigar.rb b/Library/Formula/sigar.rb deleted file mode 100644 index 300ef6d7e..000000000 --- a/Library/Formula/sigar.rb +++ /dev/null @@ -1,68 +0,0 @@ -require 'formula' - -class Sigar < Formula - # HEAD has up to date bindings that are actually useful. - head 'https://github.com/hyperic/sigar.git' - homepage 'http://sigar.hyperic.com/' - - option "perl", "Build Perl bindings" - option "python", "Build Python bindings" - option "ruby", "Build Ruby bindings" - - def java_script; <<-EOS.undent - #!/bin/sh - # Runs SIGAR's REPL. - java -jar #{prefix}/sigar.jar - EOS - end - - def install - # Build Java JAR & C library first. - cd "bindings/java" do - system "ant" - - cd "sigar-bin/lib" do - prefix.install 'sigar.jar' - lib.install Dir['*.dylib'] - end - - include.install Dir['sigar-bin/include/*'] - - (bin/'sigar').write java_script - end - - # Install Python bindings - cd "bindings/python" do - system "python", "setup.py", "install", "--prefix=#{prefix}" - end if build.include? "python" - - # Install Perl bindings - cd "bindings/perl" do - - system "perl", "Makefile.PL" - - # Tweak the Makefile to install. - # Can't pass PREFIX, as the Sigar build system uses ARGV[0] - inreplace "Makefile" do |s| - s.change_make_var! 'PREFIX', prefix - s.change_make_var! 'PERLPREFIX', '$(PREFIX)' - s.change_make_var! 'SITEPREFIX', '$(PREFIX)' - s.change_make_var! 'VENDORPREFIX', '$(PREFIX)' - s.change_make_var! 'INSTALLPRIVLIB', "$(PERLPREFIX)\\1" - s.change_make_var! 'INSTALLSITELIB', "$(PERLPREFIX)\\1" - s.change_make_var! 'INSTALLVENDORLIB', "$(PERLPREFIX)\\1" - s.change_make_var! 'INSTALLARCHLIB', "$(PERLPREFIX)\\1" - s.change_make_var! 'INSTALLSITEARCH', "$(PERLPREFIX)\\1" - s.change_make_var! 'INSTALLVENDORARCH', "$(PERLPREFIX)\\1" - end - - system "make install" - end if build.include? "perl" - - # Install Ruby bindings - cd "bindings/ruby" do - system "ruby", "extconf.rb", "--prefix=#{prefix}" - system "make install" - end if build.include? "ruby" - end -end diff --git a/Library/Formula/smpeg.rb b/Library/Formula/smpeg.rb deleted file mode 100644 index a53cdf418..000000000 --- a/Library/Formula/smpeg.rb +++ /dev/null @@ -1,26 +0,0 @@ -require 'formula' - -class Smpeg < Formula - homepage 'http://icculus.org/smpeg/' - head 'svn://svn.icculus.org/smpeg/trunk' - - depends_on :automake - depends_on :libtool - depends_on 'pkg-config' => :build - depends_on 'sdl' - depends_on 'gtk+' - - def install - sdl = Formula.factory("sdl") - system "./autogen.sh" - system "./configure", "--disable-debug", "--disable-dependency-tracking", - "--prefix=#{prefix}", - "--disable-sdltest", - # For non-/usr/local installs - "--with-sdl-prefix=#{sdl.opt_prefix}" - system "make" - # Install script is not +x by default for some reason - system "chmod +x ./install-sh" - system "make install" - end -end diff --git a/Library/Formula/stp.rb b/Library/Formula/stp.rb deleted file mode 100644 index d17a36c50..000000000 --- a/Library/Formula/stp.rb +++ /dev/null @@ -1,11 +0,0 @@ -require 'formula' - -class Stp < Formula - head 'http://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp', :revision => '1134' - homepage 'http://sites.google.com/site/stpfastprover/' - - def install - system "./scripts/configure", "--with-prefix=#{prefix}" - system "make install" - end -end diff --git a/Library/Formula/tcpstat.rb b/Library/Formula/tcpstat.rb deleted file mode 100644 index 8382941bd..000000000 --- a/Library/Formula/tcpstat.rb +++ /dev/null @@ -1,11 +0,0 @@ -require 'formula' - -class Tcpstat < Formula - head 'https://github.com/jtt/tcpstat.git' - homepage 'http://github.com/jtt/tcpstat' - - def install - system "make" - bin.install 'tcpstat' - end -end diff --git a/Library/Formula/titlecase.rb b/Library/Formula/titlecase.rb deleted file mode 100644 index ec5de301d..000000000 --- a/Library/Formula/titlecase.rb +++ /dev/null @@ -1,10 +0,0 @@ -require 'formula' - -class Titlecase < Formula - head 'https://github.com/ap/titlecase.git' - homepage 'http://plasmasturm.org/code/titlecase/' - - def install - bin.install "titlecase" - end -end diff --git a/Library/Formula/unyaffs.rb b/Library/Formula/unyaffs.rb deleted file mode 100644 index 4314afd75..000000000 --- a/Library/Formula/unyaffs.rb +++ /dev/null @@ -1,11 +0,0 @@ -require 'formula' - -class Unyaffs < Formula - head 'http://unyaffs.googlecode.com/svn/trunk/' - homepage 'http://code.google.com/p/unyaffs/' - - def install - system "#{ENV.cc} #{ENV.cflags} -o unyaffs unyaffs.c" - bin.install 'unyaffs' - end -end diff --git a/Library/Formula/vcprompt.rb b/Library/Formula/vcprompt.rb deleted file mode 100644 index 73acaf5d1..000000000 --- a/Library/Formula/vcprompt.rb +++ /dev/null @@ -1,13 +0,0 @@ -require 'formula' - -class Vcprompt < Formula - head 'hg://http://vc.gerg.ca/hg/vcprompt/' - homepage 'http://vc.gerg.ca/hg/vcprompt/' - - def install - system "make" - # Install manually; 'make install' doesn't work. - bin.install "vcprompt" - end -end - diff --git a/Library/Formula/willgit.rb b/Library/Formula/willgit.rb deleted file mode 100644 index e42c566e1..000000000 --- a/Library/Formula/willgit.rb +++ /dev/null @@ -1,10 +0,0 @@ -require 'formula' - -class Willgit < Formula - homepage 'http://git-wt-commit.rubyforge.org/' - head 'git://gitorious.org/willgit/mainline.git' - - def install - prefix.install 'bin' - end -end diff --git a/Library/Formula/wol.rb b/Library/Formula/wol.rb deleted file mode 100644 index 65bc18a85..000000000 --- a/Library/Formula/wol.rb +++ /dev/null @@ -1,11 +0,0 @@ -require 'formula' - -class Wol < Formula - head 'https://github.com/kylef/wol.git' - homepage 'http://kylefuller.co.uk/' - - def install - system "make" - bin.install "bin/wol" - end -end |
