aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/pcal.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/pcal.rb b/Library/Formula/pcal.rb
index 66610d4bd..7c22df148 100644
--- a/Library/Formula/pcal.rb
+++ b/Library/Formula/pcal.rb
@@ -8,10 +8,8 @@ class Pcal < Formula
def install
ENV.deparallelize
system "make", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}"
-
- # Install manually; easier than fixing paths in makefile
- bin.install 'exec/pcal'
- man1.install gzip('doc/pcal.man') => 'pcal.1.gz'
+ system "make", "install", "BINDIR=#{bin}", "MANDIR=#{man1}",
+ "CATDIR=#{man}/cat1"
end
test do