Ignore:
Timestamp:
Jan 11, 2012, 8:15:32 PM (9 years ago)
Author:
stromnov@…
Message:

py2*-mhash: unify

Location:
trunk/dports/python/py-mhash
Files:
1 edited
1 moved

Legend:

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

    r66683 r88789  
    33
    44PortSystem          1.0
    5 PortGroup           python26 1.0
     5PortGroup           python 1.0
    66
    7 name                py26-mhash
     7name                py-mhash
    88version             1.4
     9revision            1
     10categories-append   security
     11license             LGPL
     12platforms           darwin
     13
    914maintainers         stromnov openmaintainer
    1015
     
    2025homepage            http://labix.org/python-mhash
    2126master_sites        http://labix.org/download/python-mhash/
     27
    2228distname            python-mhash-${version}
    2329
     
    2632                    rmd160  dd3dcf019059d6eb24f3d8b55e29f1c7e690289b
    2733
    28 depends_build       port:mhash
     34python.versions     24 25 26 27
    2935
    30 patchfiles          patch-setup.py.diff
     36if {$subport != $name} {
     37    depends_build-append    port:py${python.version}-distribute
    3138
    32 post-patch {
    33     reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
     39    depends_lib-append      port:mhash
     40
     41    patchfiles              patch-setup.py.diff
     42
     43    post-patch {
     44        reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
     45    }
    3446}
    3547
Note: See TracChangeset for help on using the changeset viewer.