# Created by: Martin Wilke <miwi@FreeBSD.org>
# $FreeBSD: branches/RELEASE_8_4_0/graphics/ristretto/Makefile 314141 2013-03-14 08:17:39Z pclin $

PORTNAME=	ristretto
PORTVERSION=	0.6.3
PORTREVISION=	1
CATEGORIES=	graphics xfce
MASTER_SITES=	${MASTER_SITE_XFCE}
MASTER_SITE_SUBDIR=	src/apps/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR=	xfce4

MAINTAINER=	xfce@FreeBSD.org
COMMENT=	An image viewer with Xfce integration

LIB_DEPENDS=	exif.12:${PORTSDIR}/graphics/libexif \
		dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
		cairo.2:${PORTSDIR}/graphics/cairo

USE_BZIP2=	yes
GNU_CONFIGURE=	yes
USE_GNOME=	gnomehack gtk20 glib20 intltool intlhack desktopfileutils
USE_GMAKE=	yes
INSTALLS_ICONS=	yes
USE_GETTEXT=	yes
USE_XFCE=	configenv libmenu libutil xfconf
USE_XORG=	x11
USE_PKGCONFIG=	build

post-install:
	@-update-desktop-database

.include <bsd.port.mk>
