summaryrefslogtreecommitdiff
path: root/homebrew/antiword/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/antiword/.make.sh-auto')
-rw-r--r--homebrew/antiword/.make.sh-auto6
1 files changed, 6 insertions, 0 deletions
diff --git a/homebrew/antiword/.make.sh-auto b/homebrew/antiword/.make.sh-auto
new file mode 100644
index 000000000..4f3d6d48d
--- /dev/null
+++ b/homebrew/antiword/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+inreplace "antiword.h", "/usr/share/antiword", pkgshare
+make CC=${PKG_TARG}-clang LD=${PKG_TARG}-clang CFLAGS=${CFLAGS} -DNDEBUG GLOBAL_INSTALL_DIR=#{bin} GLOBAL_RESOURCES_DIR=${PKG_TAPF}/share
+bin.install "antiword"
+pkgshare.install Dir["Resources/*"]
+man1.install "Docs/antiword.1"