summaryrefslogtreecommitdiff
path: root/homebrew/latex2html
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/latex2html
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/latex2html')
-rw-r--r--homebrew/latex2html/.beer28
-rw-r--r--homebrew/latex2html/.make.sh-auto3
-rw-r--r--homebrew/latex2html/_metadata/description1
-rw-r--r--homebrew/latex2html/_metadata/homepage1
-rw-r--r--homebrew/latex2html/_metadata/name1
-rw-r--r--homebrew/latex2html/_metadata/version1
-rwxr-xr-xhomebrew/latex2html/download.sh1
7 files changed, 36 insertions, 0 deletions
diff --git a/homebrew/latex2html/.beer b/homebrew/latex2html/.beer
new file mode 100644
index 000000000..99d0ca697
--- /dev/null
+++ b/homebrew/latex2html/.beer
@@ -0,0 +1,28 @@
+{
+ "name": "Latex2html",
+ "description": "LaTeX-to-HTML translator",
+ "url": "http://mirrors.ctan.org/support/latex2html/latex2html-2018.tar.gz",
+ "mirror": "https://ftp.gnome.org/mirror/CTAN/support/latex2html/latex2html-2018.tar.gz",
+ "homepage": "https://www.ctan.org/pkg/latex2html",
+ "depends": [
+ {
+ "depend": "ghostscript",
+ "build-depend": false
+ },
+ {
+ "depend": "netpbm",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./configure\", \"--prefix=#{prefix}\",",
+ "\"--without-mktexlsr\",",
+ "\"--with-texpath=#{share}/texmf/tex/latex/html\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "2018",
+ "file": "latex2html.rb"
+} \ No newline at end of file
diff --git a/homebrew/latex2html/.make.sh-auto b/homebrew/latex2html/.make.sh-auto
new file mode 100644
index 000000000..9f02ec5f4
--- /dev/null
+++ b/homebrew/latex2html/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+pkg:configure --without-mktexlsr --with-texpath=#{share}/texmf/tex/latex/html
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/latex2html/_metadata/description b/homebrew/latex2html/_metadata/description
new file mode 100644
index 000000000..f5efe7d86
--- /dev/null
+++ b/homebrew/latex2html/_metadata/description
@@ -0,0 +1 @@
+LaTeX-to-HTML translator
diff --git a/homebrew/latex2html/_metadata/homepage b/homebrew/latex2html/_metadata/homepage
new file mode 100644
index 000000000..21ab24c50
--- /dev/null
+++ b/homebrew/latex2html/_metadata/homepage
@@ -0,0 +1 @@
+https://www.ctan.org/pkg/latex2html
diff --git a/homebrew/latex2html/_metadata/name b/homebrew/latex2html/_metadata/name
new file mode 100644
index 000000000..fdc6a8f2c
--- /dev/null
+++ b/homebrew/latex2html/_metadata/name
@@ -0,0 +1 @@
+Latex2html
diff --git a/homebrew/latex2html/_metadata/version b/homebrew/latex2html/_metadata/version
new file mode 100644
index 000000000..b39a36a7c
--- /dev/null
+++ b/homebrew/latex2html/_metadata/version
@@ -0,0 +1 @@
+2018
diff --git a/homebrew/latex2html/download.sh b/homebrew/latex2html/download.sh
new file mode 100755
index 000000000..ea2bb5349
--- /dev/null
+++ b/homebrew/latex2html/download.sh
@@ -0,0 +1 @@
+wget http://mirrors.ctan.org/support/latex2html/latex2html-2018.tar.gz || wget https://ftp.gnome.org/mirror/CTAN/support/latex2html/latex2html-2018.tar.gz \ No newline at end of file