summaryrefslogtreecommitdiff
path: root/homebrew/augustus/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/augustus/.make.sh-auto')
-rw-r--r--homebrew/augustus/.make.sh-auto9
1 files changed, 9 insertions, 0 deletions
diff --git a/homebrew/augustus/.make.sh-auto b/homebrew/augustus/.make.sh-auto
new file mode 100644
index 000000000..33ac261b1
--- /dev/null
+++ b/homebrew/augustus/.make.sh-auto
@@ -0,0 +1,9 @@
+pkg:setup
+inreplace "auxprogs/Makefile", "cd bam2wig; make;", "#cd bam2wig; make;"
+inreplace "auxprogs/bam2hints/Makefile", "INCLUDES = /usr/include/bamtools", "INCLUDES = #{Formula["bamtools"].include/"bamtools"}"
+inreplace "auxprogs/filterBam/src/Makefile", "BAMTOOLS = /usr/include/bamtools", "BAMTOOLS= #{Formula["bamtools"].include/"bamtools"}"
+inreplace "Makefile", %r{ln -sf.*/usr/local/bin/}, "#ln -sf"
+make clean
+make
+make DESTDIR=${PKG_DEST} install INSTALLDIR=${PKG_TAPF}
+bin.env_script_all_files libexec/"bin", :AUGUSTUS_CONFIG_PATH => prefix/"config"