source: trunk/dports/gnome/at-spi/Portfile @ 113855

Last change on this file since 113855 was 113855, checked in by sean@…, 6 years ago

at-spi: remove python25 variant due to py25-gnome removal

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 113855 2013-11-24 22:14:02Z sean@macports.org $
3
4PortSystem 1.0
5
6name                at-spi
7version             1.32.0
8conflicts           at-spi2-atk
9license             LGPL
10set branch          [join [lrange [split ${version} .] 0 1] .]
11description         Gnome Accesibility Technology Service
12long_description \
13   'at-spi' is a part of the Gnome Accessibility Project.  It provides a \
14   Service Provider Interface for the Assistive Technologies available on \
15   the GNOME platform, and a library against which applications can be linked.
16maintainers         nomaintainer
17categories          gnome
18platforms           darwin
19homepage            http://developer.gnome.org/projects/gap/
20master_sites        gnome:sources/${name}/${branch}/
21
22checksums           sha256  cc841dea746413eebadf0710dabec741450b37a06821c34526f505fe9d027039 \
23                    rmd160  18e9453c26f8d1cdd91ba7bf2d8ac49a19b9aa7d
24
25depends_build       port:intltool \
26                    port:pkgconfig
27
28depends_lib         port:atk \
29                    port:gtk2 \
30                    port:gconf \
31                    port:libbonobo \
32                    port:xorg-libXtst
33
34use_bzip2           yes
35
36patchfiles          patch-pyatspi-Makefile.in.diff
37
38configure.args      --enable-static \
39                    --disable-xevie \
40                    --with-x \
41                    --x-includes=${prefix}/include \
42                    --x-libraries=${prefix}/lib \
43                    --disable-schemas-install
44
45variant python26 conflicts python27 description {Use python 2.6} {
46    configure.python        ${prefix}/bin/python2.6
47    depends_lib-append      port:py26-gnome
48    post-patch {
49        reinplace "s|__MP_PYTHON_EXEC_DIR__|${prefix}//Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages|" ${worksrcpath}/pyatspi/Makefile.in
50    }
51}
52
53variant python27 conflicts python26 description {Use python 2.7} {
54    configure.python        ${prefix}/bin/python2.7
55    depends_lib-append      port:py27-gnome
56    post-patch {
57        reinplace "s|__MP_PYTHON_EXEC_DIR__|${prefix}//Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages|" ${worksrcpath}/pyatspi/Makefile.in
58    }
59}
60
61if {![variant_isset python26]} {
62    default_variants +python27
63}
64
65post-activate {
66   system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
67        gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
68}
69
70livecheck.type  gnome
Note: See TracBrowser for help on using the repository browser.