# workaround: we have no "ldd" for OS X, so...
LDD =
-#$(error Unsupported build OS: $(OS) - please complete the Darwin support in this Makefile and submit a patch)
+ INSTALLDIR_BASE := $(INSTALLDIR)
+ INSTALLDIR := $(INSTALLDIR_BASE)/NetRadiant.app/Contents/MacOS/install
+endif
+
else
$(error Unsupported build OS: $(OS))
install-data: binaries
$(MKDIR) $(INSTALLDIR)/games
$(FIND) $(INSTALLDIR)/ -name .svn -exec $(RM_R) {} \; -prune
+ [ "$(OS)" != "Darwin" ] || $(CP_R) setup/data/osx/NetRadiant.app/* $(INSTALLDIR_BASE)/NetRadiant.app/
set -ex; \
for GAME in games/*; do \
if [ -d "$$GAME/tools" ]; then \
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleExecutable</key>
+ <string>netradiant.sh</string>
+ <key>CFBundleIconFile</key>
+ <string>NetRadiant</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1.5.0</string>
+</dict>
+</plist>
--- /dev/null
+#!/bin/sh
+
+MY_DIRECTORY="${0%/*}" # cut off the script name
+MY_DIRECTORY="${MY_DIRECTORY%/*}" # cut off MacOS
+MY_DIRECTORY="${MY_DIRECTORY%/*}" # cut off Contents
+
+#export DYLD_LIBRARY_PATH="$MY_DIRECTORY/Contents/MacOS"
+
+cd "$MY_DIRECTORY/Contents/MacOS/NetRadiant/install"
+exec /usr/bin/open-x11 ./radiant.ppc
--- /dev/null
+APPL????
\ No newline at end of file