aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cvsps.rb
blob: 490cd44a0d2807dbf9dc68f6b973283d1f124edf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'formula'

class Cvsps < Formula
  homepage 'http://www.catb.org/~esr/cvsps/'
  url 'http://www.catb.org/~esr/cvsps/cvsps-3.10.tar.gz'
  sha1 '8e0b2c66abd521eef2851da2fa5175f14215e9bf'

  depends_on 'asciidoc'
  depends_on 'docbook'

  def install
    # otherwise asciidoc will fail to find docbook
    ENV['XML_CATALOG_FILES'] = etc/'xml/catalog'

    system "make", "all", "cvsps.1"
    system "make", "install", "prefix=#{prefix}"
  end
end