Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Oct 2013 00:27:47 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r330812 - head/graphics/exiv2
Message-ID:  <201310190027.r9J0RlLf025530@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sat Oct 19 00:27:47 2013
New Revision: 330812
URL: http://svnweb.freebsd.org/changeset/ports/330812

Log:
  Enable stage
  Strip binaries

Modified:
  head/graphics/exiv2/Makefile
  head/graphics/exiv2/pkg-plist

Modified: head/graphics/exiv2/Makefile
==============================================================================
--- head/graphics/exiv2/Makefile	Sat Oct 19 00:22:43 2013	(r330811)
+++ head/graphics/exiv2/Makefile	Sat Oct 19 00:27:47 2013	(r330812)
@@ -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>

Modified: head/graphics/exiv2/pkg-plist
==============================================================================
--- head/graphics/exiv2/pkg-plist	Sat Oct 19 00:22:43 2013	(r330811)
+++ head/graphics/exiv2/pkg-plist	Sat Oct 19 00:27:47 2013	(r330812)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310190027.r9J0RlLf025530>