2010-10-05 12:49:29 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class OpenSp < Formula
|
2010-10-05 12:49:29 +00:00
|
|
|
homepage 'http://openjade.sourceforge.net'
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/openjade/opensp/1.5.2/OpenSP-1.5.2.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'b4e903e980f8a8b3887396a24e067bef126e97d5'
|
2010-10-05 12:49:29 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
2012-09-13 01:53:43 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--mandir=#{man}",
|
2012-11-04 15:12:08 +00:00
|
|
|
"--disable-doc-build",
|
|
|
|
"--enable-default-catalog=#{HOMEBREW_PREFIX}/share/sgml/catalog",
|
|
|
|
"--enable-default-search-path=#{HOMEBREW_PREFIX}/share/sgml"
|
|
|
|
system "make", "pkgdatadir=#{share}/sgml/opensp", "install"
|
2010-10-05 12:49:29 +00:00
|
|
|
end
|
|
|
|
end
|