homebrew-core/Formula/cvsps.rb

19 lines
452 B
Ruby
Raw Normal View History

2009-10-28 00:03:30 +00:00
require 'formula'
2011-03-10 05:11:03 +00:00
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'
2013-03-04 17:40:28 +00:00
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
ENV['XML_CATALOG_FILES'] = etc/'xml/catalog'
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