Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Mar 2014 22:19:13 +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: r346823 - head/graphics/libexif
Message-ID:  <201403022219.s22MJDRA000130@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sun Mar  2 22:19:12 2014
New Revision: 346823
URL: http://svnweb.freebsd.org/changeset/ports/346823
QAT: https://qat.redports.org/buildarchive/r346823/

Log:
  Convert to USES=libtool
  Use options helpers

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

Modified: head/graphics/libexif/Makefile
==============================================================================
--- head/graphics/libexif/Makefile	Sun Mar  2 22:16:14 2014	(r346822)
+++ head/graphics/libexif/Makefile	Sun Mar  2 22:19:12 2014	(r346823)
@@ -3,6 +3,7 @@
 
 PORTNAME=	libexif
 PORTVERSION=	0.6.21
+PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	SF
 
@@ -13,27 +14,20 @@ LICENSE=	LGPL21
 
 OPTIONS_DEFINE=	DOCS NLS
 
-USES=		gmake pathfix pkgconfig
+USES=		libtool gmake pathfix pkgconfig
 USE_BZIP2=	yes
-USE_GNOME=	ltverhack
-USE_AUTOTOOLS=	libtool
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
+GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-docs
 USE_LDCONFIG=	yes
 
 PORTDOCS=	AUTHORS ChangeLog NEWS README
+OPTIONS_SUB=	yes
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-PLIST_SUB+=	NLS=""
-.else
-CONFIGURE_ENV+=	am_cv_func_iconv=no
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+=	NLS="@comment "
-.endif
+NLS_USES=	gettext
+NLS_CONFIGURE_ENV_OFF=	am_cv_func_iconv=no
+NLS_CONFIGURE_ENABLE=	yes
 
 post-patch:
 	@${REINPLACE_CMD} -e '/^SUBDIRS =/s|doc||g ; \

Modified: head/graphics/libexif/pkg-plist
==============================================================================
--- head/graphics/libexif/pkg-plist	Sun Mar  2 22:16:14 2014	(r346822)
+++ head/graphics/libexif/pkg-plist	Sun Mar  2 22:19:12 2014	(r346823)
@@ -16,6 +16,7 @@ lib/libexif.a
 lib/libexif.la
 lib/libexif.so
 lib/libexif.so.12
+lib/libexif.so.12.3.3
 libdata/pkgconfig/libexif.pc
 %%NLS%%share/locale/be/LC_MESSAGES/libexif-12.mo
 %%NLS%%share/locale/bs/LC_MESSAGES/libexif-12.mo



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