# -*- 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 PortSystem 1.0 PortGroup active_variants 1.1 PortGroup compiler_blacklist_versions 1.0 PortGroup gobject_introspection 1.0 name nautilus version 3.24.2.1 revision 6 set branch [join [lrange [split ${version} .] 0 1] .] description The GNOME filemanager long_description Nautilus is the official file manager for the \ GNOME desktop. It is designed to be primarly a file manager, \ but there are support for web and file viewing too. maintainers {devans @dbevans} openmaintainer categories gnome license GPL-2+ platforms darwin homepage https://wiki.gnome.org/Apps/Nautilus master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 f636f18f3af8e4bc87b3b0632255c051234e9116 \ sha256 357d9d051fcc2c385ce9b3beb2db2ea1874b7cdf507ca10274a063023e1a61b3 \ size 5143440 depends_build port:pkgconfig depends_lib port:desktop-file-utils \ port:shared-mime-info \ path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \ port:gnome-autoar \ port:gnome-desktop \ port:gsettings-desktop-schemas \ port:exempi \ port:libexif \ port:libxml2 \ port:xorg-libX11 depends_run port:adwaita-icon-theme require_active_variants gtk3 x11 gobject_introspection yes # blacklist compilers that do not support C11 (redefinition of typedef ‘NautilusLocationEntryClass’ at nautilus-location-entry.h:39) compiler.blacklist *gcc-3.* *gcc-4.* {clang < 300} configure.args --disable-tracker \ --disable-desktop \ --disable-packagekit \ --disable-selinux \ --disable-silent-rules \ --disable-update-mimedb \ --disable-schemas-compile variant desktop description {Enable desktop support} { configure.args-delete --disable-desktop } variant tracker description {Enable tracker based search engine} { depends_lib-append port:tracker configure.args-delete --disable-tracker } post-activate { system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" system "${prefix}/bin/update-mime-database ${prefix}/share/mime" system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" } livecheck.type gnome