diff options
Diffstat (limited to 'homebrew/trr/.make.sh-auto')
-rw-r--r-- | homebrew/trr/.make.sh-auto | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/homebrew/trr/.make.sh-auto b/homebrew/trr/.make.sh-auto new file mode 100644 index 000000000..d073efd00 --- /dev/null +++ b/homebrew/trr/.make.sh-auto @@ -0,0 +1,11 @@ +pkg:setup +make clean +cp Dir["#{Formula["apel"].opt_elisp}/**/*.el"], buildpath +nkf -w --overwrite buildpath/"CONTENTS" +inreplace buildpath/"CONTENTS", "EmacsLisp", "Elisp_programs" +make clean +cp Dir["#{Formula["apel"].opt_elisp}/**/*.elc"], buildpath +texts = "The_Constitution_Of_JAPAN Constitution_of_the_USA Iccad_90 C_programs Elisp_programs Java_programs Ocaml_programs Python_programs" +inreplace buildpath/"Makefile", "japanese = t", "japanese = nil" +make DESTDIR=${PKG_DEST} install CC=${PKG_TARG}-clang TRRDIR=${PKG_TAPF} INFODIR=#{info} BINDIR=#{bin} TEXTS=#{texts} LISPDIR=#{elisp} +(prefix/"record").install Dir["record/*"] |