homebrew-core/Formula/bibtex2html.rb

22 lines
523 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Bibtex2html < Formula
homepage 'http://www.lri.fr/~filliatr/bibtex2html/'
url 'http://www.lri.fr/~filliatr/ftp/bibtex2html/bibtex2html-1.97.tar.gz'
sha1 '970cb972eb88ff4cd01f247c0d8a6b821473f243'
depends_on 'objective-caml'
depends_on 'hevea'
def install
2011-08-14 17:10:43 +00:00
# See: https://trac.macports.org/ticket/26724
inreplace 'Makefile.in' do |s|
s.remove_make_var! 'STRLIB'
end
system "./configure", "--prefix=#{prefix}"
system "make"
system "make install"
end
end