1 | # -*- 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 |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup muniversal 1.0 |
---|
5 | |
---|
6 | name gnome-vfs |
---|
7 | version 2.24.4 |
---|
8 | revision 4 |
---|
9 | set branch [join [lrange [split ${version} .] 0 1] .] |
---|
10 | maintainers nomaintainer |
---|
11 | categories gnome |
---|
12 | platforms darwin |
---|
13 | license LGPL-2+ |
---|
14 | description This is the GNOME Virtual File System. |
---|
15 | |
---|
16 | long_description \ |
---|
17 | This is the GNOME Virtual File System. \ |
---|
18 | GNOME VFS is currently used as one of the \ |
---|
19 | foundations of the Nautilus file manager. |
---|
20 | |
---|
21 | homepage https://www.gnome.org/ |
---|
22 | master_sites gnome:sources/${name}/${branch}/ |
---|
23 | use_bzip2 yes |
---|
24 | |
---|
25 | checksums size 1890370 \ |
---|
26 | md5 a05fab03eeef10a47dd156b758982f2e \ |
---|
27 | sha1 0dc634e7dd979fd218f378902c0ca1af80738961 \ |
---|
28 | rmd160 6a5952bea02dfc96782b6f1129fe765f5313a75b \ |
---|
29 | sha256 62de64b5b804eb04104ff98fcd6a8b7276d510a49fbd9c0feb568f8996444faa |
---|
30 | |
---|
31 | depends_build port:pkgconfig \ |
---|
32 | port:intltool \ |
---|
33 | port:gtk-doc \ |
---|
34 | port:gnome-common \ |
---|
35 | port:autoconf \ |
---|
36 | port:automake \ |
---|
37 | port:libtool |
---|
38 | |
---|
39 | depends_lib port:desktop-file-utils \ |
---|
40 | port:gconf \ |
---|
41 | port:gnome-mime-data \ |
---|
42 | path:lib/libssl.dylib:openssl \ |
---|
43 | port:libxml2 |
---|
44 | |
---|
45 | depends_run port:shared-mime-info |
---|
46 | |
---|
47 | patchfiles patch-acinclude.m4.diff \ |
---|
48 | patch-allow-glib-deprecated.diff \ |
---|
49 | patch-openssl111-fix.diff \ |
---|
50 | patch-test-async-directory.diff |
---|
51 | |
---|
52 | |
---|
53 | # reconfigure using upstream autogen.sh for intltool 0.51 compatibility |
---|
54 | |
---|
55 | configure.cmd ./autogen.sh |
---|
56 | |
---|
57 | configure.args --enable-ipv6 \ |
---|
58 | --disable-howl \ |
---|
59 | --disable-avahi \ |
---|
60 | --with-openssl-libs=${prefix}/lib \ |
---|
61 | --with-openssl-includes=${prefix}/include \ |
---|
62 | --disable-gnutls \ |
---|
63 | --disable-fam \ |
---|
64 | ac_cv_func_open64=no \ |
---|
65 | ac_cv_func_posix_fadvise=no \ |
---|
66 | ac_cv_path_KRB5_CONFIG=none |
---|
67 | |
---|
68 | configure.ldflags-append -lresolv |
---|
69 | |
---|
70 | post-patch { |
---|
71 | reinplace -E "/xdg_data_dirs =/s|\"\[^\"\]*\"|\"${prefix}/share\"|" \ |
---|
72 | ${worksrcpath}/libgnomevfs/xdgmime.c |
---|
73 | |
---|
74 | reinplace "s|/etc/fstab|/etc/fstab.hd|" \ |
---|
75 | ${worksrcpath}/libgnomevfs/gnome-vfs-unix-mounts.c |
---|
76 | } |
---|
77 | |
---|
78 | variant avahi description {Enable Bonjour through avahi} { |
---|
79 | depends_lib-append port:avahi |
---|
80 | configure.args-delete --disable-avahi |
---|
81 | } |
---|
82 | post-activate { |
---|
83 | system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \ |
---|
84 | gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas" |
---|
85 | } |
---|
86 | |
---|
87 | livecheck.type gnome |
---|