svn commit: r400534 - head/security/libgpg-error
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Fri Oct 30 11:26:49 UTC 2015
Author: sunpoet
Date: Fri Oct 30 11:26:47 2015
New Revision: 400534
URL: https://svnweb.freebsd.org/changeset/ports/400534
Log:
- Convert to new options helper
- Convert to new options target helper
Approved by: portmgr (blanket)
Modified:
head/security/libgpg-error/Makefile
Modified: head/security/libgpg-error/Makefile
==============================================================================
--- head/security/libgpg-error/Makefile Fri Oct 30 11:26:43 2015 (r400533)
+++ head/security/libgpg-error/Makefile Fri Oct 30 11:26:47 2015 (r400534)
@@ -11,30 +11,23 @@ MAINTAINER= novel at 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}
More information about the svn-ports-all
mailing list