aboutsummaryrefslogtreecommitdiff
path: root/graphics/exiv2
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-10-19 00:27:47 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-10-19 00:27:47 +0000
commitc28bedeb1691f84cbc3899edf82cadaa89e28d00 (patch)
tree3c36348e7035377db17f7cc20ce4ae665412c5a0 /graphics/exiv2
parente913f119d8a9934dcb099b0fe79aeb69fd849c08 (diff)
downloadports-c28bedeb1691f84cbc3899edf82cadaa89e28d00.tar.gz
ports-c28bedeb1691f84cbc3899edf82cadaa89e28d00.zip
Notes
Diffstat (limited to 'graphics/exiv2')
-rw-r--r--graphics/exiv2/Makefile13
-rw-r--r--graphics/exiv2/pkg-plist1
2 files changed, 9 insertions, 5 deletions
diff --git a/graphics/exiv2/Makefile b/graphics/exiv2/Makefile
index 73623242084b..c310b4487ac3 100644
--- a/graphics/exiv2/Makefile
+++ b/graphics/exiv2/Makefile
@@ -3,6 +3,7 @@
PORTNAME= exiv2
PORTVERSION= 0.23
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= graphics
MASTER_SITES= http://www.exiv2.org/
@@ -10,20 +11,22 @@ 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
+LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
GNU_CONFIGURE= yes
-USES= gettext
-USE_GMAKE= yes
+USES= gettext gmake
USE_LDCONFIG= yes
-MAN1= exiv2.1
ALLTARGET= all
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-NO_STAGE= yes
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>
diff --git a/graphics/exiv2/pkg-plist b/graphics/exiv2/pkg-plist
index 2254972e2d04..4ccfafde8bd9 100644
--- a/graphics/exiv2/pkg-plist
+++ b/graphics/exiv2/pkg-plist
@@ -40,6 +40,7 @@ lib/libexiv2.la
lib/libexiv2.so
lib/libexiv2.so.12
libdata/pkgconfig/exiv2.pc
+man/man1/exiv2.1.gz
share/locale/de/LC_MESSAGES/exiv2.mo
share/locale/es/LC_MESSAGES/exiv2.mo
share/locale/fi/LC_MESSAGES/exiv2.mo