aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/ftimes.rb25
1 files changed, 5 insertions, 20 deletions
diff --git a/Library/Formula/ftimes.rb b/Library/Formula/ftimes.rb
index d2c676949..208afd0af 100644
--- a/Library/Formula/ftimes.rb
+++ b/Library/Formula/ftimes.rb
@@ -8,29 +8,14 @@ class Ftimes < Formula
depends_on 'pcre'
depends_on 'openssl'
- # puts man page under /[prefix]/share/man; --mandir flag does not work
- def patches
- DATA
- end
-
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
+
+ inreplace 'doc/ftimes/Makefile' do |s|
+ s.change_make_var! 'INSTALL_PREFIX', man1
+ end
+
system "make install"
end
end
-
-__END__
-diff --git a/configure b/configure
-index e05b3c2..589a824 100755
---- a/configure
-+++ b/configure
-@@ -349,7 +349,7 @@ libdir='${exec_prefix}/lib'
- includedir='${prefix}/include'
- oldincludedir='/usr/include'
- infodir='${prefix}/info'
--mandir='${prefix}/man'
-+mandir='${prefix}/share/man'
-
- ac_prev=
- for ac_option