Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2013 17:10:07 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r331616 - head/graphics/exif
Message-ID:  <201310251710.r9PHA77C051280@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Oct 25 17:10:07 2013
New Revision: 331616
URL: http://svnweb.freebsd.org/changeset/ports/331616

Log:
  - Add LICENSE
  - Convert to new options helper
  - Support STAGEDIR

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

Modified: head/graphics/exif/Makefile
==============================================================================
--- head/graphics/exif/Makefile	Fri Oct 25 17:10:02 2013	(r331615)
+++ head/graphics/exif/Makefile	Fri Oct 25 17:10:07 2013	(r331616)
@@ -9,27 +9,20 @@ MASTER_SITES=	SF/lib${PORTNAME}/${PORTNA
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Command line utility to read and manipulate EXIF data
 
+LICENSE=	LGPL21
+
 LIB_DEPENDS=	libexif.so:${PORTSDIR}/graphics/libexif \
 		libpopt.so:${PORTSDIR}/devel/popt
 
 OPTIONS_DEFINE=	NLS
+OPTIONS_SUB=	yes
 
 CONFIGURE_ENV=	POPT_CFLAGS=-I${LOCALBASE}/include POPT_LIBS="-L${LOCALBASE}/lib -lpopt"
 GNU_CONFIGURE=	yes
 USES=		gmake pkgconfig
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-CONFIGURE_ARGS+=--enable-nls ${ICONV_CONFIGURE_ARG}
-USES+=		gettext iconv
-PLIST_SUB+=	NLS=""
-.else
-CONFIGURE_ARGS+=--disable-nls --without-libiconv-prefix
-PLIST_SUB+=	NLS="@comment "
-.endif
-
-MAN1=		exif.1
+NLS_CONFIGURE_ON=	--enable-nls ${ICONV_CONFIGURE_ARG}
+NLS_CONFIGURE_OFF=	--disable-nls --without-libiconv-prefix
+NLS_USES=		gettext iconv
 
 .include <bsd.port.mk>

Modified: head/graphics/exif/pkg-plist
==============================================================================
--- head/graphics/exif/pkg-plist	Fri Oct 25 17:10:02 2013	(r331615)
+++ head/graphics/exif/pkg-plist	Fri Oct 25 17:10:07 2013	(r331616)
@@ -1,4 +1,5 @@
 bin/exif
+man/man1/exif.1.gz
 %%NLS%%share/locale/cs/LC_MESSAGES/exif.mo
 %%NLS%%share/locale/da/LC_MESSAGES/exif.mo
 %%NLS%%share/locale/de/LC_MESSAGES/exif.mo



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