summaryrefslogtreecommitdiff
path: root/homebrew/tidyp
diff options
context:
space:
mode:
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