mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
c28bedeb16
Strip binaries
33 lines
783 B
Makefile
33 lines
783 B
Makefile
# Created by: Michael Johnson <ahze@ahze.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= exiv2
|
|
PORTVERSION= 0.23
|
|
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= libexpat.so:${PORTSDIR}/textproc/expat2
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= gettext gmake
|
|
USE_LDCONFIG= yes
|
|
ALLTARGET= all
|
|
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
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/exiv2
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libexiv2.so.12
|
|
|
|
|
|
.include <bsd.port.mk>
|