aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-10-26 01:10:07 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-10-26 01:10:07 +0800
commitb0ce8861dd1b9ffa136dcbf7df2112bb07d7df53 (patch)
tree12f31e92334e4d0a7daf85603379b315f5e0a928 /graphics
parent74b994e90801500fcb439db36bd9a7f6d8cb8861 (diff)
downloadfreebsd-ports-gnome-b0ce8861dd1b9ffa136dcbf7df2112bb07d7df53.tar.gz
freebsd-ports-gnome-b0ce8861dd1b9ffa136dcbf7df2112bb07d7df53.tar.zst
freebsd-ports-gnome-b0ce8861dd1b9ffa136dcbf7df2112bb07d7df53.zip
- Add LICENSE
- Convert to new options helper - Support STAGEDIR
Diffstat (limited to 'graphics')
-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