summaryrefslogtreecommitdiff
path: root/homebrew/openttd/.beer
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/openttd/.beer')
-rw-r--r--homebrew/openttd/.beer48
1 files changed, 48 insertions, 0 deletions
diff --git a/homebrew/openttd/.beer b/homebrew/openttd/.beer
new file mode 100644
index 000000000..d5782b4dc
--- /dev/null
+++ b/homebrew/openttd/.beer
@@ -0,0 +1,48 @@
+{
+ "name": "Openttd",
+ "description": "Simulation game based upon Transport Tycoon Deluxe",
+ "url": "https://proxy.binaries.openttd.org/openttd-releases/1.9.1/openttd-1.9.1-source.tar.xz",
+ "mirror": null,
+ "homepage": "https://www.openttd.org/",
+ "depends": [
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "lzo",
+ "build-depend": false
+ },
+ {
+ "depend": "xz",
+ "build-depend": false
+ }
+ ],
+ "resource": [
+ {
+ "name": "opengfx",
+ "url": "https://binaries.openttd.org/extra/opengfx/0.5.5/opengfx-0.5.5-all.zip"
+ },
+ {
+ "name": "opensfx",
+ "url": "https://binaries.openttd.org/extra/opensfx/0.2.3/opensfx-0.2.3-all.zip"
+ },
+ {
+ "name": "openmsx",
+ "url": "https://binaries.openttd.org/extra/openmsx/0.3.1/openmsx-0.3.1-all.zip"
+ }
+ ],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./configure\", \"--prefix-dir=#{prefix}\"",
+ "system \"make\", \"bundle\"",
+ "(buildpath/\"bundle/OpenTTD.app/Contents/Resources/data/opengfx\").install resource(\"opengfx\")",
+ "(buildpath/\"bundle/OpenTTD.app/Contents/Resources/data/opensfx\").install resource(\"opensfx\")",
+ "(buildpath/\"bundle/OpenTTD.app/Contents/Resources/gm/openmsx\").install resource(\"openmsx\")",
+ "prefix.install \"bundle/OpenTTD.app\"",
+ "bin.write_exec_script \"#{prefix}/OpenTTD.app/Contents/MacOS/openttd\""
+ ],
+ "version": "1.9.1",
+ "file": "openttd.rb"
+} \ No newline at end of file