summaryrefslogtreecommitdiff
path: root/graphics/exif
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-10-25 17:10:07 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-10-25 17:10:07 +0000
commit246a4ffef321b1ccc37201f5d335f2e7efa225b0 (patch)
tree12f31e92334e4d0a7daf85603379b315f5e0a928 /graphics/exif
parent- Update to 20131023 (diff)
- Add LICENSE
- Convert to new options helper - Support STAGEDIR
Diffstat (limited to 'graphics/exif')
-rw-r--r--graphics/exif/Makefile19
-rw-r--r--graphics/exif/pkg-plist1
2 files changed, 7 insertions, 13 deletions
diff --git a/graphics/exif/Makefile b/graphics/exif/Makefile
index 7f3fcdeea381..c6903e8b16f0 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 34c2c65aa36b..2ccdacfab6ec 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