summaryrefslogtreecommitdiff
path: root/homebrew/tidyp
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/tidyp
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/tidyp')
-rw-r--r--homebrew/tidyp/.beer28
-rw-r--r--homebrew/tidyp/.make.sh-auto8
-rw-r--r--homebrew/tidyp/_metadata/description1
-rw-r--r--homebrew/tidyp/_metadata/homepage1
-rw-r--r--homebrew/tidyp/_metadata/name1
-rw-r--r--homebrew/tidyp/_metadata/version1
-rwxr-xr-xhomebrew/tidyp/download.sh1
7 files changed, 41 insertions, 0 deletions
diff --git a/homebrew/tidyp/.beer b/homebrew/tidyp/.beer
new file mode 100644
index 000000000..d53012436
--- /dev/null
+++ b/homebrew/tidyp/.beer
@@ -0,0 +1,28 @@
+{
+ "name": "Tidyp",
+ "description": "Validate and modify HTML",
+ "url": "https://github.com/downloads/petdance/tidyp/tidyp-1.04.tar.gz",
+ "mirror": null,
+ "homepage": "http://tidyp.com/",
+ "depends": [],
+ "resource": [
+ {
+ "name": "manual",
+ "url": "https://raw.githubusercontent.com/petdance/tidyp/6a6c85bc9cb089e343337377f76127d01dd39a1c/htmldoc/tidyp1.xsl"
+ }
+ ],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./configure\", \"--disable-debug\", \"--disable-dependency-tracking\",",
+ "\"--prefix=#{prefix}\"",
+ "system \"make\", \"install\"",
+ "resource(\"manual\").stage do",
+ "system \"#{bin}/tidyp -xml-help > tidyp1.xml\"",
+ "system \"#{bin}/tidyp -xml-config > tidyp-config.xml\"",
+ "system \"/usr/bin/xsltproc tidyp1.xsl tidyp1.xml > tidyp.1\"",
+ "man1.install gzip(\"tidyp.1\")"
+ ],
+ "version": "1.04",
+ "file": "tidyp.rb"
+} \ No newline at end of file
diff --git a/homebrew/tidyp/.make.sh-auto b/homebrew/tidyp/.make.sh-auto
new file mode 100644
index 000000000..91365d2cd
--- /dev/null
+++ b/homebrew/tidyp/.make.sh-auto
@@ -0,0 +1,8 @@
+pkg:setup
+pkg:configure --disable-dependency-tracking
+make DESTDIR=${PKG_DEST} install
+resource("manual").stage do
+#{bin}/tidyp -xml-help > tidyp1.xml
+#{bin}/tidyp -xml-config > tidyp-config.xml
+/usr/bin/xsltproc tidyp1.xsl tidyp1.xml > tidyp.1
+man1.install gzip("tidyp.1")
diff --git a/homebrew/tidyp/_metadata/description b/homebrew/tidyp/_metadata/description
new file mode 100644
index 000000000..5a5f772a8
--- /dev/null
+++ b/homebrew/tidyp/_metadata/description
@@ -0,0 +1 @@
+Validate and modify HTML
diff --git a/homebrew/tidyp/_metadata/homepage b/homebrew/tidyp/_metadata/homepage
new file mode 100644
index 000000000..b982e17b7
--- /dev/null
+++ b/homebrew/tidyp/_metadata/homepage
@@ -0,0 +1 @@
+http://tidyp.com/
diff --git a/homebrew/tidyp/_metadata/name b/homebrew/tidyp/_metadata/name
new file mode 100644
index 000000000..16bc61c53
--- /dev/null
+++ b/homebrew/tidyp/_metadata/name
@@ -0,0 +1 @@
+Tidyp
diff --git a/homebrew/tidyp/_metadata/version b/homebrew/tidyp/_metadata/version
new file mode 100644
index 000000000..11a84add6
--- /dev/null
+++ b/homebrew/tidyp/_metadata/version
@@ -0,0 +1 @@
+1.04
diff --git a/homebrew/tidyp/download.sh b/homebrew/tidyp/download.sh
new file mode 100755
index 000000000..be2c422f3
--- /dev/null
+++ b/homebrew/tidyp/download.sh
@@ -0,0 +1 @@
+wget https://github.com/downloads/petdance/tidyp/tidyp-1.04.tar.gz \ No newline at end of file