Add DOCS to OPTIONS_DEFINE to ports that check for PORT_OPTIONS:MDOCS.

This commit is contained in:
Adam Weinberger 2014-07-15 15:06:46 +00:00
parent 1ab2ae78ed
commit 550b770c1e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361939
8 changed files with 13 additions and 3 deletions

View file

@ -23,6 +23,8 @@ MAKE_JOBS_UNSAFE= yes
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-emacs=${EMACS_CMD} CONFIGURE_ARGS= --with-emacs=${EMACS_CMD}
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk> .include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS} .if ${PORT_OPTIONS:MDOCS}

View file

@ -30,6 +30,8 @@ WRKSRC= ${WRKDIR}/opt/${PORTNAME}
SUB_FILES= ${PORTNAME}.script.sh SUB_FILES= ${PORTNAME}.script.sh
SUB_LIST= JAVA_HOME=${JAVA_HOME} SUB_LIST= JAVA_HOME=${JAVA_HOME}
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MDOCS} .if ${PORT_OPTIONS:MDOCS}

View file

@ -32,7 +32,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
USE_LDCONFIG= yes USE_LDCONFIG= yes
PLIST_SUB= BDBMAJ=${BDBMAJ} BDBVER=${BDBVER} PLIST_SUB= BDBMAJ=${BDBMAJ} BDBVER=${BDBVER}
OPTIONS_DEFINE= CRYPTO L10N SQL JAVA OPTIONS_DEFINE= CRYPTO L10N SQL JAVA DOCS
OPTIONS_DEFAULT=CRYPTO OPTIONS_DEFAULT=CRYPTO
CRYPTO_DESC= Cryptography support CRYPTO_DESC= Cryptography support
L10N_DESC= Localization support (EXPERIMENTAL) L10N_DESC= Localization support (EXPERIMENTAL)

View file

@ -33,7 +33,7 @@ USE_LDCONFIG= yes
PLIST_SUB= BDBMAJ=${BDBMAJ} BDBVER=${BDBVER} PLIST_SUB= BDBMAJ=${BDBMAJ} BDBVER=${BDBVER}
MAKE_ARGS+= docdir=${DOCSDIR} MAKE_ARGS+= docdir=${DOCSDIR}
OPTIONS_DEFINE= CRYPTO L10N SQL JAVA OPTIONS_DEFINE= CRYPTO L10N SQL JAVA DOCS
OPTIONS_DEFAULT=CRYPTO OPTIONS_DEFAULT=CRYPTO
CRYPTO_DESC= Cryptography support CRYPTO_DESC= Cryptography support
L10N_DESC= Localization support (EXPERIMENTAL) L10N_DESC= Localization support (EXPERIMENTAL)

View file

@ -15,6 +15,8 @@ USE_LDCONFIG= yes
HAM_DOCS= README INSTALL ChangeLog TODO AUTHORS CREDITS HAM_DOCS= README INSTALL ChangeLog TODO AUTHORS CREDITS
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk> .include <bsd.port.options.mk>
post-extract: post-extract:

View file

@ -15,7 +15,7 @@ LICENSE= BSD3CLAUSE
LIB_DEPENDS= libsqlite3.so:${PORTSDIR}/databases/sqlite3 LIB_DEPENDS= libsqlite3.so:${PORTSDIR}/databases/sqlite3
OPTIONS_DEFINE= DOXYGEN EXAMPLES OPTIONS_DEFINE= DOXYGEN EXAMPLES DOCS
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
USES= gmake libtool USES= gmake libtool

View file

@ -18,6 +18,8 @@ USE_PYTHON= yes
USE_PYDISTUTILS= yes USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes PYDISTUTILS_AUTOPLIST= yes
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
post-install: post-install:
.if ${PORT_OPTIONS:MDOCS} .if ${PORT_OPTIONS:MDOCS}

View file

@ -22,6 +22,8 @@ USE_RUBY= yes
WRKSRC= ${WRKDIR}/${PORTNAME} WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes NO_BUILD= yes
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk> .include <bsd.port.options.mk>
do-install: do-install: