svn commit: r311794 - head/databases/db5

Matthias Andree mandree at FreeBSD.org
Wed Feb 6 20:21:23 UTC 2013


Author: mandree
Date: Wed Feb  6 20:21:22 2013
New Revision: 311794
URL: http://svnweb.freebsd.org/changeset/ports/311794

Log:
  Convert one more NOPORTDOCS occasion to port optionsNG framework.
  
  PR:		ports/175878
  Submitted by:	Takefu

Modified:
  head/databases/db5/Makefile   (contents, props changed)

Modified: head/databases/db5/Makefile
==============================================================================
--- head/databases/db5/Makefile	Wed Feb  6 20:13:08 2013	(r311793)
+++ head/databases/db5/Makefile	Wed Feb  6 20:21:22 2013	(r311794)
@@ -30,11 +30,6 @@ WRKSRC=		${WRKDIR}/${DISTNAME}/build_uni
 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=""


More information about the svn-ports-all mailing list