# $OpenBSD: Makefile,v 1.6 2008/07/18 19:56:04 espie Exp $

COMMENT =	kde wrapper around exiv2
CATEGORIES =	graphics
DISTNAME =	libkexiv2-0.1.7
PKGNAME =	${DISTNAME}
HOMEPAGE =	http://www.kipi-plugins.org/
EXTRACT_SUFX =	.tar.bz2

MASTER_SITES =		${MASTER_SITE_SOURCEFORGE:=kipi/}
CONFIGURE_STYLE =	autoconf
MODGNU_CONFIG_GUESS_DIRS =	${MODKDE_CONFIG_GUESS_DIRS}
CONFIGURE_ARGS +=	${MODKDE_CONFIGURE_ARGS}
CONFIGURE_ENV +=	${MODKDE_CONFIGURE_ENV}

SHARED_LIBS +=	kexiv2                  2.1   # .4.0


SHARED_ONLY =		Yes
AUTOCONF_VERSION =	2.61
MODKDE_VERSION =	3.5.7
MODULES =		x11/kde

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

WANTLIB =	ICE SM X11 Xext Xrender iconv intl jpeg m png \
		util z idn art_lgpl_2 Xau Xdmcp
LIB_DEPENDS =	exiv2.>=0.1:exiv2->=0.12:graphics/exiv2 \
		kdecore.>=7,DCOP,kdefx::x11/kde/libs3

.include <bsd.port.mk>
