From 79a69d776c8d75a2115045ee9a1a0d9871db786d Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 10 Oct 2014 17:59:20 +0100 Subject: pcal: use "make install". Closes #33077.--- Library/Formula/pcal.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Library') 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 -- cgit v1.2.3