Ticket #10156: Portfile

File Portfile, 1.1 KB (added by yuhei@…, 18 years ago)

Portfile

Line 
1# $$
2
3PortSystem 1.0
4PortGroup python24 1.0
5name                            py-yaml
6version                         3.03
7categories-append       devel
8maintainers                     yuhei@pop21.odn.ne.jp
9description                     YAML 1.1 parser and emitter for Python
10long_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
15platforms                       darwin
16
17homepage                        http://pyyaml.org/wiki/PyYAML
18master_sites            http://pyyaml.org/download/pyyaml/
19distname                        PyYAML-${version}
20
21checksums                       md5 6546195b4b7e99b24f8048b29487d8ee
22
23post-destroot {
24        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
25        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples
26        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples/yaml-highlight
27        xinstall -m 644 -W ${worksrcpath} LICENSE README \
28                ${destroot}${prefix}/share/doc/${name}
29        xinstall -m 644 -W ${worksrcpath}/examples/yaml-highlight yaml_hl.cfg yaml_hl.py \
30            ${destroot}${prefix}/share/doc/${name}/examples/yaml-highlight
31}
32