1 |
# $MidnightBSD$ |
2 |
|
3 |
PORTNAME= exiv2 |
4 |
PORTVERSION= 0.23 |
5 |
CATEGORIES= graphics |
6 |
MASTER_SITES= http://www.exiv2.org/ |
7 |
|
8 |
MAINTAINER= ports@MidnightBSD.org |
9 |
COMMENT= Exif and Iptc metadata manipulation library and tools |
10 |
|
11 |
LICENSE= gpl2 |
12 |
|
13 |
LIB_DEPENDS= libexpat.so:textproc/expat2 |
14 |
|
15 |
GNU_CONFIGURE= yes |
16 |
CONFIGURE_TARGET= ${ARCH}-portbld-freebsd10.4 |
17 |
|
18 |
USES= gmake |
19 |
USE_GETTEXT= yes |
20 |
USE_LDCONFIG= yes |
21 |
ALLTARGET= all |
22 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
23 |
LDFLAGS="-L${LOCALBASE}/lib" |
24 |
|
25 |
post-patch: |
26 |
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure |
27 |
@${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' ${WRKSRC}/src/Makefile |
28 |
|
29 |
.include <bsd.port.mk> |