2011-03-10 05:11:03 +00:00
|
|
|
class Htmldoc < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Convert HTML to PDF or PostScript"
|
2014-03-17 00:34:50 +00:00
|
|
|
homepage "http://www.msweet.org/projects.php?Z1"
|
|
|
|
url "http://www.msweet.org/files/project1/htmldoc-1.8.28-source.tar.bz2"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "2a688bd820ad6f7bdebb274716102dafbf4d5fcfa20a5b8d87a56b030d184732"
|
2014-03-23 02:51:41 +00:00
|
|
|
revision 1
|
2010-06-10 08:14:59 +00:00
|
|
|
|
2014-03-17 00:34:50 +00:00
|
|
|
depends_on "libpng"
|
|
|
|
depends_on "jpeg"
|
2012-11-13 20:19:50 +00:00
|
|
|
|
2010-01-22 23:05:27 +00:00
|
|
|
def install
|
2014-03-17 00:34:50 +00:00
|
|
|
system "./configure", "--disable-debug",
|
2013-01-28 03:27:04 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--mandir=#{man}"
|
2010-06-10 08:14:59 +00:00
|
|
|
system "make"
|
2014-03-17 00:34:50 +00:00
|
|
|
system "make", "install"
|
2010-01-22 23:05:27 +00:00
|
|
|
end
|
|
|
|
end
|