summaryrefslogtreecommitdiff
path: root/homebrew/kite
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/kite')
-rw-r--r--homebrew/kite/.beer44
-rw-r--r--homebrew/kite/.make.sh-auto3
-rw-r--r--homebrew/kite/_metadata/description1
-rw-r--r--homebrew/kite/_metadata/homepage1
-rw-r--r--homebrew/kite/_metadata/name1
-rw-r--r--homebrew/kite/_metadata/version1
-rwxr-xr-xhomebrew/kite/download.sh1
-rwxr-xr-xhomebrew/kite/patches.sh18
8 files changed, 70 insertions, 0 deletions
diff --git a/homebrew/kite/.beer b/homebrew/kite/.beer
new file mode 100644
index 000000000..7fb2cbc77
--- /dev/null
+++ b/homebrew/kite/.beer
@@ -0,0 +1,44 @@
+{
+ "name": "Kite",
+ "description": "Programming language designed to minimize programmer experience",
+ "url": "http://www.kite-language.org/files/kite-1.0.4.tar.gz",
+ "mirror": null,
+ "homepage": "http://www.kite-language.org/",
+ "depends": [
+ {
+ "depend": "bdw-gc",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": null,
+ "data": [
+ "--- a/backend/common/kite_vm.c\t2010-08-21 01:20:25.000000000 +0200\n",
+ "+++ b/backend/common/kite_vm.c\t2012-02-11 02:29:37.000000000 +0100\n",
+ "@@ -152,7 +152,12 @@\n",
+ " #endif\n",
+ " \n",
+ " #ifdef HAVE_GC_H\n",
+ "+#if GC_VERSION_MAJOR >= 7 && GC_VERSION_MINOR >= 2\n",
+ "+ ret->old_proc = GC_get_warn_proc();\n",
+ "+ GC_set_warn_proc ((GC_warn_proc)kite_ignore_gc_warnings);\n",
+ "+#else\n",
+ " ret->old_proc = GC_set_warn_proc((GC_warn_proc)kite_ignore_gc_warnings);\n",
+ "+#endif\n",
+ " #endif /* HAVE_GC_H */\n",
+ " \n",
+ " return ret;\n"
+ ]
+ }
+ ],
+ "install": [
+ "system \"./configure\", \"--disable-debug\", \"--disable-dependency-tracking\",",
+ "\"--prefix=#{prefix}\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "1.0.4",
+ "file": "kite.rb"
+} \ No newline at end of file
diff --git a/homebrew/kite/.make.sh-auto b/homebrew/kite/.make.sh-auto
new file mode 100644
index 000000000..557a9e0d1
--- /dev/null
+++ b/homebrew/kite/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+pkg:configure --disable-dependency-tracking
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/kite/_metadata/description b/homebrew/kite/_metadata/description
new file mode 100644
index 000000000..c585503f4
--- /dev/null
+++ b/homebrew/kite/_metadata/description
@@ -0,0 +1 @@
+Programming language designed to minimize programmer experience
diff --git a/homebrew/kite/_metadata/homepage b/homebrew/kite/_metadata/homepage
new file mode 100644
index 000000000..9bb57019f
--- /dev/null
+++ b/homebrew/kite/_metadata/homepage
@@ -0,0 +1 @@
+http://www.kite-language.org/
diff --git a/homebrew/kite/_metadata/name b/homebrew/kite/_metadata/name
new file mode 100644
index 000000000..76c82141d
--- /dev/null
+++ b/homebrew/kite/_metadata/name
@@ -0,0 +1 @@
+Kite
diff --git a/homebrew/kite/_metadata/version b/homebrew/kite/_metadata/version
new file mode 100644
index 000000000..ee90284c2
--- /dev/null
+++ b/homebrew/kite/_metadata/version
@@ -0,0 +1 @@
+1.0.4
diff --git a/homebrew/kite/download.sh b/homebrew/kite/download.sh
new file mode 100755
index 000000000..480df6ce2
--- /dev/null
+++ b/homebrew/kite/download.sh
@@ -0,0 +1 @@
+wget http://www.kite-language.org/files/kite-1.0.4.tar.gz \ No newline at end of file
diff --git a/homebrew/kite/patches.sh b/homebrew/kite/patches.sh
new file mode 100755
index 000000000..b6fb1134a
--- /dev/null
+++ b/homebrew/kite/patches.sh
@@ -0,0 +1,18 @@
+echo 'Creating brew-patch.diff'
+cat << EOF >> brew-patch.diff
+--- a/backend/common/kite_vm.c 2010-08-21 01:20:25.000000000 +0200
++++ b/backend/common/kite_vm.c 2012-02-11 02:29:37.000000000 +0100
+@@ -152,7 +152,12 @@
+ #endif
+
+ #ifdef HAVE_GC_H
++#if GC_VERSION_MAJOR >= 7 && GC_VERSION_MINOR >= 2
++ ret->old_proc = GC_get_warn_proc();
++ GC_set_warn_proc ((GC_warn_proc)kite_ignore_gc_warnings);
++#else
+ ret->old_proc = GC_set_warn_proc((GC_warn_proc)kite_ignore_gc_warnings);
++#endif
+ #endif /* HAVE_GC_H */
+
+ return ret;
+EOF