1 # $NetBSD: Makefile,v 1.50 2013/02/16 11:24:31 wiz Exp $
7 MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gvfs/1.6/}
10 MAINTAINER= pkgsrc-users@NetBSD.org
11 HOMEPAGE= http://www.gnome.org/
12 COMMENT= Userspace virtual filesystem
16 USE_TOOLS+= intltool gmake pkg-config msgfmt
17 CONFIGURE_ARGS+= --enable-http
18 CONFIGURE_ARGS+= --disable-bash-completion
20 .include "../../mk/bsd.prefs.mk"
22 PKG_OPTIONS_VAR= PKG_OPTIONS.gvfs
23 PKG_SUPPORTED_OPTIONS+= avahi hal fuse samba
24 PKG_SUGGESTED_OPTIONS+= hal samba
25 PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS}
27 # XXX fuse.bl3.mk will fail if we include it and fuse is not available
28 .if ${OPSYS} == "Linux" #|| (${OPSYS} == "NetBSD" && exists(/usr/include/fuse.h))
29 PKG_SUGGESTED_OPTIONS+= fuse
32 .include "../../mk/bsd.options.mk"
34 .if !empty(PKG_OPTIONS:Mavahi)
35 .include "../../net/avahi/buildlink3.mk"
36 CONFIGURE_ARGS+= --enable-avahi
39 CONFIGURE_ARGS+= --disable-avahi
42 .if !empty(PKG_OPTIONS:Msamba)
43 CONFIGURE_ARGS+= --with-samba-includes=${LOCALBASE}/include
44 CONFIGURE_ARGS+= --with-samba-libs=${LOCALBASE}/lib/samba
45 .include "../../net/samba/buildlink3.mk"
48 CONFIGURE_ARGS+= --disable-samba
51 .if !empty(PKG_OPTIONS:Mhal)
52 .include "../../misc/libcdio/buildlink3.mk"
53 .include "../../sysutils/hal/buildlink3.mk"
54 CONFIGURE_ARGS+= --enable-hal
55 CONFIGURE_ARGS+= --enable-cdda
58 CONFIGURE_ARGS+= --disable-hal
59 CONFIGURE_ARGS+= --disable-cdda
62 .if !empty(PKG_OPTIONS:Mfuse)
63 .include "../../mk/fuse.buildlink3.mk"
64 CONFIGURE_ARGS+= --enable-fuse
67 CONFIGURE_ARGS+= --disable-fuse
70 BUILDLINK_API_DEPENDS.glib2+= glib2>=2.17.6
71 .include "../../devel/glib2/modules.mk"
72 .include "../../sysutils/dbus/buildlink3.mk"
73 .include "../../archivers/libarchive/buildlink3.mk"
74 BUILDLINK_API_DEPENDS.libsoup24+= libsoup24>=2.25.1
75 .include "../../net/libsoup24/buildlink3.mk"
76 .include "../../textproc/libxml2/buildlink3.mk"
77 .include "../../devel/GConf/buildlink3.mk"
78 .include "../../security/libgnome-keyring/buildlink3.mk"
79 .include "../../mk/bsd.pkg.mk"