Changeset 87633


Ignore:
Timestamp:
Nov 29, 2011, 9:04:32 PM (8 years ago)
Author:
devans@…
Message:

devhelp: add python variants and fix python configuration, don't use autoreconf, build without -DG_DISABLE_DEPRECATED to allow building against glib2 2.30.2.

Location:
trunk/dports/gnome/devhelp
Files:
2 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/gnome/devhelp/Portfile

    r85597 r87633  
    66name            devhelp
    77version         2.30.1
    8 revision        5
    9 license         GPL-2
     8revision        6
     9license         GPL-2+
    1010set branch      [join [lrange [split ${version} .] 0 1] .]
    1111description     Devhelp is an API documentation browser for GTK+ and GNOME.
     
    2727                rmd160  2ce6762a7838afad03f237ab0ac662cae426163c
    2828
    29 patchfiles      patch-src-Makefile.am.diff
     29patchfiles      patch-configure.diff \
     30                patch-src-Makefile.in.diff
    3031
    3132depends_build   port:pkgconfig \
    32                 port:python26 \
    3333                port:intltool
    3434
     
    3838                port:libunique
    3939
    40 use_autoreconf  yes
    41 
    4240configure.args  --disable-schemas-install
    4341
    44 configure.python ${prefix}/bin/python2.6
     42variant python25 conflicts python26 python27 description {Build using Python 2.5} {
     43    configure.python          ${prefix}/bin/python2.5
     44    depends_build-append      port:python25
     45}
     46
     47variant python26 conflicts python25 python27 description {Build using Python 2.6} {
     48    configure.python          ${prefix}/bin/python2.6
     49    depends_build-append      port:python26
     50}
     51
     52variant python27 conflicts python25 python26 description {Build using Python 2.7} {
     53    configure.python          ${prefix}/bin/python2.7
     54    depends_build-append      port:python27
     55}
     56
     57if {![variant_isset python25] && ![variant_isset python26]} {
     58    default_variants +python27
     59}
    4560
    4661post-activate {
Note: See TracChangeset for help on using the changeset viewer.