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
|
|
|
url 'http://www.lri.fr/~filliatr/ftp/bibtex2html/bibtex2html-1.94.tar.gz'
|
|
|
|
homepage 'http://www.lri.fr/~filliatr/bibtex2html/'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '710ecf4e20f8dffabb0684222d7de3cf502cb691'
|
2009-10-27 23:21:57 +00:00
|
|
|
|
|
|
|
depends_on 'objective-caml'
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2009-10-27 23:21:57 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|