Index: head/security/libgpg-error/Makefile =================================================================== --- head/security/libgpg-error/Makefile (revision 400533) +++ head/security/libgpg-error/Makefile (revision 400534) @@ -1,41 +1,34 @@ # Created by: Sergei Kolobov # $FreeBSD$ PORTNAME= libgpg-error PORTVERSION= 1.20 PORTREVISION= 1 CATEGORIES= security devel MASTER_SITES= GNUPG MAINTAINER= novel@FreeBSD.org COMMENT= Common error values for all GnuPG components OPTIONS_DEFINE= DOCS NLS +OPTIONS_SUB= yes USES= gmake libtool tar:bzip2 USE_LDCONFIG= yes GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes CPP+= -P -CONFIGURE_ARGS+= --enable-static=yes +CONFIGURE_ARGS= --enable-static=yes -.include +NLS_CONFIGURE_OFF= --disable-nls +NLS_CONFIGURE_ON= ${ICONV_CONFIGURE_ARG} --with-libintl-prefix=${LOCALBASE} +NLS_USES= gettext iconv -.if ${PORT_OPTIONS:MNLS} -USES+= gettext iconv -CONFIGURE_ARGS+= ${ICONV_CONFIGURE_ARG} \ - --with-libintl-prefix=${LOCALBASE} -PLIST_SUB= NLS="" -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB= NLS="@comment " -.endif - DOCS= AUTHORS ChangeLog NEWS README INFO= gpgrt -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} .include