| @@ -1,63 +1,74 @@ | | | @@ -1,63 +1,74 @@ |
1 | # $NetBSD: Makefile,v 1.13 2008/12/20 20:11:54 jmcneill Exp $ | | 1 | # $NetBSD: Makefile,v 1.14 2009/03/02 02:00:51 jmcneill Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= gvfs-1.0.3 | | 4 | DISTNAME= gvfs-1.0.3 |
5 | PKGREVISION= 1 | | 5 | PKGREVISION= 2 |
6 | CATEGORIES= sysutils | | 6 | CATEGORIES= sysutils |
7 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gvfs/1.0/} | | 7 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gvfs/1.0/} |
8 | EXTRACT_SUFX= .tar.bz2 | | 8 | EXTRACT_SUFX= .tar.bz2 |
9 | | | 9 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | HOMEPAGE= http://www.gnome.org/ | | 11 | HOMEPAGE= http://www.gnome.org/ |
12 | COMMENT= Userspace virtual filesystem | | 12 | COMMENT= Userspace virtual filesystem |
13 | | | 13 | |
14 | PKG_DESTDIR_SUPPORT= user-destdir | | 14 | PKG_DESTDIR_SUPPORT= user-destdir |
15 | | | 15 | |
16 | GNU_CONFIGURE= yes | | 16 | GNU_CONFIGURE= yes |
17 | USE_LIBTOOL= yes | | 17 | USE_LIBTOOL= yes |
18 | USE_TOOLS+= intltool gmake pkg-config msgfmt | | 18 | USE_TOOLS+= intltool gmake pkg-config msgfmt |
19 | CONFIGURE_ARGS+= --with-samba-includes=${LOCALBASE}/include | | 19 | CONFIGURE_ARGS+= --with-samba-includes=${LOCALBASE}/include |
20 | CONFIGURE_ARGS+= --with-samba-libs=${LOCALBASE}/lib/samba | | 20 | CONFIGURE_ARGS+= --with-samba-libs=${LOCALBASE}/lib/samba |
21 | CONFIGURE_ARGS+= --enable-http | | 21 | CONFIGURE_ARGS+= --enable-http |
22 | | | 22 | |
23 | .include "../../mk/bsd.prefs.mk" | | 23 | .include "../../mk/bsd.prefs.mk" |
24 | | | 24 | |
25 | PKG_OPTIONS_VAR= PKG_OPTIONS.gvfs | | 25 | PKG_OPTIONS_VAR= PKG_OPTIONS.gvfs |
26 | PKG_SUPPORTED_OPTIONS+= avahi hal | | 26 | PKG_SUPPORTED_OPTIONS+= avahi hal fuse |
27 | PKG_SUGGESTED_OPTIONS+= avahi hal | | 27 | PKG_SUGGESTED_OPTIONS+= avahi hal |
28 | PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS} | | 28 | PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS} |
| | | 29 | |
| | | 30 | # XXX fuse.bl3.mk will fail if we include it and fuse is not available |
| | | 31 | .if ${OPSYS} == "Linux" || (${OPSYS} == "NetBSD" && exists(/usr/include/fuse.h)) |
| | | 32 | PKG_SUGGESTED_OPTIONS+= fuse |
| | | 33 | .endif |
| | | 34 | |
29 | .include "../../mk/bsd.options.mk" | | 35 | .include "../../mk/bsd.options.mk" |
30 | | | 36 | |
31 | .if !empty(PKG_OPTIONS:Mavahi) | | 37 | .if !empty(PKG_OPTIONS:Mavahi) |
32 | .include "../../net/avahi/buildlink3.mk" | | 38 | .include "../../net/avahi/buildlink3.mk" |
33 | CONFIGURE_ARGS+= --enable-avahi | | 39 | CONFIGURE_ARGS+= --enable-avahi |
34 | PLIST.avahi= yes | | 40 | PLIST.avahi= yes |
35 | .else | | 41 | .else |
36 | CONFIGURE_ARGS+= --disable-avahi | | 42 | CONFIGURE_ARGS+= --disable-avahi |
37 | .endif | | 43 | .endif |
38 | | | 44 | |
39 | .if !empty(PKG_OPTIONS:Mhal) | | 45 | .if !empty(PKG_OPTIONS:Mhal) |
40 | .include "../../misc/libcdio/buildlink3.mk" | | 46 | .include "../../misc/libcdio/buildlink3.mk" |
41 | .include "../../sysutils/hal/buildlink3.mk" | | 47 | .include "../../sysutils/hal/buildlink3.mk" |
42 | CONFIGURE_ARGS+= --enable-hal | | 48 | CONFIGURE_ARGS+= --enable-hal |
43 | CONFIGURE_ARGS+= --enable-cdda | | 49 | CONFIGURE_ARGS+= --enable-cdda |
44 | PLIST.hal= yes | | 50 | PLIST.hal= yes |
45 | .else | | 51 | .else |
46 | CONFIGURE_ARGS+= --disable-hal | | 52 | CONFIGURE_ARGS+= --disable-hal |
47 | CONFIGURE_ARGS+= --disable-cdda | | 53 | CONFIGURE_ARGS+= --disable-cdda |
48 | .endif | | 54 | .endif |
49 | | | 55 | |
50 | # Not yet; will cause the package to fail if fuse is not present | | 56 | .if !empty(PKG_OPTIONS:Mfuse) |
51 | #.include "../../mk/fuse.buildlink3.mk" | | 57 | .include "../../mk/fuse.buildlink3.mk" |
| | | 58 | CONFIGURE_ARGS+= --enable-fuse |
| | | 59 | PLIST.fuse= yes |
| | | 60 | .else |
| | | 61 | CONFIGURE_ARGS+= --disable-fuse |
| | | 62 | .endif |
52 | | | 63 | |
53 | BUILDLINK_API_DEPENDS.glib2+= glib2>=2.17.6 | | 64 | BUILDLINK_API_DEPENDS.glib2+= glib2>=2.17.6 |
54 | .include "../../devel/glib2/buildlink3.mk" | | 65 | .include "../../devel/glib2/buildlink3.mk" |
55 | .include "../../sysutils/dbus/buildlink3.mk" | | 66 | .include "../../sysutils/dbus/buildlink3.mk" |
56 | .include "../../archivers/libarchive/buildlink3.mk" | | 67 | .include "../../archivers/libarchive/buildlink3.mk" |
57 | .include "../../net/samba/buildlink3.mk" | | 68 | .include "../../net/samba/buildlink3.mk" |
58 | BUILDLINK_API_DEPENDS.libsoup24+= libsoup24>=2.23.91 | | 69 | BUILDLINK_API_DEPENDS.libsoup24+= libsoup24>=2.23.91 |
59 | .include "../../net/libsoup24/buildlink3.mk" | | 70 | .include "../../net/libsoup24/buildlink3.mk" |
60 | .include "../../textproc/libxml2/buildlink3.mk" | | 71 | .include "../../textproc/libxml2/buildlink3.mk" |
61 | .include "../../devel/GConf/buildlink3.mk" | | 72 | .include "../../devel/GConf/buildlink3.mk" |
62 | .include "../../security/gnome-keyring/buildlink3.mk" | | 73 | .include "../../security/gnome-keyring/buildlink3.mk" |
63 | .include "../../mk/bsd.pkg.mk" | | 74 | .include "../../mk/bsd.pkg.mk" |