source: trunk/dports/textproc/xmlformat/Portfile @ 20487

Last change on this file since 20487 was 20487, checked in by blair@…, 14 years ago

Set the svn:keywords property to 'Id' for all Portfile's. This
re-enables the Id keyword substitution that was present in the CVS
repository.

See this thread for more information:
http://lists.macosforge.org/pipermail/macports-dev/2006-October/000180.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 960 bytes
Line 
1# $Id: Portfile 20487 2006-11-03 15:39:15Z blair@macports.org $
2
3PortSystem 1.0
4
5name            xmlformat
6version         1.03
7categories      textproc perl ruby
8platforms       darwin
9maintainers     mww@opendarwin.org
10description     formatter for XML documents
11long_description        xmlformat is a configurable formatter (or \
12                        pretty-printer) for XML documents. It provides control \
13                        over indentation, line-breaking, and text wrapping. \
14                        These properties can be defined on a per-element \
15                        basis. There is a perl and a ruby variant of this \
16                        program available.
17
18homepage        http://www.kitebird.com/software/xmlformat/
19master_sites    ${homepage}
20checksums       md5 23a1a4f6c49cc83ebae0f8f25d1e2069
21
22depends_run     bin:perl:perl5.8
23set ext         pl
24
25variant ruby    {
26        set ext rb
27        depends_run     bin:ruby:ruby
28}
29
30configure       {
31        reinplace "s|/usr/bin/|/usr/bin/env |1" ${worksrcpath}/xmlformat.${ext}
32        reinplace "s|-w||1" ${worksrcpath}/xmlformat.${ext}
33}
34
35build           {}
36
37destroot        {
38        xinstall -m 755 ${worksrcpath}/xmlformat.${ext} \
39                ${destroot}${prefix}/bin/xmlformat
40}
Note: See TracBrowser for help on using the repository browser.