svn commit: r331616 - head/graphics/exif
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Fri Oct 25 17:10:08 UTC 2013
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 at 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
More information about the svn-ports-all
mailing list