svn commit: r330812 - head/graphics/exiv2

Baptiste Daroussin bapt at FreeBSD.org
Sat Oct 19 00:27:48 UTC 2013


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 at 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


More information about the svn-ports-all mailing list