summaryrefslogtreecommitdiff
path: root/homebrew/antat19
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/antat19')
-rw-r--r--homebrew/antat19/.beer23
-rw-r--r--homebrew/antat19/.make.sh-auto9
-rw-r--r--homebrew/antat19/_metadata/description1
-rw-r--r--homebrew/antat19/_metadata/homepage1
-rw-r--r--homebrew/antat19/_metadata/name1
-rw-r--r--homebrew/antat19/_metadata/version1
-rwxr-xr-xhomebrew/antat19/download.sh1
7 files changed, 37 insertions, 0 deletions
diff --git a/homebrew/antat19/.beer b/homebrew/antat19/.beer
new file mode 100644
index 000000000..b26220e0d
--- /dev/null
+++ b/homebrew/antat19/.beer
@@ -0,0 +1,23 @@
+{
+ "name": "AntAT19",
+ "description": "Java build tool",
+ "url": "https://www.apache.org/dyn/closer.cgi?path=ant/binaries/apache-ant-1.9.13-bin.tar.bz2",
+ "mirror": null,
+ "homepage": "https://ant.apache.org/",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "rm Dir[\"bin/*.{bat,cmd,dll,exe}\"]",
+ "libexec.install Dir[\"*\"]",
+ "bin.install_symlink Dir[\"#{libexec}/bin/*\"]",
+ "rm bin/\"ant\"",
+ "(bin/\"ant\").write <<~EOS",
+ "#!/bin/sh",
+ "#{libexec}/bin/ant -lib #{HOMEBREW_PREFIX}/share/ant \"$@\"",
+ "EOS"
+ ],
+ "version": "1.9.13",
+ "file": "ant@1.9.rb"
+} \ No newline at end of file
diff --git a/homebrew/antat19/.make.sh-auto b/homebrew/antat19/.make.sh-auto
new file mode 100644
index 000000000..a207a226e
--- /dev/null
+++ b/homebrew/antat19/.make.sh-auto
@@ -0,0 +1,9 @@
+pkg:setup
+rm Dir["bin/*.{bat,cmd,dll,exe}"]
+libexec.install Dir["*"]
+bin.install_symlink Dir["#{libexec}/bin/*"]
+rm bin/"ant"
+(bin/"ant").write <<~EOS
+#!/bin/sh
+#{libexec}/bin/ant -lib #{HOMEBREW_PREFIX}/share/ant "$@"
+EOS
diff --git a/homebrew/antat19/_metadata/description b/homebrew/antat19/_metadata/description
new file mode 100644
index 000000000..1c1259b49
--- /dev/null
+++ b/homebrew/antat19/_metadata/description
@@ -0,0 +1 @@
+Java build tool
diff --git a/homebrew/antat19/_metadata/homepage b/homebrew/antat19/_metadata/homepage
new file mode 100644
index 000000000..45e2822b0
--- /dev/null
+++ b/homebrew/antat19/_metadata/homepage
@@ -0,0 +1 @@
+https://ant.apache.org/
diff --git a/homebrew/antat19/_metadata/name b/homebrew/antat19/_metadata/name
new file mode 100644
index 000000000..c51268837
--- /dev/null
+++ b/homebrew/antat19/_metadata/name
@@ -0,0 +1 @@
+AntAT19
diff --git a/homebrew/antat19/_metadata/version b/homebrew/antat19/_metadata/version
new file mode 100644
index 000000000..2a72e6f9f
--- /dev/null
+++ b/homebrew/antat19/_metadata/version
@@ -0,0 +1 @@
+1.9.13
diff --git a/homebrew/antat19/download.sh b/homebrew/antat19/download.sh
new file mode 100755
index 000000000..f7f915d04
--- /dev/null
+++ b/homebrew/antat19/download.sh
@@ -0,0 +1 @@
+wget https://www.apache.org/dyn/closer.cgi?path=ant/binaries/apache-ant-1.9.13-bin.tar.bz2 \ No newline at end of file