| 1 | # $Id: Portfile 24142 2007-04-17 10:28:26Z ryandesign@macports.org $ |
| 2 | |
| 3 | PortSystem 1.0 |
| 4 | PortGroup python25 1.0 |
| 5 | name py25-yaml |
| 6 | version 3.05 |
| 7 | categories-append devel |
| 8 | maintainers yuhei@pop21.odn.ne.jp |
| 9 | description YAML 1.1 parser and emitter for Python |
| 10 | long_description \ |
| 11 | PyYAML is a YAML parser and emitter for Python, which supports YAML 1.1, \ |
| 12 | unicode input and output, low-level event-based parser and emitter API, \ |
| 13 | high-level API for serializing and deserializing native Python objects. |
| 14 | |
| 15 | platforms darwin |
| 16 | |
| 17 | homepage http://pyyaml.org/wiki/PyYAML |
| 18 | master_sites http://pyyaml.org/download/pyyaml/ |
| 19 | distname PyYAML-${version} |
| 20 | |
| 21 | checksums md5 04ebb924a571cfb26d8143069068ce86 \ |
| 22 | sha1 facf11bc9f6988b76538e46a7ce8a379a9296cb0 \ |
| 23 | rmd160 1848e00b3b46c93fdd383092a3db8728b6b8bae0 |
| 24 | post-destroot { |
| 25 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} |
| 26 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples |
| 27 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples/yaml-highlight |
| 28 | xinstall -m 644 -W ${worksrcpath} LICENSE README \ |
| 29 | ${destroot}${prefix}/share/doc/${name} |
| 30 | xinstall -m 644 -W ${worksrcpath}/examples/yaml-highlight yaml_hl.cfg yaml_hl.py \ |
| 31 | ${destroot}${prefix}/share/doc/${name}/examples/yaml-highlight |
| 32 | } |