# New ports collection makefile for: gvfs # Date created: 2007-11-06 # Whom: Michael Johnson # # $FreeBSD$ # $MCom: ports/devel/gvfs/Makefile,v 1.11 2008/02/11 21:38:55 marcus Exp $ PORTNAME= gvfs PORTVERSION= 0.1.7 CATEGORIES= devel gnome MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME virtual file system LIB_DEPENDS= dbus-1.3:${PORTSDIR}/devel/dbus \ hal.1:${PORTSDIR}/sysutils/hal \ soup-2.4.1:${PORTSDIR}/devel/libsoup USE_GNOME= glib20 gnomehack gnomeprefix intlhack gconf2 USE_GMAKE= yes USE_GETTEXT= yes USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" OPTIONS= FUSE "Enable fuse" on \ SAMBA "Enable Samba" on # CDDA "Enable CDDA" on .include .if defined(WITH_FUSE) && ${OSVERSION} >= 600000 LIB_DEPENDS+= fuse.2:${PORTSDIR}/sysutils/fusefs-libs PLIST_SUB+= FUSE="" .else CONFIGURE_ARGS+= --disable-fuse PLIST_SUB+= FUSE="@comment " .endif .if defined(WITH_SAMBA) LIB_DEPENDS+= smbclient.0:${PORTSDIR}/net/samba-libsmbclient PLIST_SUB+= SMB="" .else CONFIGURE_ARGS+= --disable-samba PLIST_SUB+= SMB="@comment " .endif #.if defined(WITH_CDDA) #LIB_DEPENDS+= cdio_paranoia.0:${PORTSDIR}/sysutils/libcdio #PLIST_SUB+= CDDA="" #.else CONFIGURE_ARGS+= --disable-cdda PLIST_SUB+= CDDA="@comment " #.endif post-extract: .for f in http dav smb smb-browse @${CP} ${FILESDIR}/${f}.mount.in \ ${WRKSRC}/daemon/${f}.mount.in .endfor .include