# $OpenBSD: Makefile,v 1.2 2006/09/18 11:50:40 espie Exp $

COMMENT=		"read and manipulate raw images from digital cameras"

DISTNAME=		ufraw-0.9.1

CATEGORIES=		graphics
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=ufraw/}
HOMEPAGE=		http://ufraw.sourceforge.net/

MAINTAINER=		Marc Balmer <mbalmer@openbsd.org>

# GPL
PERMIT_PACKAGE_CDROM=   Yes
PERMIT_PACKAGE_FTP=     Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP=   Yes

WANTLIB=		c fontconfig freetype m stdc++ X11 z gmodule-2.0 \
			glib-2.0 gimpui-2.0 pango-1.0 \
			pangocairo-1.0 gimpmath-2.0 gdk_pixbuf-2.0 \
			gdk-x11-2.0 pangoft2-1.0 gtk-x11-2.0 cairo \
			gimpwidgets-2.0 gimpbase-2.0 atk-1.0 \
			gimpcolor-2.0 gobject-2.0

LIB_DEPENDS=		gimp-2.0:gimp-2.*:graphics/gimp/stable \
			tiff.>=37::graphics/tiff \
			jpeg.>=62::graphics/jpeg \
			lcms.>=1.15::graphics/lcms \
			exif.>=12.1::graphics/libexif

MODULES=		devel/gettext

USE_X11=		Yes
USE_GMAKE=		Yes
AUTOCONF_VERSION=	2.59
CONFIGURE_STYLE=	gnu
CONFIGURE_ENV=		CFLAGS="-I${LOCALBASE}/include -L${LOCALBASE}/lib"
CONFIGURE_ARGS=		--enable-extras --with-libexif

.include <bsd.port.mk>
