summaryrefslogtreecommitdiff
path: root/homebrew/m2c/.beer
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/m2c/.beer
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/m2c/.beer')
-rw-r--r--homebrew/m2c/.beer21
1 files changed, 21 insertions, 0 deletions
diff --git a/homebrew/m2c/.beer b/homebrew/m2c/.beer
new file mode 100644
index 000000000..b43058076
--- /dev/null
+++ b/homebrew/m2c/.beer
@@ -0,0 +1,21 @@
+{
+ "name": "M2c",
+ "description": "Modula-2 to C compiler",
+ "url": "https://download.savannah.gnu.org/releases/m2c/0.7/m2c-0.7.tar.gz",
+ "mirror": null,
+ "homepage": "https://savannah.nongnu.org/projects/m2c/",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "cp \"config/generic-gcc.h\", \"config/generic-clang.h\"",
+ "system \"./configure\", \"+cc=#{ENV.cc}\"",
+ "inreplace \"Makefile\", \"install: all uninstall\", \"install: all\"",
+ "inreplace \"Makefile\", \"mkdir\", \"mkdir -p\"",
+ "include.mkpath",
+ "system \"make\", \"install\", \"prefix=#{prefix}\", \"man1dir=#{man1}\""
+ ],
+ "version": "0.7",
+ "file": "m2c.rb"
+} \ No newline at end of file