Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2014 16:56:15 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340073 - head/graphics/gphoto2
Message-ID:  <201401171656.s0HGuFpw077232@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Fri Jan 17 16:56:15 2014
New Revision: 340073
URL: http://svnweb.freebsd.org/changeset/ports/340073
QAT: https://qat.redports.org/buildarchive/r340073/

Log:
  - Update to  2.5.3
  
  PR:		ports/181073
  Submitted by:	Ports Fury

Modified:
  head/graphics/gphoto2/Makefile
  head/graphics/gphoto2/distinfo   (contents, props changed)
  head/graphics/gphoto2/pkg-plist   (contents, props changed)

Modified: head/graphics/gphoto2/Makefile
==============================================================================
--- head/graphics/gphoto2/Makefile	Fri Jan 17 16:56:00 2014	(r340072)
+++ head/graphics/gphoto2/Makefile	Fri Jan 17 16:56:15 2014	(r340073)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	gphoto2
-PORTVERSION=	2.4.14
+PORTVERSION=	2.5.3
 CATEGORIES=	graphics
 MASTER_SITES=	SF/gphoto/gphoto/${PORTVERSION}
 
@@ -14,26 +14,33 @@ LICENSE=	GPLv2
 LIB_DEPENDS=	libpopt.so:${PORTSDIR}/devel/popt \
 		libgphoto2.so:${PORTSDIR}/graphics/libgphoto2
 
-USES=		gmake pkgconfig
 USE_BZIP2=	yes
+USES=		gmake pkgconfig
 GNU_CONFIGURE=	yes
+CONFIGURE_ENV=	POPT_CFLAGS="$$(pkg-config --cflags popt)" \
+		POPT_LIBS="$$(pkg-config --libs popt)"
 CONFIGURE_ARGS=	--without-cdk
-CONFIGURE_ENV=	POPT_CFLAGS="-I${LOCALBASE}/include" \
-		POPT_LIBS="-L${LOCALBASE}/lib -lpopt"
 
-OPTIONS_DEFINE=	AALIB DOCS NLS
-OPTIONS_DEFAULT=	AALIB
-OPTIONS_SUB=	yes
-
-AALIB_DESC=	Text mode capture preview support
+OPTIONS_DEFINE=		AALIB DOCS NLS READLINE
+OPTIONS_DEFAULT=	AALIB READLINE
+OPTIONS_SUB=		yes
 
+AALIB_DESC=		Text mode capture preview support
 AALIB_LIB_DEPENDS=	libaa.so:${PORTSDIR}/graphics/aalib
-AALIB_CONFIGURE_OFF=	--without-aalib
-
-NLS_USES=	gettext
-NLS_CONFIGURE_OFF=	--disable-nls
+AALIB_CONFIGURE_WITH=	aalib
+NLS_USES=		gettext
+NLS_CONFIGURE_ENABLE=	nls
+READLINE_USES=		readline
+READLINE_CONFIGURE_WITH=	readline
+
+.include <bsd.port.options.mk>
+
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|-lpthread|-pthread|' \
+		${WRKSRC}/configure
 
 post-install:
-	${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} NEWS ${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>

Modified: head/graphics/gphoto2/distinfo
==============================================================================
--- head/graphics/gphoto2/distinfo	Fri Jan 17 16:56:00 2014	(r340072)
+++ head/graphics/gphoto2/distinfo	Fri Jan 17 16:56:15 2014	(r340073)
@@ -1,2 +1,2 @@
-SHA256 (gphoto2-2.4.14.tar.bz2) = 8754cdf1ee8eb3ef636c05d052646957d3f087892ed867543ab9180a3bbaa123
-SIZE (gphoto2-2.4.14.tar.bz2) = 669292
+SHA256 (gphoto2-2.5.3.tar.bz2) = 719447efe115c519c81f6ddd3e4e7d22795743d93c56bae2d54a0dfbb697d844
+SIZE (gphoto2-2.5.3.tar.bz2) = 740384

Modified: head/graphics/gphoto2/pkg-plist
==============================================================================
--- head/graphics/gphoto2/pkg-plist	Fri Jan 17 16:56:00 2014	(r340072)
+++ head/graphics/gphoto2/pkg-plist	Fri Jan 17 16:56:15 2014	(r340073)
@@ -1,7 +1,7 @@
 bin/gphoto2
 man/man1/gphoto2.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%DOCSDIR%%/test-hook.sh
+%%PORTDOCS%%%%DOCSDIR%%/test-hook.sh
 %%NLS%%share/locale/az/LC_MESSAGES/gphoto2.mo
 %%NLS%%share/locale/cs/LC_MESSAGES/gphoto2.mo
 %%NLS%%share/locale/da/LC_MESSAGES/gphoto2.mo
@@ -32,4 +32,4 @@ man/man1/gphoto2.1.gz
 %%NLS%%share/locale/vi/LC_MESSAGES/gphoto2.mo
 %%NLS%%share/locale/zh_CN/LC_MESSAGES/gphoto2.mo
 %%NLS%%share/locale/zh_TW/LC_MESSAGES/gphoto2.mo
-@dirrm %%DOCSDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%



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