# -*- 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 PortGroup active_variants 1.1 PortGroup gobject_introspection 1.0 name gnome-desktop version 3.22.1 set branch [join [lrange [split ${version} .] 0 1] .] maintainers devans openmaintainer categories gnome license LGPL-2+ platforms darwin description gnome-desktop contains the libgnome-desktop library, the gnome-about \ program as well as some desktop-wide documents. long_description ${description} The libgnome-desktop library provides API shared \ by several applications on the desktop, but that cannot live \ in the platform for various reasons. Documentation for the API \ is available with gtk-doc. homepage http://www.gnome.org/ master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 104e34b1df91839201b4b8c877be350149ff860d \ sha256 6458add4fc3a81fbd9a63db90de22a1e3a62644c1bfd1aca042c43836195aab2 depends_build port:pkgconfig \ port:intltool \ port:gnome-common \ port:gtk-doc \ port:yelp-tools \ port:autoconf \ port:automake \ port:libtool depends_lib port:desktop-file-utils \ port:gsettings-desktop-schemas \ port:gnome-themes-standard \ port:adwaita-icon-theme \ port:gtk3 \ port:iso-codes \ port:xorg-libXext \ port:xorg-libXrandr \ port:xkeyboard-config \ port:xorg-libxkbfile gobject_introspection yes # reconfigure using upstream autogen.sh for intltool 0.51 compatibility post-patch { xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath} } configure.cmd ./autogen.sh configure.args --disable-maintainer-mode \ --disable-silent-rules \ --enable-desktop-docs \ --enable-compile-warnings=minimum \ --with-gnome-distributor=MacPorts \ --x-includes=${prefix}/include \ --x-libraries=${prefix}/lib # # portions of this port are strictly X11 specific # so a +quartz build is not possible (fails in configure if X11 is absent) # require_active_variants port:gtk3 x11 post-activate { system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" } livecheck.type gnome