Changeset 54210


Ignore:
Timestamp:
Jul 23, 2009, 3:29:23 AM (10 years ago)
Author:
aecollins1@…
Message:

Added missing svn properties and use python.branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py26-gdata/Portfile

    • Property svn:eol-style set to native
    • Property svn:keywords set to Id
    r54209 r54210  
    2525depends_lib         port:py26-setuptools
    2626
    27 set python.prefix   ${frameworks_dir}/Python.framework/Versions/2.6
     27set python.prefix   ${frameworks_dir}/Python.framework/Versions/${python.branch}
    2828
    2929post-destroot {
    3030
    3131    eval reinplace \
    32         "s|/usr/local/svn/gdata-python-client/src|${python.prefix}/lib/python2.6/site-packages|g" \
     32        "s|/usr/local/svn/gdata-python-client/src|${python.prefix}/lib/python${python.branch}/site-packages|g" \
    3333        [glob ${worksrcpath}/pydocs/*.html]
    3434
     
    3737        ${destroot}${prefix}/share/doc/${name}
    3838
    39     eval reinplace "s|#!/usr/bin/python|#!${prefix}/bin/python2.6|g" \
     39    eval reinplace "s|#!/usr/bin/python|#!${prefix}/bin/python${python.branch}|g" \
    4040        [glob ${worksrcpath}/samples/*/*.py]
    4141    file copy ${worksrcpath}/samples \
Note: See TracChangeset for help on using the changeset viewer.