- Add LICENSE

- Convert to new options helper
- Support STAGEDIR
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2013-10-25 17:10:07 +00:00
parent 9ed13715d6
commit 246a4ffef3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331616
2 changed files with 7 additions and 13 deletions

View file

@ -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>

View file

@ -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