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

Last change on this file since 126945 was 117771, checked in by devans@…, 6 years ago

gnome-vfs: autoreconf to reconfigure with our intltool.m4, update patches, dependencies (#42816).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 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 117771 2014-03-12 16:25:59Z 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                port:gtk-doc \
33                port:gnome-common
34
35depends_lib     port:desktop-file-utils \
36                port:gconf \
37                port:gnome-mime-data \
38                port:openssl \
39                port:libxml2
40
41depends_run     port:shared-mime-info
42
43patchfiles      patch-acinclude.m4.diff \
44                patch-allow-glib-deprecated.diff
45
46# autoreconf with our intltool.m4
47
48use_autoreconf  yes
49autoreconf.args -fvi
50
51configure.args  --enable-ipv6 \
52                --disable-howl \
53                --disable-avahi \
54                --with-openssl-libs=${prefix}/lib \
55                --with-openssl-includes=${prefix}/include \
56                --disable-gnutls \
57                --disable-fam \
58                ac_cv_func_open64=no \
59                ac_cv_func_posix_fadvise=no \
60                ac_cv_path_KRB5_CONFIG=none
61
62configure.ldflags-append    -lresolv
63
64post-patch {
65    reinplace -E "/xdg_data_dirs =/s|\"\[^\"\]*\"|\"${prefix}/share\"|" \
66        ${worksrcpath}/libgnomevfs/xdgmime.c
67
68    reinplace "s|/etc/fstab|/etc/fstab.hd|" \
69        ${worksrcpath}/libgnomevfs/gnome-vfs-unix-mounts.c
70}
71
72variant avahi description {Enable Bonjour through avahi} {
73    depends_lib-append      port:avahi
74    configure.args-delete   --disable-avahi
75}
76post-activate {
77    system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
78        gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
79}
80
81livecheck.type  gnome
Note: See TracBrowser for help on using the repository browser.