Commit graph

7 commits

Author SHA1 Message Date
Jack Nagel
314c5d162a docbook: keep XML catalog inside HOMEBREW_PREFIX
Rather than download a shell script and tell users to run it with
`sudo`, it is better to keep everything under Homebrew's control.
Luckily, the XML toolchain provides the environment variable
XML_CATALOG_FILES to allow files otehr than /etc/xml/catalog to be used.

So remove the shell script, and do all the work inside the formula
itself. When we're done, we just tell the user to add
HOMEBREW_PREFIX/etc/xml/catalog to their shell configuration, rather
than tell them to `sudo docbook-register`.

Rather than download the shell script, just download docbook 5.0, which
we need anyway.

This also simplifies the logic in a handful of docbook-using formula.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-15 09:22:59 -06:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Mike McQuaid
a9614432e0 Upgrade docbook's docbook-xsl to 1.76.1. 2011-02-11 18:29:27 +00:00
Tianyi Cui
8b275c916a Use https for all GitHub URLs
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-18 20:14:27 -08:00
Michael Wild
900d4f3690 FIX: Install the epub docbook-xsl backend
Signed-off-by: Michael Wild <themiwi@users.sourceforge.net>
Signed-off-by: David Höppner <0xffea@gmail.com>
2010-09-04 16:32:47 +02:00
Adam Vandenberg
7bd947eb0b Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
2010-08-07 18:08:53 -07:00
Martin Kühl
af1e48e523 New formula: docbook.
DocBook is XML. A lot of XML.
Unfortunately, to some people, it is still used by a lot of projects,
like git, to generate their documentation, and not all of these, like
everything except git, provide pre-built documentation for download.

This formula installs all currently released docbook-xml and the most
recent docbook-xsl package and stuffs them all in the Cellar. In
addition, a script is provided that registers all of these packages in
the global XML catalog, as noted in the caveats.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-07-03 09:29:54 -07:00