diff options
Diffstat (limited to 'homebrew/ploticus/.make.sh-auto')
-rw-r--r-- | homebrew/ploticus/.make.sh-auto | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/homebrew/ploticus/.make.sh-auto b/homebrew/ploticus/.make.sh-auto new file mode 100644 index 000000000..dee7caa6c --- /dev/null +++ b/homebrew/ploticus/.make.sh-auto @@ -0,0 +1,7 @@ +pkg:setup +args=["INSTALLBIN=#{bin}", "EXE=ploticus"] +inreplace "src/pl.h", /#define\s+PREFABS_DIR\s+""/, "#define PREFABS_DIR \"#{pkgshare}\"" +make -C src *args +bin.mkdir +make -C src DESTDIR=${PKG_DEST} install *args +pkgshare.install Dir["prefabs/*"] |