2014-05-21 10:43:39 +00:00
|
|
|
require "formula"
|
2009-10-28 00:03:30 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Cvsps < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Create patchset information from CVS"
|
2014-05-21 10:43:39 +00:00
|
|
|
homepage "http://www.catb.org/~esr/cvsps/"
|
|
|
|
url "http://www.catb.org/~esr/cvsps/cvsps-3.13.tar.gz"
|
|
|
|
sha1 "29d814f9083e3c51bba1b1fadf6c94ed9c2caa1e"
|
2013-02-22 00:44:34 +00:00
|
|
|
|
2014-05-21 10:43:39 +00:00
|
|
|
depends_on "asciidoc"
|
|
|
|
depends_on "docbook"
|
2009-10-28 00:03:30 +00:00
|
|
|
|
|
|
|
def install
|
2013-03-04 17:40:28 +00:00
|
|
|
# otherwise asciidoc will fail to find docbook
|
2014-05-21 10:43:39 +00:00
|
|
|
ENV["XML_CATALOG_FILES"] = etc/"xml/catalog"
|
2013-03-04 17:40:28 +00:00
|
|
|
|
2013-02-22 00:44:34 +00:00
|
|
|
system "make", "all", "cvsps.1"
|
2013-03-04 17:40:28 +00:00
|
|
|
system "make", "install", "prefix=#{prefix}"
|
2009-10-28 00:03:30 +00:00
|
|
|
end
|
|
|
|
end
|