aboutsummaryrefslogtreecommitdiff
path: root/databases/firebird25-server
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-04 23:46:52 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-04 23:46:52 +0000
commit0cf8ed500c6f66fb62ddbe369b6a503d5cca6cb7 (patch)
treef4aa1e809f7ffc1ee1c2b39a9df3d26d36f980ed /databases/firebird25-server
parent318f348910ebbd849e16789a52817c6da286cb99 (diff)
downloadports-0cf8ed500c6f66fb62ddbe369b6a503d5cca6cb7.tar.gz
ports-0cf8ed500c6f66fb62ddbe369b6a503d5cca6cb7.zip
Remove NOPORTDOCS and NOPORTEXAMPLES from unstaged ports. Stage a couple while
we're here. Remove any other references to NOPORT*. Approved by: portmgr (blanket for modernization)
Notes
Notes: svn path=/head/; revision=360690
Diffstat (limited to 'databases/firebird25-server')
-rw-r--r--databases/firebird25-server/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/databases/firebird25-server/Makefile b/databases/firebird25-server/Makefile
index 64ca6e045b75..c92b39890ccc 100644
--- a/databases/firebird25-server/Makefile
+++ b/databases/firebird25-server/Makefile
@@ -95,7 +95,9 @@ ALL_TARGET= firebird_basic libfbembed libfbclient embed_isql embed_gpre \
USE_LDCONFIG= yes
CLIENT_BIN= gpre isql-fb qli
-.if !defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= *
FB_DOCS_FILES= WhatsNew README.* Firebird* ReleaseNotes.pdf ambiguity.txt \
ods11-index-structure.html
@@ -105,6 +107,8 @@ FB_DOCS_DIRS= sql.extensions license upgrade
MAKE_ENV+= FIREBIRD_TMP="${WRKDIR}" FIREBIRD_LOCK="${WRKDIR}"
+OPTIONS_DEFINE= DOCS
+
NO_STAGE= yes
post-extract:
@${RM} -rf ${WRKSRC}/extern/icu
@@ -215,7 +219,7 @@ do-install:
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/gen/firebird/*.msg ${DATADIR}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
@${MKDIR} ${FB_DOCS_DIRS:S!^!${DOCSDIR}/!}
@${INSTALL_DATA} ${FB_DOCS_FILES:S!^!${WRKSRC}/doc/!} ${DOCSDIR}