summaryrefslogtreecommitdiff
path: root/homebrew/lincityng
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/lincityng')
-rw-r--r--homebrew/lincityng/.beer64
-rw-r--r--homebrew/lincityng/.make.sh-auto6
-rw-r--r--homebrew/lincityng/_metadata/description1
-rw-r--r--homebrew/lincityng/_metadata/homepage1
-rw-r--r--homebrew/lincityng/_metadata/name1
-rw-r--r--homebrew/lincityng/_metadata/version1
-rwxr-xr-xhomebrew/lincityng/download.sh1
7 files changed, 75 insertions, 0 deletions
diff --git a/homebrew/lincityng/.beer b/homebrew/lincityng/.beer
new file mode 100644
index 000000000..6e71ff27e
--- /dev/null
+++ b/homebrew/lincityng/.beer
@@ -0,0 +1,64 @@
+{
+ "name": "LincityNg",
+ "description": "City simulation game",
+ "url": "https://github.com/lincity-ng/lincity-ng/archive/lincity-ng-2.0.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/lincity-ng/lincity-ng/",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "jam",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "physfs",
+ "build-depend": false
+ },
+ {
+ "depend": "sdl",
+ "build-depend": false
+ },
+ {
+ "depend": "sdl_gfx",
+ "build-depend": false
+ },
+ {
+ "depend": "sdl_image",
+ "build-depend": false
+ },
+ {
+ "depend": "sdl_mixer",
+ "build-depend": false
+ },
+ {
+ "depend": "sdl_ttf",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system 'cat data/gui/creditslist.xml | grep -v \"@\" | cut -d\\> -f2 | cut -d\\< -f1 >CREDITS'",
+ "system \"./autogen.sh\"",
+ "system \"./configure\", \"--disable-sdltest\",",
+ "\"--with-apple-opengl-framework\",",
+ "\"--prefix=#{prefix}\",",
+ "\"--datarootdir=#{pkgshare}\"",
+ "system \"jam\", \"install\"",
+ "rm_rf [\"#{pkgshare}/applications\", \"#{pkgshare}/pixmaps\"]"
+ ],
+ "version": "2.0",
+ "file": "lincity-ng.rb"
+} \ No newline at end of file
diff --git a/homebrew/lincityng/.make.sh-auto b/homebrew/lincityng/.make.sh-auto
new file mode 100644
index 000000000..85d74c1da
--- /dev/null
+++ b/homebrew/lincityng/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+'cat data/gui/creditslist.xml | grep -v "@" | cut -d\> -f2 | cut -d\< -f1 >CREDITS'
+./autogen.sh
+pkg:configure --disable-sdltest --with-apple-opengl-framework --datarootdir=${PKG_TAPF}/share
+jam install
+rm_rf ["#{pkgshare}/applications", "#{pkgshare}/pixmaps"]
diff --git a/homebrew/lincityng/_metadata/description b/homebrew/lincityng/_metadata/description
new file mode 100644
index 000000000..5f373c89b
--- /dev/null
+++ b/homebrew/lincityng/_metadata/description
@@ -0,0 +1 @@
+City simulation game
diff --git a/homebrew/lincityng/_metadata/homepage b/homebrew/lincityng/_metadata/homepage
new file mode 100644
index 000000000..aa610e220
--- /dev/null
+++ b/homebrew/lincityng/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/lincity-ng/lincity-ng/
diff --git a/homebrew/lincityng/_metadata/name b/homebrew/lincityng/_metadata/name
new file mode 100644
index 000000000..76ffa1432
--- /dev/null
+++ b/homebrew/lincityng/_metadata/name
@@ -0,0 +1 @@
+LincityNg
diff --git a/homebrew/lincityng/_metadata/version b/homebrew/lincityng/_metadata/version
new file mode 100644
index 000000000..cd5ac039d
--- /dev/null
+++ b/homebrew/lincityng/_metadata/version
@@ -0,0 +1 @@
+2.0
diff --git a/homebrew/lincityng/download.sh b/homebrew/lincityng/download.sh
new file mode 100755
index 000000000..661da1e1d
--- /dev/null
+++ b/homebrew/lincityng/download.sh
@@ -0,0 +1 @@
+wget https://github.com/lincity-ng/lincity-ng/archive/lincity-ng-2.0.tar.gz \ No newline at end of file