homebrew-core/Formula/pwsafe.rb
Peter Aronoff fa642ca001 Add mandir configuration option to the pwsafe build
The current formula doesn't tell pwsafe where to put the man pages, and as a
result it appears that there are no man pages. Adding "--mandir=#{man}" (as in
the formula-cookbook) fixes things right up.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-04-30 19:25:39 -07:00

14 lines
411 B
Ruby

require 'formula'
class Pwsafe <Formula
@url='http://downloads.sourceforge.net/project/pwsafe/pwsafe/0.2.0/pwsafe-0.2.0.tar.gz'
@homepage='http://nsd.dyndns.org/pwsafe/'
@md5='4bb36538a2772ecbf1a542bc7d4746c0'
depends_on 'readline'
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--mandir=#{man}"
system "make install"
end
end