mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
d4f50b6ba7
PR: ports/120695 Submitted by: Lukas Maly <Iam@LukasMaly.NET>
34 lines
778 B
Makefile
34 lines
778 B
Makefile
# New ports collection makefile for: exiv2
|
|
# Date created: 2004-09-24
|
|
# Whom: Michael Johnson <ahze@ahze.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= exiv2
|
|
PORTVERSION= 0.16
|
|
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
|
|
USE_GCC= 3.4+
|
|
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>
|