aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authormandree <mandree@FreeBSD.org>2013-02-07 04:21:22 +0800
committermandree <mandree@FreeBSD.org>2013-02-07 04:21:22 +0800
commit6b976b79b8b1f4c15187ed82db2615bd2d185dd8 (patch)
treee1eeb5423f8dd135d830e88d6e5c462cc510dd4f /databases
parent92e355f7fb59c1d8f4fafb60a227902b36084ad4 (diff)
downloadfreebsd-ports-gnome-6b976b79b8b1f4c15187ed82db2615bd2d185dd8.tar.gz
freebsd-ports-gnome-6b976b79b8b1f4c15187ed82db2615bd2d185dd8.tar.zst
freebsd-ports-gnome-6b976b79b8b1f4c15187ed82db2615bd2d185dd8.zip
Convert one more NOPORTDOCS occasion to port optionsNG framework.
PR: ports/175878 Submitted by: Takefu
Diffstat (limited to 'databases')
-rw-r--r--databases/db5/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/databases/db5/Makefile b/databases/db5/Makefile
index ee57d0a4fe1a..21df15238bd4 100644
--- a/databases/db5/Makefile
+++ b/databases/db5/Makefile
@@ -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=""