aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ftimes.rb
diff options
context:
space:
mode:
authorJack Nagel2011-08-27 22:21:35 -0500
committerJack Nagel2011-08-27 22:21:55 -0500
commitfeb2c33eebe0c08c75717ec43d20b98e42e3af2d (patch)
tree0224aa2a63fad8a154c19bcbcfb3bf88bd174ee6 /Library/Formula/ftimes.rb
parent371ad0bcbd96d266973c53ba75bd50d323dd3dc0 (diff)
downloadhomebrew-feb2c33eebe0c08c75717ec43d20b98e42e3af2d.tar.bz2
ftimes: install man page correctly
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/ftimes.rb')
-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