summaryrefslogtreecommitdiff
path: root/homebrew/ucg
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/ucg
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/ucg')
-rw-r--r--homebrew/ucg/.beer51
-rw-r--r--homebrew/ucg/.make.sh-auto3
-rw-r--r--homebrew/ucg/_metadata/description1
-rw-r--r--homebrew/ucg/_metadata/homepage1
-rw-r--r--homebrew/ucg/_metadata/name1
-rw-r--r--homebrew/ucg/_metadata/version1
-rwxr-xr-xhomebrew/ucg/download.sh1
-rwxr-xr-xhomebrew/ucg/patches.sh1
8 files changed, 60 insertions, 0 deletions
diff --git a/homebrew/ucg/.beer b/homebrew/ucg/.beer
new file mode 100644
index 000000000..840548cfa
--- /dev/null
+++ b/homebrew/ucg/.beer
@@ -0,0 +1,51 @@
+{
+ "name": "Ucg",
+ "description": "Tool for searching large bodies of source code (like grep)",
+ "url": "https://github.com/gvansickle/ucg/releases/download/0.3.3/universalcodegrep-0.3.3.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/gvansickle/ucg",
+ "depends": [
+ {
+ "depend": "argp-standalone",
+ "build-depend": true
+ },
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "pcre2",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://raw.githubusercontent.com/Homebrew/formula-patches/00615b/ucg/xcode9.patch",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "system \"autoreconf\", \"-i\" if build.head?",
+ "system \"./configure\", \"--disable-debug\",",
+ "\"--disable-dependency-tracking\",",
+ "\"--disable-silent-rules\",",
+ "\"--prefix=#{prefix}\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "0.3.3",
+ "file": "ucg.rb"
+} \ No newline at end of file
diff --git a/homebrew/ucg/.make.sh-auto b/homebrew/ucg/.make.sh-auto
new file mode 100644
index 000000000..e3e79dc99
--- /dev/null
+++ b/homebrew/ucg/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+pkg:configure --disable-dependency-tracking --disable-silent-rules
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/ucg/_metadata/description b/homebrew/ucg/_metadata/description
new file mode 100644
index 000000000..b4e0ae456
--- /dev/null
+++ b/homebrew/ucg/_metadata/description
@@ -0,0 +1 @@
+Tool for searching large bodies of source code (like grep)
diff --git a/homebrew/ucg/_metadata/homepage b/homebrew/ucg/_metadata/homepage
new file mode 100644
index 000000000..a9d1ce8d6
--- /dev/null
+++ b/homebrew/ucg/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/gvansickle/ucg
diff --git a/homebrew/ucg/_metadata/name b/homebrew/ucg/_metadata/name
new file mode 100644
index 000000000..352d292ca
--- /dev/null
+++ b/homebrew/ucg/_metadata/name
@@ -0,0 +1 @@
+Ucg
diff --git a/homebrew/ucg/_metadata/version b/homebrew/ucg/_metadata/version
new file mode 100644
index 000000000..1c09c74e2
--- /dev/null
+++ b/homebrew/ucg/_metadata/version
@@ -0,0 +1 @@
+0.3.3
diff --git a/homebrew/ucg/download.sh b/homebrew/ucg/download.sh
new file mode 100755
index 000000000..1b01a8195
--- /dev/null
+++ b/homebrew/ucg/download.sh
@@ -0,0 +1 @@
+wget https://github.com/gvansickle/ucg/releases/download/0.3.3/universalcodegrep-0.3.3.tar.gz \ No newline at end of file
diff --git a/homebrew/ucg/patches.sh b/homebrew/ucg/patches.sh
new file mode 100755
index 000000000..f1f151311
--- /dev/null
+++ b/homebrew/ucg/patches.sh
@@ -0,0 +1 @@
+wget https://raw.githubusercontent.com/Homebrew/formula-patches/00615b/ucg/xcode9.patch