2009-03-02 03:00:51 +01:00
|
|
|
# $NetBSD: Makefile,v 1.14 2009/03/02 02:00:51 jmcneill Exp $
|
2008-04-11 21:25:38 +02:00
|
|
|
#
|
|
|
|
|
2008-11-24 16:09:02 +01:00
|
|
|
DISTNAME= gvfs-1.0.3
|
2009-03-02 03:00:51 +01:00
|
|
|
PKGREVISION= 2
|
2008-04-11 21:25:38 +02:00
|
|
|
CATEGORIES= sysutils
|
2008-10-16 15:59:39 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gvfs/1.0/}
|
2008-04-11 21:25:38 +02:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.gnome.org/
|
|
|
|
COMMENT= Userspace virtual filesystem
|
|
|
|
|
2008-07-14 14:55:56 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2008-04-11 21:25:38 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
2008-06-01 10:19:48 +02:00
|
|
|
USE_TOOLS+= intltool gmake pkg-config msgfmt
|
2008-04-11 21:25:38 +02:00
|
|
|
CONFIGURE_ARGS+= --with-samba-includes=${LOCALBASE}/include
|
|
|
|
CONFIGURE_ARGS+= --with-samba-libs=${LOCALBASE}/lib/samba
|
2008-10-16 15:59:39 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-http
|
|
|
|
|
2008-11-23 04:28:50 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.gvfs
|
2009-03-02 03:00:51 +01:00
|
|
|
PKG_SUPPORTED_OPTIONS+= avahi hal fuse
|
2008-12-20 21:11:54 +01:00
|
|
|
PKG_SUGGESTED_OPTIONS+= avahi hal
|
|
|
|
PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS}
|
2009-03-02 03:00:51 +01:00
|
|
|
|
|
|
|
# XXX fuse.bl3.mk will fail if we include it and fuse is not available
|
|
|
|
.if ${OPSYS} == "Linux" || (${OPSYS} == "NetBSD" && exists(/usr/include/fuse.h))
|
|
|
|
PKG_SUGGESTED_OPTIONS+= fuse
|
|
|
|
.endif
|
|
|
|
|
2008-11-23 04:28:50 +01:00
|
|
|
.include "../../mk/bsd.options.mk"
|
2008-12-20 21:11:54 +01:00
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mavahi)
|
|
|
|
.include "../../net/avahi/buildlink3.mk"
|
|
|
|
CONFIGURE_ARGS+= --enable-avahi
|
|
|
|
PLIST.avahi= yes
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-avahi
|
|
|
|
.endif
|
|
|
|
|
2008-11-23 04:28:50 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Mhal)
|
2008-12-20 21:11:54 +01:00
|
|
|
.include "../../misc/libcdio/buildlink3.mk"
|
2008-11-23 04:28:50 +01:00
|
|
|
.include "../../sysutils/hal/buildlink3.mk"
|
|
|
|
CONFIGURE_ARGS+= --enable-hal
|
2008-12-20 21:11:54 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-cdda
|
2008-11-23 04:28:50 +01:00
|
|
|
PLIST.hal= yes
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-hal
|
2008-12-20 21:11:54 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-cdda
|
2008-11-23 04:28:50 +01:00
|
|
|
.endif
|
|
|
|
|
2009-03-02 03:00:51 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Mfuse)
|
|
|
|
.include "../../mk/fuse.buildlink3.mk"
|
|
|
|
CONFIGURE_ARGS+= --enable-fuse
|
|
|
|
PLIST.fuse= yes
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-fuse
|
|
|
|
.endif
|
2008-12-20 21:11:54 +01:00
|
|
|
|
2008-11-24 16:09:02 +01:00
|
|
|
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.17.6
|
2008-04-11 21:25:38 +02:00
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
|
|
.include "../../sysutils/dbus/buildlink3.mk"
|
|
|
|
.include "../../archivers/libarchive/buildlink3.mk"
|
|
|
|
.include "../../net/samba/buildlink3.mk"
|
2008-11-24 16:09:02 +01:00
|
|
|
BUILDLINK_API_DEPENDS.libsoup24+= libsoup24>=2.23.91
|
2008-04-11 21:25:38 +02:00
|
|
|
.include "../../net/libsoup24/buildlink3.mk"
|
|
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
|
|
.include "../../devel/GConf/buildlink3.mk"
|
|
|
|
.include "../../security/gnome-keyring/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|