aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2014-10-10 17:59:20 +0100
committerMike McQuaid2014-10-10 17:59:20 +0100
commit79a69d776c8d75a2115045ee9a1a0d9871db786d (patch)
tree0f4c5b8042de3655db135d81a741c019b6dd0320 /Library/Formula
parent83fa1409888c891e0964bf0bbee5876baa8a30ed (diff)
downloadhomebrew-79a69d776c8d75a2115045ee9a1a0d9871db786d.tar.bz2
pcal: use "make install".
Closes #33077.
Diffstat (limited to 'Library/Formula')
-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