homebrew-core/Formula/open-sp.rb
2014-08-29 18:51:35 -05:00

25 lines
991 B
Ruby

require 'formula'
class OpenSp < Formula
homepage 'http://openjade.sourceforge.net'
url 'https://downloads.sourceforge.net/project/openjade/opensp/1.5.2/OpenSP-1.5.2.tar.gz'
sha1 'b4e903e980f8a8b3887396a24e067bef126e97d5'
bottle do
revision 1
sha1 "4da235a77fd987fd1e2ccd0b2f9af43816037463" => :mavericks
sha1 "1a271e846c1ec9ed352159a159843224cff233b9" => :mountain_lion
sha1 "720dfb2778e1b1f0d0abea8c13c7cc6f182dfa07" => :lion
end
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}",
"--disable-doc-build",
"--enable-http",
"--enable-default-catalog=#{HOMEBREW_PREFIX}/share/sgml/catalog",
"--enable-default-search-path=#{HOMEBREW_PREFIX}/share/sgml"
system "make", "pkgdatadir=#{share}/sgml/opensp", "install"
end
end