Changeset 99005


Ignore:
Timestamp:
Oct 23, 2012, 4:21:14 PM (12 years ago)
Author:
jmr@…
Message:

py*-pyprotocols: unify

Location:
trunk/dports/python
Files:
2 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py-pyprotocols/Portfile

    r78753 r99005  
    22
    33PortSystem                      1.0
    4 PortGroup                       python24 1.0
     4PortGroup                       python 1.0
    55
    66name                            py-pyprotocols
    77version                         1.0a0dev-r2302
     8revision                                1
    89categories-append               devel
     10license                         {PSF ZPL}
    911maintainers                     akitada openmaintainer
    1012description                     Protocol Definition, Declaration, \
     
    2022
    2123homepage                        http://www.turbogears.org/
    22 master_sites                    http://files.turbogears.org/eggs/
     24master_sites
     25dist_subdir                     python
    2326distname                        PyProtocols-${version}
    2427use_zip                         yes
     
    2831                                rmd160 580e78b65e819a3d74824fe6d9c32212749ae31e
    2932
    30 depends_lib                     port:py-decoratortools
     33python.versions         24 25 26
    3134
    32 post-destroot {
    33         file delete -force ${destroot}${prefix}/share/doc/${name}
    34         file copy ${worksrcpath}/docs/ref \
    35                 ${destroot}${prefix}/share/doc/${name}
    36         xinstall -m 644 -W ${worksrcpath} \
    37                 CHANGES.txt README.txt TODO.txt UPGRADING.txt \
    38                 ${destroot}${prefix}/share/doc/${name}
     35if {$subport != $name} {
     36        depends_lib                     port:py${python.version}-decoratortools
     37
     38        post-destroot {
     39                file delete -force ${destroot}${prefix}/share/doc/${subport}
     40                file copy ${worksrcpath}/docs/ref \
     41                        ${destroot}${prefix}/share/doc/${subport}
     42                xinstall -m 644 -W ${worksrcpath} \
     43                        CHANGES.txt README.txt TODO.txt UPGRADING.txt \
     44                        ${destroot}${prefix}/share/doc/${subport}
     45        }
    3946}
Note: See TracChangeset for help on using the changeset viewer.