1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup archcheck 1.0 |
---|
6 | |
---|
7 | name gvfs |
---|
8 | version 1.6.2 |
---|
9 | set branch [join [lrange [split ${version} .] 0 1] .] |
---|
10 | maintainers nomaintainer |
---|
11 | categories devel |
---|
12 | platforms darwin |
---|
13 | description The Gnome Virtual File System. |
---|
14 | |
---|
15 | long_description \ |
---|
16 | gvfs is a userspace virtual filesystem designed \ |
---|
17 | to work with the i/o abstractions of gio (a new \ |
---|
18 | library available with glib). It installs several \ |
---|
19 | modules that are automatically used by applications \ |
---|
20 | using the APIs of libgio. The gvfs model differs \ |
---|
21 | from e.g. gnome-vfs in that filesystems must be \ |
---|
22 | mounted before they are used. There is a central \ |
---|
23 | daemon (gvfsd) that handles coordinting mounts, and \ |
---|
24 | then each mount is (typically) in its own daemon \ |
---|
25 | process (although mounts can share daemon process). \ |
---|
26 | gvfs comes with a set of backends, including trash \ |
---|
27 | support, sftp, smb, http, dav and others. There is \ |
---|
28 | a set of command line programs starting with gvfs- \ |
---|
29 | that lets you run commands (like cat, ls, stat, etc) \ |
---|
30 | on files in the gvfs. |
---|
31 | |
---|
32 | homepage http://www.gnome.org/ |
---|
33 | master_sites gnome:sources/${name}/${branch}/ |
---|
34 | use_bzip2 yes |
---|
35 | |
---|
36 | checksums md5 6ed1d943d1c1b8b15a6b180a6cd51043 |
---|
37 | |
---|
38 | post-patch { |
---|
39 | reinplace s/(unix)/(is_unix)/ ${worksrcpath}/daemon/gvfsftpdircache.c |
---|
40 | } |
---|
41 | |
---|
42 | depends_build port:pkgconfig \ |
---|
43 | port:intltool |
---|
44 | |
---|
45 | depends_lib \ |
---|
46 | port:gconf \ |
---|
47 | port:gettext \ |
---|
48 | path:lib/pkgconfig/glib-2.0.pc:glib2 \ |
---|
49 | port:gnome-keyring \ |
---|
50 | port:libarchive \ |
---|
51 | port:libsoup \ |
---|
52 | port:libxml2 |
---|
53 | |
---|
54 | archcheck.files \ |
---|
55 | lib/libarchive.dylib \ |
---|
56 | lib/libglib-2.0.dylib \ |
---|
57 | lib/libintl.dylib \ |
---|
58 | lib/libsoup-2.4.dylib \ |
---|
59 | lib/libxml2.dylib |
---|
60 | |
---|
61 | configure.args --disable-avahi \ |
---|
62 | --disable-fuse \ |
---|
63 | --disable-hal \ |
---|
64 | --disable-cdda \ |
---|
65 | --disable-obexftp \ |
---|
66 | --disable-gphoto2 \ |
---|
67 | --disable-samba \ |
---|
68 | |
---|
69 | test.run yes |
---|
70 | test.target check |
---|
71 | |
---|
72 | post-destroot { |
---|
73 | set docdir ${prefix}/share/doc/${name} |
---|
74 | xinstall -d ${destroot}${docdir} |
---|
75 | xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING MAINTAINERS NEWS README \ |
---|
76 | ${destroot}${docdir} |
---|
77 | } |
---|
78 | |
---|
79 | variant no_gnome description "Disable GNOME support" { |
---|
80 | depends_lib-delete \ |
---|
81 | port:gconf \ |
---|
82 | port:gnome-keyring |
---|
83 | |
---|
84 | configure.args-append \ |
---|
85 | --disable-keyring \ |
---|
86 | --disable-gconf |
---|
87 | } |
---|
88 | |
---|
89 | livecheck.type regex |
---|
90 | livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/ |
---|
91 | livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)} |
---|