Convert one more NOPORTDOCS occasion to port optionsNG framework.
PR: ports/175878 Submitted by: Takefu
This commit is contained in:
parent
d411d450c1
commit
1bec7c257d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=311794
1 changed files with 5 additions and 5 deletions
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue