summaryrefslogtreecommitdiff
path: root/homebrew/sdf
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/sdf')
-rw-r--r--homebrew/sdf/.beer86
-rw-r--r--homebrew/sdf/.make.sh-auto6
-rw-r--r--homebrew/sdf/_metadata/description1
-rw-r--r--homebrew/sdf/_metadata/homepage1
-rw-r--r--homebrew/sdf/_metadata/name1
-rw-r--r--homebrew/sdf/_metadata/version1
-rwxr-xr-xhomebrew/sdf/download.sh1
7 files changed, 97 insertions, 0 deletions
diff --git a/homebrew/sdf/.beer b/homebrew/sdf/.beer
new file mode 100644
index 000000000..aeb2614a5
--- /dev/null
+++ b/homebrew/sdf/.beer
@@ -0,0 +1,86 @@
+{
+ "name": "Sdf",
+ "description": "Syntax Definition Formalism: high-level description of grammars",
+ "url": "http://www.meta-environment.org/releases/sdf-2.6.3.tar.gz",
+ "mirror": null,
+ "homepage": "https://strategoxt.org/Sdf/WebHome",
+ "depends": [
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "aterm",
+ "build-depend": false
+ }
+ ],
+ "resource": [
+ {
+ "name": "c-library",
+ "url": "http://www.meta-environment.org/releases/c-library-1.2.tar.gz"
+ },
+ {
+ "name": "toolbuslib",
+ "url": "http://www.meta-environment.org/releases/toolbuslib-1.1.tar.gz"
+ },
+ {
+ "name": "error-support",
+ "url": "http://www.meta-environment.org/releases/error-support-1.6.tar.gz"
+ },
+ {
+ "name": "pt-support",
+ "url": "http://www.meta-environment.org/releases/pt-support-2.4.tar.gz"
+ },
+ {
+ "name": "sdf-support",
+ "url": "http://www.meta-environment.org/releases/sdf-support-2.5.tar.gz"
+ },
+ {
+ "name": "asf-support",
+ "url": "http://www.meta-environment.org/releases/asf-support-1.8.tar.gz"
+ },
+ {
+ "name": "tide-support",
+ "url": "http://www.meta-environment.org/releases/tide-support-1.3.1.tar.gz"
+ },
+ {
+ "name": "rstore-support",
+ "url": "http://www.meta-environment.org/releases/rstore-support-1.0.tar.gz"
+ },
+ {
+ "name": "config-support",
+ "url": "http://www.meta-environment.org/releases/config-support-1.4.tar.gz"
+ },
+ {
+ "name": "ptable-support",
+ "url": "http://www.meta-environment.org/releases/ptable-support-1.2.tar.gz"
+ },
+ {
+ "name": "sglr",
+ "url": "http://www.meta-environment.org/releases/sglr-4.5.3.tar.gz"
+ },
+ {
+ "name": "asc-support",
+ "url": "http://www.meta-environment.org/releases/asc-support-2.6.tar.gz"
+ },
+ {
+ "name": "pgen",
+ "url": "http://www.meta-environment.org/releases/pgen-2.8.1.tar.gz"
+ },
+ {
+ "name": "pandora",
+ "url": "http://www.meta-environment.org/releases/pandora-1.6.tar.gz"
+ }
+ ],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "ENV.deparallelize ",
+ "ENV.append \"CFLAGS\", \"-std=gnu89 -fbracket-depth=1024\" if ENV.compiler == :clang",
+ "resource(\"c-library\").stage do",
+ "system \"./configure\", \"--prefix=#{libexec}/c-library\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "2.6.3",
+ "file": "sdf.rb"
+} \ No newline at end of file
diff --git a/homebrew/sdf/.make.sh-auto b/homebrew/sdf/.make.sh-auto
new file mode 100644
index 000000000..77e7c58f4
--- /dev/null
+++ b/homebrew/sdf/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+ENV.deparallelize
+ENV.append "CFLAGS", "-std=gnu89 -fbracket-depth=1024" if ENV.compiler == :clang
+resource("c-library").stage do
+pkg:configure
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/sdf/_metadata/description b/homebrew/sdf/_metadata/description
new file mode 100644
index 000000000..da34660df
--- /dev/null
+++ b/homebrew/sdf/_metadata/description
@@ -0,0 +1 @@
+Syntax Definition Formalism: high-level description of grammars
diff --git a/homebrew/sdf/_metadata/homepage b/homebrew/sdf/_metadata/homepage
new file mode 100644
index 000000000..4b51fcbb1
--- /dev/null
+++ b/homebrew/sdf/_metadata/homepage
@@ -0,0 +1 @@
+https://strategoxt.org/Sdf/WebHome
diff --git a/homebrew/sdf/_metadata/name b/homebrew/sdf/_metadata/name
new file mode 100644
index 000000000..69c84f9f0
--- /dev/null
+++ b/homebrew/sdf/_metadata/name
@@ -0,0 +1 @@
+Sdf
diff --git a/homebrew/sdf/_metadata/version b/homebrew/sdf/_metadata/version
new file mode 100644
index 000000000..ec1cf33c3
--- /dev/null
+++ b/homebrew/sdf/_metadata/version
@@ -0,0 +1 @@
+2.6.3
diff --git a/homebrew/sdf/download.sh b/homebrew/sdf/download.sh
new file mode 100755
index 000000000..a9e988b28
--- /dev/null
+++ b/homebrew/sdf/download.sh
@@ -0,0 +1 @@
+wget http://www.meta-environment.org/releases/sdf-2.6.3.tar.gz \ No newline at end of file