aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/exiv2/Makefile
blob: 040467271a3142ec010d4f6fa513c625d8a63093 (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
# New ports collection makefile for:    exiv2
# Date created:     2004-09-24
# Whom:         Michael Johnson <ahze@ahze.net>
#
# $FreeBSD$
#

PORTNAME=   exiv2
PORTVERSION=    0.18
PORTREVISION=   1
PORTEPOCH=  1
CATEGORIES= graphics
MASTER_SITES=   http://www.exiv2.org/

MAINTAINER= multimedia@FreeBSD.org
COMMENT=    Exif and Iptc metadata manipulation library and tools

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

GNU_CONFIGURE=  yes
USE_GETTEXT=    yes
USE_GMAKE=  yes
USE_LDCONFIG=   yes
MAN1=       exiv2.1
ALLTARGET=  all
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

post-patch:
    @${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
    @${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' ${WRKSRC}/src/Makefile

.include <bsd.port.mk>