summaryrefslogtreecommitdiff
path: root/homebrew/grep/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/grep/.make.sh-auto')
-rw-r--r--homebrew/grep/.make.sh-auto8
1 files changed, 8 insertions, 0 deletions
diff --git a/homebrew/grep/.make.sh-auto b/homebrew/grep/.make.sh-auto
new file mode 100644
index 000000000..8896e2c62
--- /dev/null
+++ b/homebrew/grep/.make.sh-auto
@@ -0,0 +1,8 @@
+pkg:setup
+args = %W[--disable-dependency-tracking --disable-nls --prefix=#{prefix} --infodir=#{info} --mandir=#{man} --with-packager=Homebrew --program-prefix=g ]
+pkg:configure *args
+make
+make DESTDIR=${PKG_DEST} install
+%w[grep egrep fgrep].each do |prog|
+(libexec/"gnubin").install_symlink bin/"g#{prog}" => prog
+(libexec/"gnuman/man1").install_symlink man1/"g#{prog}.1" => "#{prog}.1"