diff options
| author | Glenn Rempe | 2010-07-28 12:45:16 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-07-31 11:00:03 -0700 |
| commit | 46d949d1ec1634f7f3033cac240caabf4759a60c (patch) | |
| tree | 966faeb522cdce6debfab90fa9037ddba6556dc0 | |
| parent | e1d7a89cef21424b22032ef69e7018d4956430db (diff) | |
| download | homebrew-46d949d1ec1634f7f3033cac240caabf4759a60c.tar.bz2 | |
Installation Formula for the xmltoman scripts.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/xmltoman.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/xmltoman.rb b/Library/Formula/xmltoman.rb new file mode 100644 index 000000000..d44e00856 --- /dev/null +++ b/Library/Formula/xmltoman.rb @@ -0,0 +1,18 @@ +require 'formula' + +class Xmltoman <Formula + url 'http://downloads.sourceforge.net/project/xmltoman/xmltoman/xmltoman-0.4.tar.gz/xmltoman-0.4.tar.gz' + homepage 'http://sourceforge.net/projects/xmltoman/' + md5 '99be944b9fce40b3fe397049bf14a097' + + def install + # generate the man files from their original XML sources + system "./xmltoman xml/xmltoman.1.xml > xmltoman.1" + system "./xmltoman xml/xmlmantohtml.1.xml > xmlmantohtml.1" + + man1.install %w{ xmltoman.1 xmlmantohtml.1 } + bin.install %w{ xmltoman xmlmantohtml } + (share+'xmltoman').install %w(xmltoman.xsl xmltoman.dtd xmltoman.css) + end +end + |
