summaryrefslogtreecommitdiff
path: root/homebrew/ucon64/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/ucon64/.make.sh-auto')
-rw-r--r--homebrew/ucon64/.make.sh-auto7
1 files changed, 7 insertions, 0 deletions
diff --git a/homebrew/ucon64/.make.sh-auto b/homebrew/ucon64/.make.sh-auto
new file mode 100644
index 000000000..8c69c7a2a
--- /dev/null
+++ b/homebrew/ucon64/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+inreplace "src/ucon64_misc.c", 'PROPERTY_MODE_DIR ("ucon64") "discmage.dylib"', "\"#{opt_prefix}/libexec/libdiscmage.dylib\""
+cd "src"
+pkg:configure --disable-dependency-tracking --disable-silent-rules
+make
+bin.install "ucon64"
+libexec.install "libdiscmage/discmage.so" => "libdiscmage.dylib"