# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name gnome-desktop version 2.32.1 revision 4 set branch [join [lrange [split ${version} .] 0 1] .] maintainers devans openmaintainer categories gnome license LGPL-2+ platforms darwin description Additional UI API for GNOME 2 long_description \ This is a collection of APIs not included in \ libgnomeui as they have not undergone sufficient \ testing. homepage http://www.gnome.org/ master_sites gnome:sources/${name}/${branch}/ use_bzip2 yes checksums md5 5c80d628a240eb9d9ff78913b31f2f67 \ sha1 95767b6696ebc406b4349b383366b9aff32e39f4 \ rmd160 c7f8ecea70d023cda1fff30253812b9ae5813f85 depends_build port:pkgconfig \ port:intltool \ port:gnome-common \ port:gnome-doc-utils \ port:gtk-doc depends_lib port:desktop-file-utils \ port:gconf \ port:startup-notification \ port:xorg-libXrandr \ port:rarian depends_run path:share/themes/HighContrast/index.theme:gnome-themes patchfiles patch-libgnome-destop-gnome-bg.c.diff \ patch-libgnome-destop-gnome-rr-config.c.diff configure.args --with-gnome-distributor=MacPorts \ --x-includes=${prefix}/include \ --x-libraries=${prefix}/lib \ --disable-scrollkeeper # Don't do intltool's INTLTOOL_PERL dance use_autoreconf yes autoreconf.args -fvi # # portions of this port are strictly X11 specific # so a +quartz build is not possible (fails in configure if X11 is absent) # # handle +quartz by disabling X11 dependencies and exit with an error before configuration # variant quartz { depends_lib-delete port:startup-notification \ port:xorg-libXrandr pre-configure { ui_error "${name} requires X11 development libraries to configure." ui_error "+quartz builds of ${name} are not allowed." return -code error "incompatible with +quartz build." } } variant python25 conflicts python26 python27 description {Use python 2.5} { configure.python ${prefix}/bin/python2.5 depends_lib-append port:py25-pygtk } variant python26 conflicts python25 python27 description {Use python 2.6} { configure.python ${prefix}/bin/python2.6 depends_lib-append port:py26-pygtk } variant python27 conflicts python25 python26 description {Use python 2.7} { configure.python ${prefix}/bin/python2.7 depends_lib-append port:py27-pygtk } if {![variant_isset python25] && ![variant_isset python26]} { default_variants +python27 } post-activate { system "${prefix}/bin/scrollkeeper-update" system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" } livecheck.type gnome