2009-10-27 23:21:57 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Bibtex2html < Formula
|
2009-10-27 23:21:57 +00:00
|
|
|
homepage 'http://www.lri.fr/~filliatr/bibtex2html/'
|
2012-10-07 02:42:03 +00:00
|
|
|
url 'http://www.lri.fr/~filliatr/ftp/bibtex2html/bibtex2html-1.97.tar.gz'
|
|
|
|
sha1 '970cb972eb88ff4cd01f247c0d8a6b821473f243'
|
2009-10-27 23:21:57 +00:00
|
|
|
|
|
|
|
depends_on 'objective-caml'
|
2012-10-07 02:42:03 +00:00
|
|
|
depends_on 'hevea'
|
2009-10-27 23:21:57 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2012-10-07 02:42:03 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}"
|
2009-10-27 23:21:57 +00:00
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|