New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82301


Ignore:
Timestamp:
08/12/11 06:27:22 (4 years ago)
Author:
ram@…
Message:

python/py*-tz: unify

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

Legend:

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

    r82300 r82301  
    22 
    33PortSystem      1.0 
    4 PortGroup       python24 1.0 
     4PortGroup       python 1.0 
    55 
    66name            py-tz 
    77set my_name     pytz 
    88version         2011h 
     9revision        1 
    910categories      python devel 
    1011platforms       darwin 
    1112supported_archs noarch 
    1213maintainers     ram openmaintainer 
     14license         MIT 
    1315 
    1416description     World Timezone Definitions for Python 
     
    2224#use_zip         yes 
    2325 
     26python.versions 24 25 26 27 31 32 
     27 
    2428checksums       md5 37248de48c28e1ae4ffb5ee47a298e4c \ 
    2529                sha1 46d8c71eb06631bc50fc1671b7a071758655a236 \ 
     
    2731 
    2832post-destroot { 
    29     set docdir ${prefix}/share/doc/${name}-${version} 
     33    if {${name} != ${subport}} { 
     34    set docdir ${prefix}/share/doc/${subport} 
    3035    xinstall -d ${destroot}${docdir} 
    3136    xinstall -m 644 -W $worksrcpath CHANGES.txt LICENSE.txt README.txt \ 
    3237        ${destroot}${docdir} 
     38    } 
    3339} 
    3440 
Note: See TracChangeset for help on using the changeset viewer.