# -*- 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 # $Id$ PortSystem 1.0 PortGroup compiler_blacklist_versions 1.0 PortGroup gobject_introspection 1.0 name nautilus version 3.22.1 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 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 488d6a7c7abbd913b74e5b73afc79ad668f427fa \ sha256 17e37ffecebb2cf29e6bfb52111a951f0c67534b9dabf0210c12d15abb7dbddc depends_build port:pkgconfig depends_lib port:desktop-file-utils \ port:shared-mime-info \ port:gtk3 \ port:gnome-autoar \ port:gnome-desktop \ port:gsettings-desktop-schemas \ port:exempi \ port:libexif \ port:libxml2 \ port:xorg-libX11 depends_run port:gnome-themes-standard gobject_introspection yes # blacklist compilers that do not support C11 (redefinition of typedef ‘NautilusLocationEntryClass’ at nautilus-location-entry.h:39) compiler.blacklist *gcc* {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