Fixup fromcvs/togit conversion
[pkgsrcv2.git] / sysutils / gvfs / Makefile
1 # $NetBSD: Makefile,v 1.50 2013/02/16 11:24:31 wiz Exp $
2 #
3
4 DISTNAME=       gvfs-1.6.6
5 PKGREVISION=    19
6 CATEGORIES=     sysutils
7 MASTER_SITES=   ${MASTER_SITE_GNOME:=sources/gvfs/1.6/}
8 EXTRACT_SUFX=   .tar.bz2
9
10 MAINTAINER=     pkgsrc-users@NetBSD.org
11 HOMEPAGE=       http://www.gnome.org/
12 COMMENT=        Userspace virtual filesystem
13
14 GNU_CONFIGURE=  yes
15 USE_LIBTOOL=    yes
16 USE_TOOLS+=     intltool gmake pkg-config msgfmt
17 CONFIGURE_ARGS+=        --enable-http
18 CONFIGURE_ARGS+=        --disable-bash-completion
19
20 .include "../../mk/bsd.prefs.mk"
21
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}
26
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
30 .endif
31
32 .include "../../mk/bsd.options.mk"
33
34 .if !empty(PKG_OPTIONS:Mavahi)
35 .include "../../net/avahi/buildlink3.mk"
36 CONFIGURE_ARGS+=        --enable-avahi
37 PLIST.avahi=            yes
38 .else
39 CONFIGURE_ARGS+=        --disable-avahi
40 .endif
41
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"
46 PLIST.samba=            yes
47 .else
48 CONFIGURE_ARGS+=        --disable-samba
49 .endif
50
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
56 PLIST.hal=              yes
57 .else
58 CONFIGURE_ARGS+=        --disable-hal
59 CONFIGURE_ARGS+=        --disable-cdda
60 .endif
61
62 .if !empty(PKG_OPTIONS:Mfuse)
63 .include "../../mk/fuse.buildlink3.mk"
64 CONFIGURE_ARGS+=        --enable-fuse
65 PLIST.fuse=             yes
66 .else
67 CONFIGURE_ARGS+=        --disable-fuse
68 .endif
69
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"