summaryrefslogtreecommitdiff
path: root/homebrew/noweb/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/noweb/.make.sh-auto')
-rw-r--r--homebrew/noweb/.make.sh-auto11
1 files changed, 11 insertions, 0 deletions
diff --git a/homebrew/noweb/.make.sh-auto b/homebrew/noweb/.make.sh-auto
new file mode 100644
index 000000000..b045eb5cb
--- /dev/null
+++ b/homebrew/noweb/.make.sh-auto
@@ -0,0 +1,11 @@
+pkg:setup
+cd "src"
+bash awkname awk
+make LIBSRC=icon ICONC=icont CFLAGS='-U_POSIX_C_SOURCE -D_POSIX_C_SOURCE=1'
+bin.mkpath
+lib.mkpath
+man.mkpath
+texpath.mkpath
+make DESTDIR=${PKG_DEST} install BIN=#{bin} LIB=${PKG_TAPF}/lib MAN=${PKG_TAPF}/share/man TEXINPUTS=#{texpath}
+cd "icon"
+make DESTDIR=${PKG_DEST} install BIN=#{bin} LIB=${PKG_TAPF}/lib MAN=${PKG_TAPF}/share/man TEXINPUTS=#{texpath}