summaryrefslogtreecommitdiff
path: root/homebrew/sourcehighlight
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/sourcehighlight')
-rw-r--r--homebrew/sourcehighlight/.beer25
-rw-r--r--homebrew/sourcehighlight/.make.sh-auto4
-rw-r--r--homebrew/sourcehighlight/_metadata/description1
-rw-r--r--homebrew/sourcehighlight/_metadata/homepage1
-rw-r--r--homebrew/sourcehighlight/_metadata/name1
-rw-r--r--homebrew/sourcehighlight/_metadata/version1
-rwxr-xr-xhomebrew/sourcehighlight/download.sh1
7 files changed, 34 insertions, 0 deletions
diff --git a/homebrew/sourcehighlight/.beer b/homebrew/sourcehighlight/.beer
new file mode 100644
index 000000000..5a69ae91d
--- /dev/null
+++ b/homebrew/sourcehighlight/.beer
@@ -0,0 +1,25 @@
+{
+ "name": "SourceHighlight",
+ "description": "Source-code syntax highlighter",
+ "url": "https://ftp.gnu.org/gnu/src-highlite/source-highlight-3.1.8.tar.gz",
+ "mirror": "https://ftpmirror.gnu.org/src-highlite/source-highlight-3.1.8.tar.gz",
+ "homepage": "https://www.gnu.org/software/src-highlite/",
+ "depends": [
+ {
+ "depend": "boost",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./configure\", \"--disable-dependency-tracking\",",
+ "\"--prefix=#{prefix}\",",
+ "\"--with-boost=#{Formula[\"boost\"].opt_prefix}\"",
+ "system \"make\", \"install\"",
+ "bash_completion.install \"completion/source-highlight\""
+ ],
+ "version": "3.1.8",
+ "file": "source-highlight.rb"
+} \ No newline at end of file
diff --git a/homebrew/sourcehighlight/.make.sh-auto b/homebrew/sourcehighlight/.make.sh-auto
new file mode 100644
index 000000000..6bcb16968
--- /dev/null
+++ b/homebrew/sourcehighlight/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+pkg:configure --disable-dependency-tracking --with-boost=#{Formula[boost"].opt_prefix}"
+make DESTDIR=${PKG_DEST} install
+bash_completion.install "completion/source-highlight"
diff --git a/homebrew/sourcehighlight/_metadata/description b/homebrew/sourcehighlight/_metadata/description
new file mode 100644
index 000000000..3e6234b9f
--- /dev/null
+++ b/homebrew/sourcehighlight/_metadata/description
@@ -0,0 +1 @@
+Source-code syntax highlighter
diff --git a/homebrew/sourcehighlight/_metadata/homepage b/homebrew/sourcehighlight/_metadata/homepage
new file mode 100644
index 000000000..18ef9f7da
--- /dev/null
+++ b/homebrew/sourcehighlight/_metadata/homepage
@@ -0,0 +1 @@
+https://www.gnu.org/software/src-highlite/
diff --git a/homebrew/sourcehighlight/_metadata/name b/homebrew/sourcehighlight/_metadata/name
new file mode 100644
index 000000000..081604822
--- /dev/null
+++ b/homebrew/sourcehighlight/_metadata/name
@@ -0,0 +1 @@
+SourceHighlight
diff --git a/homebrew/sourcehighlight/_metadata/version b/homebrew/sourcehighlight/_metadata/version
new file mode 100644
index 000000000..c848fb9cb
--- /dev/null
+++ b/homebrew/sourcehighlight/_metadata/version
@@ -0,0 +1 @@
+3.1.8
diff --git a/homebrew/sourcehighlight/download.sh b/homebrew/sourcehighlight/download.sh
new file mode 100755
index 000000000..98022a0d9
--- /dev/null
+++ b/homebrew/sourcehighlight/download.sh
@@ -0,0 +1 @@
+wget https://ftp.gnu.org/gnu/src-highlite/source-highlight-3.1.8.tar.gz || wget https://ftpmirror.gnu.org/src-highlite/source-highlight-3.1.8.tar.gz \ No newline at end of file