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

Last change on this file since 139229 was 139229, checked in by jeremyhu@…, 4 years ago

misc: Change port:openssl dependency to path:lib/libssl.dylib:openssl

This should allow usage of libressl as a replacement for openssl in relevant
ports. Not all ports have been tested, but libressl aims for API
compatibility with OpenSSL, so it is expected to work.

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