# New ports collection makefile for:	exempi
# Date created:		2008-02-26
# Whom:			Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD: ports/textproc/exempi/Makefile,v 1.10 2010/12/04 07:33:44 ade Exp $
#   $MCom: ports/textproc/exempi/Makefile,v 1.1 2008/02/26 18:50:26 ahze Exp $
#

PORTNAME=	exempi
PORTVERSION=	2.1.1
CATEGORIES=	textproc
MASTER_SITES=	http://libopenraw.freedesktop.org/download/

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	A port of Adobe XMP SDK to work on UNIX

LIB_DEPENDS=	expat.6:${PORTSDIR}/textproc/expat2

USE_AUTOTOOLS=	libtool
USE_GNOME=	ltverhack gnomehack gnometarget
CONFIGURE_ARGS=	--enable-unittest=no
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib" \
		LIBS="-liconv"
USE_ICONV=	yes
USE_LDCONFIG=	yes

post-patch:
	@${REINPLACE_CMD} -e 's|$${libdir}/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
		${WRKSRC}/configure

.include <bsd.port.mk>
