5 # sets VERSION to the value if RELEASE if there are any,
6 # otherwise it sets VERSION to revision number
14 # Generates Info.plist while applying $VERSION
16 echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
17 <!DOCTYPE plist PUBLIC \"-//Apple Computer//DTD PLIST 1.0//EN\"
18 \"http://www.apple.com/DTDs/Prop$
19 <plist version=\"1.0\">
21 <key>CFBundleDevelopmentRegion</key>
22 <string>English</string>
23 <key>CFBundleDisplayName</key>
24 <string>OpenTTD</string>
25 <key>CFBundleExecutable</key>
26 <string>openttd</string>
27 <key>CFBundleGetInfoString</key>
28 <string>$VERSION, Copyright 2004-$date The OpenTTD team</string>
29 <key>CFBundleIconFile</key>
30 <string>openttd.icns</string>
31 <key>CFBundleIdentifier</key>
32 <string>org.openttd.openttd</string>
33 <key>CFBundleInfoDictionaryVersion</key>
35 <key>CFBundleName</key>
36 <string>OpenTTD</string>
37 <key>CFBundlePackageType</key>
39 <key>CFBundleShortVersionString</key>
40 <string>$VERSION</string>
41 <key>CFBundleVersion</key>
42 <string>$VERSION</string>
43 <key>NSHumanReadableCopyright</key>
44 <string>Copyright 2004-$date The OpenTTD team</string>
45 <key>NSPrincipalClass</key>
46 <string>NSApplication</string>
48 </plist>" > "$1"/Contents
/Info.plist