# -*- 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: Portfile 146517 2016-03-10 17:49:28Z raimue@macports.org $ PortSystem 1.0 PortGroup muniversal 1.0 name gnome-vfs version 2.24.4 revision 2 set branch [join [lrange [split ${version} .] 0 1] .] maintainers nomaintainer categories gnome platforms darwin license LGPL-2+ description This is the GNOME Virtual File System. long_description \ This is the GNOME Virtual File System. \ GNOME VFS is currently used as one of the \ foundations of the Nautilus file manager. homepage http://www.gnome.org/ master_sites gnome:sources/${name}/${branch}/ use_bzip2 yes checksums md5 a05fab03eeef10a47dd156b758982f2e \ sha1 0dc634e7dd979fd218f378902c0ca1af80738961 \ rmd160 6a5952bea02dfc96782b6f1129fe765f5313a75b depends_build port:pkgconfig \ port:intltool \ port:gtk-doc \ port:gnome-common \ port:autoconf \ port:automake \ port:libtool depends_lib port:desktop-file-utils \ port:gconf \ port:gnome-mime-data \ path:lib/libssl.dylib:openssl \ port:libxml2 depends_run port:shared-mime-info patchfiles patch-acinclude.m4.diff \ patch-allow-glib-deprecated.diff # reconfigure using upstream autogen.sh for intltool 0.51 compatibility configure.cmd ./autogen.sh configure.args --enable-ipv6 \ --disable-howl \ --disable-avahi \ --with-openssl-libs=${prefix}/lib \ --with-openssl-includes=${prefix}/include \ --disable-gnutls \ --disable-fam \ ac_cv_func_open64=no \ ac_cv_func_posix_fadvise=no \ ac_cv_path_KRB5_CONFIG=none configure.ldflags-append -lresolv post-patch { reinplace -E "/xdg_data_dirs =/s|\"\[^\"\]*\"|\"${prefix}/share\"|" \ ${worksrcpath}/libgnomevfs/xdgmime.c reinplace "s|/etc/fstab|/etc/fstab.hd|" \ ${worksrcpath}/libgnomevfs/gnome-vfs-unix-mounts.c } variant avahi description {Enable Bonjour through avahi} { depends_lib-append port:avahi configure.args-delete --disable-avahi } post-activate { system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \ gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas" } livecheck.type gnome