summaryrefslogtreecommitdiff
path: root/homebrew/trr/.make.sh-auto
blob: d073efd006e85ec725677f754cd5d21d9456dbc3 (plain)
1
2
3
4
5
6
7
8
9
10
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/*"]