source: trunk/dports/gnome/nautilus/Portfile

Last change on this file was 153977, checked in by devans@…, 11 months ago

nautilus: update to version 3.22.1.

  • 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 153977 2016-10-17 02:36:43Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           compiler_blacklist_versions 1.0
6PortGroup           gobject_introspection 1.0
7
8name                nautilus
9version             3.22.1
10set branch          [join [lrange [split ${version} .] 0 1] .]
11description         The GNOME filemanager
12long_description    Nautilus is the official file manager for the \
13                    GNOME desktop. It is designed to be primarly a file manager, \
14                    but there are support for web and file viewing too.
15maintainers         devans openmaintainer
16categories          gnome
17license             GPL-2+
18platforms           darwin
19homepage            https://wiki.gnome.org/Apps/Nautilus
20master_sites        gnome:sources/${name}/${branch}/
21
22use_xz              yes
23
24checksums           rmd160  488d6a7c7abbd913b74e5b73afc79ad668f427fa \
25                    sha256  17e37ffecebb2cf29e6bfb52111a951f0c67534b9dabf0210c12d15abb7dbddc
26
27depends_build       port:pkgconfig
28
29depends_lib         port:desktop-file-utils \
30                    port:shared-mime-info \
31                    port:gtk3 \
32                    port:gnome-autoar \
33                    port:gnome-desktop \
34                    port:gsettings-desktop-schemas \
35                    port:exempi \
36                    port:libexif \
37                    port:libxml2 \
38                    port:xorg-libX11
39
40depends_run         port:gnome-themes-standard
41
42gobject_introspection yes
43
44# blacklist compilers that do not support C11 (redefinition of typedef ‘NautilusLocationEntryClass’ at nautilus-location-entry.h:39)
45compiler.blacklist  *gcc* {clang < 300}
46
47configure.args      --disable-tracker \
48                    --disable-desktop \
49                    --disable-packagekit \
50                    --disable-selinux \
51                    --disable-silent-rules \
52                    --disable-update-mimedb \
53                    --disable-schemas-compile
54
55variant desktop description {Enable desktop support} {
56    configure.args-delete --disable-desktop
57}
58
59variant tracker description {Enable tracker based search engine} {
60    depends_lib-append port:tracker
61    configure.args-delete --disable-tracker
62}
63
64post-activate {
65    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
66    system "${prefix}/bin/update-mime-database ${prefix}/share/mime"
67    system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
68}
69
70livecheck.type      gnome
Note: See TracBrowser for help on using the repository browser.