cvsps: fix building manpage

master
Misty De Meo 2013-03-04 11:40:28 -06:00
parent a7420ba0ad
commit 98a0573727
1 changed files with 5 additions and 2 deletions

View File

@ -6,10 +6,13 @@ class Cvsps < Formula
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"
bin.install "cvsps"
man1.install gzip("cvsps.1")
system "make", "install", "prefix=#{prefix}"
end
end