summaryrefslogtreecommitdiff
path: root/homebrew/ps2eps/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/ps2eps/.make.sh-auto')
-rw-r--r--homebrew/ps2eps/.make.sh-auto10
1 files changed, 10 insertions, 0 deletions
diff --git a/homebrew/ps2eps/.make.sh-auto b/homebrew/ps2eps/.make.sh-auto
new file mode 100644
index 000000000..7d4159510
--- /dev/null
+++ b/homebrew/ps2eps/.make.sh-auto
@@ -0,0 +1,10 @@
+pkg:setup
+ENV.cc src/C/bbox.c -o bbox
+bin.install "bbox"
+(libexec/"bin").install "bin/ps2eps"
+(bin/"ps2eps").write <<~EOS
+#!/bin/sh
+perl -S #{libexec}/bin/ps2eps \"$@\"
+EOS
+share.install "doc/man"
+doc.install "doc/pdf", "doc/html"