diff options
| author | Jack Nagel | 2012-02-09 21:29:37 -0600 |
|---|---|---|
| committer | Jack Nagel | 2012-02-09 21:30:58 -0600 |
| commit | 3d808031c709f9a9af8dd6f8c9b21e8579a36aed (patch) | |
| tree | edbf30808041815b6e8b49e15c88d64ad2c8e612 /Library/Formula | |
| parent | c75ac45da4209d508ebabd119f16fdbbc1857c46 (diff) | |
| download | homebrew-3d808031c709f9a9af8dd6f8c9b21e8579a36aed.tar.bz2 | |
bibutils: style cleanups
- use new homepage and download URL
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/bibutils.rb | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/Library/Formula/bibutils.rb b/Library/Formula/bibutils.rb index e84e5671e..49ab7ae11 100644 --- a/Library/Formula/bibutils.rb +++ b/Library/Formula/bibutils.rb @@ -1,20 +1,24 @@ require 'formula' class Bibutils < Formula - url 'http://www.scripps.edu/~cdputnam/software/bibutils/bibutils_4.12_src.tgz' - homepage 'http://www.scripps.edu/~cdputnam/software/bibutils/' + homepage 'http://sourceforge.net/p/bibutils/home/Bibutils/' + url 'http://sourceforge.net/projects/bibutils/files/bibutils_4.12_src.tgz' md5 '395f46393eca8e184652c5e8e1ae83b6' def install system "./configure --install-dir #{prefix}" - inreplace "Makefile" do |s| - s.change_make_var! "CC", "CC=\"#{ENV.cc}\"" + + inreplace 'Makefile' do |s| + # this is weird, but necessary + 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}" } + cd 'bin' do + bin.install %w{bib2xml ris2xml end2xml endx2xml med2xml isi2xml copac2xml + biblatex2xml ebi2xml wordbib2xml xml2ads xml2bib xml2end xml2isi xml2ris + xml2wordbib modsclean} + end end end |
