source: trunk/dports/gnome/gnome-vfs/Portfile @ 107354

Last change on this file since 107354 was 107354, checked in by devans@…, 7 years ago

desktop-file-utils dependents: make desktop-file-utils a library dependency so it is available to activate pre-built binaries.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
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# $Id: Portfile 107354 2013-06-26 03:25:19Z devans@macports.org $
3
4PortSystem      1.0
5PortGroup       muniversal 1.0
6
7name            gnome-vfs
8version         2.24.4
9revision        1
10set branch      [join [lrange [split ${version} .] 0 1] .]
11maintainers     nomaintainer
12categories      gnome
13platforms       darwin
14license         LGPL-2+
15description     This is the GNOME Virtual File System.
16
17long_description \
18    This is the GNOME Virtual File System. \
19    GNOME VFS is currently used as one of the \
20    foundations of the Nautilus file manager.
21
22homepage        http://www.gnome.org/
23master_sites    gnome:sources/${name}/${branch}/
24use_bzip2       yes
25
26checksums       md5     a05fab03eeef10a47dd156b758982f2e \
27                sha1    0dc634e7dd979fd218f378902c0ca1af80738961 \
28                rmd160  6a5952bea02dfc96782b6f1129fe765f5313a75b
29
30depends_build   port:pkgconfig \
31                port:intltool
32
33depends_lib     port:desktop-file-utils \
34                port:gconf \
35                port:openssl \
36                port:libxml2
37
38depends_run     port:gnome-mime-data \
39                port:shared-mime-info
40
41patchfiles      patch-configure.diff enable-deprecated.diff
42
43configure.args  --enable-ipv6 \
44                --disable-howl \
45                --disable-avahi \
46                --with-openssl-libs=${prefix}/lib \
47                --with-openssl-includes=${prefix}/include \
48                --disable-gnutls \
49                --disable-fam \
50                ac_cv_func_open64=no \
51                ac_cv_func_posix_fadvise=no \
52                ac_cv_path_KRB5_CONFIG=none
53
54configure.ldflags-append    -lresolv
55
56post-patch {
57    reinplace -E "/xdg_data_dirs =/s|\"\[^\"\]*\"|\"${prefix}/share\"|" \
58        ${worksrcpath}/libgnomevfs/xdgmime.c
59
60    reinplace "s|/etc/fstab|/etc/fstab.hd|" \
61        ${worksrcpath}/libgnomevfs/gnome-vfs-unix-mounts.c
62}
63
64variant avahi description {Enable Bonjour through avahi} {
65    depends_lib-append      port:avahi
66    configure.args-delete   --disable-avahi
67}
68post-activate {
69    system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
70        gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
71}
72
73livecheck.type  gnome
Note: See TracBrowser for help on using the repository browser.