diff options
| author | Jonathan Groß | 2010-07-28 14:43:21 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2010-07-28 08:01:50 -0700 |
| commit | e794acfe5ddeb123c6fc3fcc7d3fb1e2dac7f561 (patch) | |
| tree | 4be573a959d33ff43f2ab0d4f3f29a67785acfc3 /Library | |
| parent | e3ce76daa1da0021ed3ecc4d7c9d9b8e9a081f35 (diff) | |
| download | homebrew-e794acfe5ddeb123c6fc3fcc7d3fb1e2dac7f561.tar.bz2 | |
updated bibutils to version 4.9
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/bibutils.rb | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/Library/Formula/bibutils.rb b/Library/Formula/bibutils.rb index d1d92181c..55225ad1a 100644 --- a/Library/Formula/bibutils.rb +++ b/Library/Formula/bibutils.rb @@ -1,12 +1,20 @@ require 'formula' class Bibutils <Formula - url 'http://www.scripps.edu/~cdputnam/software/bibutils/bibutils_4.8_osx_intel.tgz' + url 'http://www.scripps.edu/~cdputnam/software/bibutils/bibutils_4.9_src.tgz' homepage 'http://www.scripps.edu/~cdputnam/software/bibutils/' - md5 '11a89c76a65b2688271b1726ce4a23a7' - version '4.8' + md5 '1cc0724b821ae9749b91a267207105dc' def install - bin.install Dir["*"] + system "./configure --install-dir #{prefix}" + inreplace "Makefile" do |s| + s.change_make_var! "CC", "CC=\"#{ENV.cc}\"" + end + system "make" + + executables = %w{ bib2xml ris2xml end2xml endx2xml med2xml isi2xml copac2xml + biblatex2xml ebi2xml wordbib2xml xml2ads xml2bib xml2end xml2isi + xml2ris xml2wordbib modsclean } + executables.each { |x| bin.install "bin/#{x}" } end end |
