Convert one more NOPORTDOCS occasion to port optionsNG framework.

PR:		ports/175878
Submitted by:	Takefu
This commit is contained in:
Matthias Andree 2013-02-06 20:21:22 +00:00
parent d411d450c1
commit 1bec7c257d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=311794

View File

@ -30,11 +30,6 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
USE_LDCONFIG= yes
PLIST_SUB= BDBMAJ=${BDBMAJ} BDBVER=${BDBVER}
.if !defined(NOPORTDOCS)
INSTALL_TARGET+= install_docs docdir=${DOCSDIR}
PORTDOCS= *
.endif
OPTIONS_DEFINE= CRYPTO L10N SQL JAVA
OPTIONS_DEFAULT=CRYPTO
CRYPTO_DESC= Cryptography support
@ -43,6 +38,11 @@ SQL_DESC= Enable SQL API (EXPERIMENTAL)
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
INSTALL_TARGET+=install_docs docdir=${DOCSDIR}
PORTDOCS= *
.endif
.if ${PORT_OPTIONS:MSQL}
CONFIGURE_ARGS+= --enable-sql_codegen --enable-sql
PLIST_SUB+= SQL=""