summaryrefslogtreecommitdiff
path: root/homebrew/discount
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/discount')
-rw-r--r--homebrew/discount/.beer37
-rw-r--r--homebrew/discount/.make.sh-auto7
-rw-r--r--homebrew/discount/_metadata/description1
-rw-r--r--homebrew/discount/_metadata/homepage1
-rw-r--r--homebrew/discount/_metadata/name1
-rw-r--r--homebrew/discount/_metadata/version1
-rwxr-xr-xhomebrew/discount/download.sh1
7 files changed, 49 insertions, 0 deletions
diff --git a/homebrew/discount/.beer b/homebrew/discount/.beer
new file mode 100644
index 000000000..043055a9b
--- /dev/null
+++ b/homebrew/discount/.beer
@@ -0,0 +1,37 @@
+{
+ "name": "Discount",
+ "description": "C implementation of Markdown",
+ "url": "https://www.pell.portland.or.us/~orc/Code/discount/discount-2.2.4.tar.bz2",
+ "mirror": null,
+ "homepage": "https://www.pell.portland.or.us/~orc/Code/discount/",
+ "depends": [],
+ "resource": [],
+ "conflicts": [
+ {
+ "conflict": "markdown",
+ "reason": "both install `markdown` binaries"
+ },
+ {
+ "conflict": "multimarkdown",
+ "reason": "both install `markdown` binaries"
+ }
+ ],
+ "patches": [],
+ "install": [
+ "args = %W[",
+ "--prefix=#{prefix}",
+ "--mandir=#{man}",
+ "--with-dl=Both",
+ "--enable-dl-tag",
+ "--enable-pandoc-header",
+ "--enable-superscript",
+ "]",
+ "system \"./configure.sh\", *args",
+ "bin.mkpath",
+ "lib.mkpath",
+ "include.mkpath",
+ "system \"make\", \"install.everything\""
+ ],
+ "version": "2.2.4",
+ "file": "discount.rb"
+} \ No newline at end of file
diff --git a/homebrew/discount/.make.sh-auto b/homebrew/discount/.make.sh-auto
new file mode 100644
index 000000000..af9abe64c
--- /dev/null
+++ b/homebrew/discount/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+args = %W[--prefix=#{prefix} --mandir=#{man} --with-dl=Both --enable-dl-tag --enable-pandoc-header --enable-superscript ]
+pkg:configure.sh *args
+bin.mkpath
+lib.mkpath
+include.mkpath
+make DESTDIR=${PKG_DEST} install.everything
diff --git a/homebrew/discount/_metadata/description b/homebrew/discount/_metadata/description
new file mode 100644
index 000000000..69771aeb0
--- /dev/null
+++ b/homebrew/discount/_metadata/description
@@ -0,0 +1 @@
+C implementation of Markdown
diff --git a/homebrew/discount/_metadata/homepage b/homebrew/discount/_metadata/homepage
new file mode 100644
index 000000000..d2f66e183
--- /dev/null
+++ b/homebrew/discount/_metadata/homepage
@@ -0,0 +1 @@
+https://www.pell.portland.or.us/~orc/Code/discount/
diff --git a/homebrew/discount/_metadata/name b/homebrew/discount/_metadata/name
new file mode 100644
index 000000000..a15740ce3
--- /dev/null
+++ b/homebrew/discount/_metadata/name
@@ -0,0 +1 @@
+Discount
diff --git a/homebrew/discount/_metadata/version b/homebrew/discount/_metadata/version
new file mode 100644
index 000000000..530cdd91a
--- /dev/null
+++ b/homebrew/discount/_metadata/version
@@ -0,0 +1 @@
+2.2.4
diff --git a/homebrew/discount/download.sh b/homebrew/discount/download.sh
new file mode 100755
index 000000000..b3e7e2011
--- /dev/null
+++ b/homebrew/discount/download.sh
@@ -0,0 +1 @@
+wget https://www.pell.portland.or.us/~orc/Code/discount/discount-2.2.4.tar.bz2 \ No newline at end of file