Changeset 71059


Ignore:
Timestamp:
Aug 31, 2010, 12:07:28 AM (7 years ago)
Author:
devans@…
Message:

py26-gobject, py26-gtk, py26-gnome: enable display of gtk-doc API documentation in devhelp

Location:
trunk/dports/python
Files:
3 edited

Legend:

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

    r70771 r71059  
    77set my_name     gnome-python
    88version         2.28.1
     9revision        1
    910set branch      [join [lrange [split $version .] 0 1] .]
    1011categories      python gnome
     
    6667}
    6768
     69post-destroot {
     70# add link to gtk-doc in devhelp search path (${prefix}/share/gtk-doc/html/*)
     71# devhelp requires gtk-doc/html directory name  and .devhelp file name (less the .devhelp) to match
     72    file rename ${destroot}${python.prefix}/share/gtk-doc/html/pygnomevfs/pygnomevfs.devhelp \
     73                ${destroot}${python.prefix}/share/gtk-doc/html/pygnomevfs/pygnomevfs26.devhelp
     74    xinstall -d ${destroot}${prefix}/share/gtk-doc/html
     75    ln -s ${python.prefix}/share/gtk-doc/html/pygnomevfs ${destroot}${prefix}/share/gtk-doc/html/pygnomevfs26
     76}
     77
    6878livecheck.type  regex
    6979livecheck.url   http://ftp.gnome.org/pub/gnome/sources/$my_name/$branch/
  • trunk/dports/python/py26-gobject/Portfile

    r70769 r71059  
    88set my_name     pygobject
    99version         2.21.3
     10revision        1
    1011set branch      [join [lrange [split ${version} .] 0 1] .]
    1112categories      python gnome
     
    5354    xinstall -d ${destroot}${prefix}/share/gtk-doc/html
    5455    system "ln -s ${python_prefix}/share/${my_name} ${destroot}${prefix}/share/${my_name}26"
     56# devhelp requires gtk-doc/html directory name  and .devhelp file name (less the .devhelp) to match
     57    file rename ${destroot}${python_prefix}/share/gtk-doc/html/${my_name}/${my_name}.devhelp \
     58                ${destroot}${python_prefix}/share/gtk-doc/html/${my_name}/${my_name}26.devhelp
    5559    system "ln -s ${python_prefix}/share/gtk-doc/html/${my_name} ${destroot}${prefix}/share/gtk-doc/html/${my_name}26"
    5660}
  • trunk/dports/python/py26-gtk/Portfile

    r70770 r71059  
    77set my_name     pygtk
    88version         2.17.0
     9revision        1
    910set branch      [join [lrange [split ${version} .] 0 1] .]
    1011categories      python x11
     
    5758    xinstall -d ${destroot}${prefix}/share/gtk-doc/html
    5859    system "ln -s ${python_prefix}/share/${my_name} ${destroot}${prefix}/share/${my_name}26"
     60# devhelp requires gtk-doc directory name  and .devhelp file name (less the .devhelp) to match
     61    file rename ${destroot}${python_prefix}/share/gtk-doc/html/${my_name}/${my_name}.devhelp \
     62                ${destroot}${python_prefix}/share/gtk-doc/html/${my_name}/${my_name}26.devhelp
    5963    system "ln -s ${python_prefix}/share/gtk-doc/html/${my_name} ${destroot}${prefix}/share/gtk-doc/html/${my_name}26"
    6064}
Note: See TracChangeset for help on using the changeset viewer.