diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2013-10-26 01:10:07 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2013-10-26 01:10:07 +0800 |
commit | b0ce8861dd1b9ffa136dcbf7df2112bb07d7df53 (patch) | |
tree | 12f31e92334e4d0a7daf85603379b315f5e0a928 | |
parent | 74b994e90801500fcb439db36bd9a7f6d8cb8861 (diff) | |
download | freebsd-ports-graphics-b0ce8861dd1b9ffa136dcbf7df2112bb07d7df53.tar.gz freebsd-ports-graphics-b0ce8861dd1b9ffa136dcbf7df2112bb07d7df53.tar.zst freebsd-ports-graphics-b0ce8861dd1b9ffa136dcbf7df2112bb07d7df53.zip |
- Add LICENSE
- Convert to new options helper
- Support STAGEDIR
-rw-r--r-- | graphics/exif/Makefile | 19 | ||||
-rw-r--r-- | graphics/exif/pkg-plist | 1 |
2 files changed, 7 insertions, 13 deletions
diff --git a/graphics/exif/Makefile b/graphics/exif/Makefile index 7f3fcdeea38..c6903e8b16f 100644 --- a/graphics/exif/Makefile +++ b/graphics/exif/Makefile @@ -9,27 +9,20 @@ MASTER_SITES= SF/lib${PORTNAME}/${PORTNAME}/${PORTVERSION} 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> diff --git a/graphics/exif/pkg-plist b/graphics/exif/pkg-plist index 34c2c65aa36..2ccdacfab6e 100644 --- a/graphics/exif/pkg-plist +++ b/graphics/exif/pkg-plist @@ -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 |