aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/exempi/Makefile
blob: 074cdf37d274064642ebf4cd7ad10bf5c6c8391a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for:    exempi
# Date created:     2008-02-26
# Whom:         Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/textproc/exempi/Makefile,v 1.1 2008/02/26 18:50:26 ahze Exp $
#

PORTNAME=   exempi
PORTVERSION=    2.0.2
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:15
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.pre.mk>

.if ${ARCH} == "sparc64"
BROKEN=     Does not compile on sparc64
.endif

.include <bsd.port.post.mk>