diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2015-10-30 19:26:47 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2015-10-30 19:26:47 +0800 |
commit | 3df55ffd26a1b57f10a01ce921ddb0da97f71674 (patch) | |
tree | 43d31780e102dfdb77462669be928e1826594eca /security/libgpg-error | |
parent | 4ef70b265ed6992ec3e6f4bee839aa7897f5504a (diff) | |
download | freebsd-ports-gnome-3df55ffd26a1b57f10a01ce921ddb0da97f71674.tar.gz freebsd-ports-gnome-3df55ffd26a1b57f10a01ce921ddb0da97f71674.tar.zst freebsd-ports-gnome-3df55ffd26a1b57f10a01ce921ddb0da97f71674.zip |
- Convert to new options helper
- Convert to new options target helper
Approved by: portmgr (blanket)
Diffstat (limited to 'security/libgpg-error')
-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} |