# -*- 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 59068 2009-10-09 06:27:11Z devans@macports.org $ PortSystem 1.0 PortGroup muniversal 1.0 name gnome-vfs version 2.24.2 set branch [join [lrange [split ${version} .] 0 1] .] maintainers nomaintainer categories gnome platforms darwin 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 371d13e7306eb82e3fe3748a7584c440 \ sha1 9e8e9387cbf0dd107e16afd95a358581eb610ab8 \ rmd160 af81ef4193821696a2ca26435a6a457d55d5ab5c depends_lib port:gconf \ port:openssl \ port:libidl \ port:dbus-glib \ port:libxml2 depends_run port:desktop-file-utils \ port:gnome-mime-data \ port:shared-mime-info patchfiles patch-configure.diff configure.args --enable-ipv6 \ --disable-howl \ --disable-avahi \ --with-openssl-libs=${prefix}/lib \ --with-openssl-includes=${prefix}/include \ --disable-gnutls \ 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 { # We need to register some stuff to gconf. Just putting the # schema files to the right place is not enough. # You can watch the successful installation with gconf-editor. system "cd ${prefix}/etc/gconf/schemas && \ GCONF_CONFIG_SOURCE=`${prefix}/bin/gconftool-2 --get-default-source` ${prefix}/bin/gconftool-2 --makefile-install-rule \ desktop_default_applications.schemas \ desktop_gnome_url_handlers.schemas \ system_dns_sd.schemas \ system_http_proxy.schemas \ system_smb.schemas" } livecheck.type regex livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/ livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}