# $MidnightBSD: trunk/x11-fm/thunar-vfs/Makefile 21100 2016-03-12 01:28:45Z laffer1 $
# $FreeBSD: ports/x11-fm/thunar-vfs/Makefile,v 1.3 2011/10/23 11:56:49 rene Exp $

PORTNAME=	thunar-vfs
PORTVERSION=	1.2.0
PORTREVISION=	4
CATEGORIES=	x11-fm xfce
MASTER_SITES=	XFCE/src/archive/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR=	xfce4

MAINTAINER=	ports@MidnightBSD.org
COMMENT=	The virtual filesystem for Thunar

LICENSE=	gpl2
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libpng.so:${PORTSDIR}/graphics/png \
		libjpeg.so:${PORTSDIR}/graphics/jpeg \
		libfreetype.so:${PORTSDIR}/print/freetype2 \
		libgamin-1.so:${PORTSDIR}/devel/gamin

GNU_CONFIGURE=	yes
USE_GNOME=	glib20 gtk20 gdkpixbuf2 intltool intlhack
USE_XFCE=	libexo
USE_XORG=	x11
USES=		gmake pathfix perl5 pkgconfig libtool desktop-file-utils \
		gettext-tools xfce tar:bzip2

CONFIGURE_ARGS=	--disable-debug --without-html-dir

OPTIONS_DEFINE=	NLS HAL DBUS STARTUP GCONF
OPTIONS_DEFAULT=	NLS HAL DBUS STARTUP
STARTUP_DESC=	Startup notification
NLS_USES=	gettext-runtime
NLS_CONFIGURE_ENABLE=	nls
HAL_LIB_DEPENDS=	libhal.so:${PORTSDIR}/sysutils/hal
HAL_CONFIGURE_WITH=	volume-manager=hal
HAL_CONFIGURE_OFF=	--with-volume-manager=freebsd
DBUS_LIB_DEPENDS=	libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
DBUS_CONFIGURE_ENABLE=	dbus
STARTUP_LIB_DEPENDS=	libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification
STARTUP_CONFIGURE_ENABLE=	startup-notification
GCONF_USE=	gnome=gconf2
GCONF_CONFIGURE_ENABLE=	gnome-thumbnailers
OPTIONS_SUB=	yes

.include <bsd.port.mk>
