diff options
-rw-r--r-- | security/libgpg-error/Makefile | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/security/libgpg-error/Makefile b/security/libgpg-error/Makefile index 7244af2bfa11..81bf7559265c 100644 --- a/security/libgpg-error/Makefile +++ b/security/libgpg-error/Makefile @@ -11,30 +11,23 @@ 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 <bsd.port.options.mk> - -.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 +NLS_CONFIGURE_OFF= --disable-nls +NLS_CONFIGURE_ON= ${ICONV_CONFIGURE_ARG} --with-libintl-prefix=${LOCALBASE} +NLS_USES= gettext iconv DOCS= AUTHORS ChangeLog NEWS README INFO= gpgrt -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} |